diff --git a/RECIPES.md b/RECIPES.md index afdd6138..b412063d 100644 --- a/RECIPES.md +++ b/RECIPES.md @@ -638,7 +638,7 @@ Additional recipes can be found on the [Main Recipes Repository](https://github. | [stefandoorn/sitemap-plugin](https://packagist.org/packages/stefandoorn/sitemap-plugin) | [2.0](../../../tree/main/stefandoorn/sitemap-plugin/2.0) | | [stof/doctrine-extensions-bundle](https://packagist.org/packages/stof/doctrine-extensions-bundle) | [1.2](../../../tree/main/stof/doctrine-extensions-bundle/1.2) | | [stogon/unleash-bundle](https://packagist.org/packages/stogon/unleash-bundle) | [0.4](../../../tree/main/stogon/unleash-bundle/0.4) | -| [storyblok/symfony-bundle](https://packagist.org/packages/storyblok/symfony-bundle) | [1.16](../../../tree/main/storyblok/symfony-bundle/1.16) | +| [storyblok/symfony-bundle](https://packagist.org/packages/storyblok/symfony-bundle) | [1.18](../../../tree/main/storyblok/symfony-bundle/1.18) | | [stripe/stripe-php](https://packagist.org/packages/stripe/stripe-php) | [19.0](../../../tree/main/stripe/stripe-php/19.0) | | [sulu/article-bundle](https://packagist.org/packages/sulu/article-bundle) | [2.0](../../../tree/main/sulu/article-bundle/2.0) | | [sulu/automation-bundle](https://packagist.org/packages/sulu/automation-bundle) | [2.2](../../../tree/main/sulu/automation-bundle/2.2) | diff --git a/archived/storyblok.symfony-bundle/c09f87a1f99bf8626ea9dd23ef5e964970fbf8e0.json b/archived/storyblok.symfony-bundle/c09f87a1f99bf8626ea9dd23ef5e964970fbf8e0.json new file mode 100644 index 00000000..4971a8ba --- /dev/null +++ b/archived/storyblok.symfony-bundle/c09f87a1f99bf8626ea9dd23ef5e964970fbf8e0.json @@ -0,0 +1,110 @@ +{ + "manifests": { + "storyblok/symfony-bundle": { + "manifest": { + "bundles": { + "Storyblok\\Bundle\\StoryblokBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "templates/": "templates/" + }, + "env": { + "STORYBLOK_API_BASE_URI": "https://api.storyblok.com", + "STORYBLOK_API_TOKEN": "", + "STORYBLOK_VERSION": "draft", + "STORYBLOK_CDN_STORAGE_PATH": "%kernel.project_dir%/var/cdn", + "#1": "STORYBLOK_ASSETS_API_TOKEN=", + "#2": "STORYBLOK_WEBHOOK_SECRET=", + "#3": "STORYBLOK_MANAGEMENT_API_TOKEN=", + "#4": "STORYBLOK_SPACE_ID=" + } + }, + "files": { + "config/packages/storyblok.yaml": { + "contents": [ + "storyblok:", + " base_uri: '%env(STORYBLOK_API_BASE_URI)%'", + " token: '%env(STORYBLOK_API_TOKEN)%'", + " version: '%env(STORYBLOK_VERSION)%'", + " # assets_token: '%env(STORYBLOK_ASSETS_API_TOKEN)%'", + " # webhook_secret: '%env(STORYBLOK_WEBHOOK_SECRET)%'", + " # auto_resolve_relations: true", + " # auto_resolve_links: true", + " # controller:", + " # ascending_redirect_fallback: true", + "", + " cdn:", + " storage:", + " type: filesystem", + " path: '%env(resolve:STORYBLOK_CDN_STORAGE_PATH)%'", + "", + "when@dev:", + " storyblok:", + " management_token: '%env(STORYBLOK_MANAGEMENT_API_TOKEN)%'", + " space_id: '%env(STORYBLOK_SPACE_ID)%'", + "", + "when@prod:", + " storyblok:", + " controller:", + " cache:", + " public: true", + " max_age: 3600", + " smax_age: 3600", + " must_revalidate: true", + "", + " cdn:", + " cache:", + " public: true", + " max_age: 604800", + " smax_age: 604800", + "" + ], + "executable": false + }, + "config/routes/storyblok.yaml": { + "contents": [ + "storyblok_webhook:", + " resource: '@StoryblokBundle/config/routes/webhook.php'", + "", + "storyblok_content_type:", + " resource: '@StoryblokBundle/config/routes/content_type.php'", + "", + "storyblok_cdn:", + " resource: '@StoryblokBundle/config/routes/cdn.php'", + "" + ], + "executable": false + }, + "templates/base.html.twig": { + "contents": [ + "", + "", + "", + " ", + " {% block title %}Welcome!{% endblock %}", + " \u26ab\ufe0fsf\">", + " {% block stylesheets %}", + " {% endblock %}", + "", + " {% block javascripts %}", + " {% endblock %}", + "", + "", + "{% block body %}{% endblock %}", + "{% block storyblok_scripts %}", + " {{ storyblok_js_bridge_scripts() }}", + "{% endblock %}", + "", + "", + "" + ], + "executable": false + } + }, + "ref": "c09f87a1f99bf8626ea9dd23ef5e964970fbf8e0" + } + } +} diff --git a/index.json b/index.json index f19ca1aa..1fe645d1 100644 --- a/index.json +++ b/index.json @@ -2052,7 +2052,8 @@ "1.3", "1.5", "1.14", - "1.16" + "1.16", + "1.18" ], "stripe/stripe-php": [ "19.0" diff --git a/storyblok.symfony-bundle.1.18.json b/storyblok.symfony-bundle.1.18.json new file mode 100644 index 00000000..4971a8ba --- /dev/null +++ b/storyblok.symfony-bundle.1.18.json @@ -0,0 +1,110 @@ +{ + "manifests": { + "storyblok/symfony-bundle": { + "manifest": { + "bundles": { + "Storyblok\\Bundle\\StoryblokBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "templates/": "templates/" + }, + "env": { + "STORYBLOK_API_BASE_URI": "https://api.storyblok.com", + "STORYBLOK_API_TOKEN": "", + "STORYBLOK_VERSION": "draft", + "STORYBLOK_CDN_STORAGE_PATH": "%kernel.project_dir%/var/cdn", + "#1": "STORYBLOK_ASSETS_API_TOKEN=", + "#2": "STORYBLOK_WEBHOOK_SECRET=", + "#3": "STORYBLOK_MANAGEMENT_API_TOKEN=", + "#4": "STORYBLOK_SPACE_ID=" + } + }, + "files": { + "config/packages/storyblok.yaml": { + "contents": [ + "storyblok:", + " base_uri: '%env(STORYBLOK_API_BASE_URI)%'", + " token: '%env(STORYBLOK_API_TOKEN)%'", + " version: '%env(STORYBLOK_VERSION)%'", + " # assets_token: '%env(STORYBLOK_ASSETS_API_TOKEN)%'", + " # webhook_secret: '%env(STORYBLOK_WEBHOOK_SECRET)%'", + " # auto_resolve_relations: true", + " # auto_resolve_links: true", + " # controller:", + " # ascending_redirect_fallback: true", + "", + " cdn:", + " storage:", + " type: filesystem", + " path: '%env(resolve:STORYBLOK_CDN_STORAGE_PATH)%'", + "", + "when@dev:", + " storyblok:", + " management_token: '%env(STORYBLOK_MANAGEMENT_API_TOKEN)%'", + " space_id: '%env(STORYBLOK_SPACE_ID)%'", + "", + "when@prod:", + " storyblok:", + " controller:", + " cache:", + " public: true", + " max_age: 3600", + " smax_age: 3600", + " must_revalidate: true", + "", + " cdn:", + " cache:", + " public: true", + " max_age: 604800", + " smax_age: 604800", + "" + ], + "executable": false + }, + "config/routes/storyblok.yaml": { + "contents": [ + "storyblok_webhook:", + " resource: '@StoryblokBundle/config/routes/webhook.php'", + "", + "storyblok_content_type:", + " resource: '@StoryblokBundle/config/routes/content_type.php'", + "", + "storyblok_cdn:", + " resource: '@StoryblokBundle/config/routes/cdn.php'", + "" + ], + "executable": false + }, + "templates/base.html.twig": { + "contents": [ + "", + "", + "", + " ", + " {% block title %}Welcome!{% endblock %}", + " \u26ab\ufe0fsf\">", + " {% block stylesheets %}", + " {% endblock %}", + "", + " {% block javascripts %}", + " {% endblock %}", + "", + "", + "{% block body %}{% endblock %}", + "{% block storyblok_scripts %}", + " {{ storyblok_js_bridge_scripts() }}", + "{% endblock %}", + "", + "", + "" + ], + "executable": false + } + }, + "ref": "c09f87a1f99bf8626ea9dd23ef5e964970fbf8e0" + } + } +}