From 295c0b744dcc75b89dd9fa4c1dae8cfe90d54d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Fr=C3=A9mont?= Date: Tue, 8 Oct 2024 16:11:52 +0200 Subject: [PATCH] Init Sylius Stack Flex recipes (#1686) --- .../0.4/config/routes/sylius_admin_ui.yaml | 3 +++ sylius/admin-ui/0.4/manifest.json | 8 ++++++++ .../packages/sylius_bootstrap_admin_ui.yaml | 2 ++ sylius/bootstrap-admin-ui/0.4/manifest.json | 8 ++++++++ .../1.12/config/packages/sylius_resource.yaml | 15 +++++++++++++++ .../1.12/config/routes/sylius_resource.yaml | 7 +++++++ sylius/resource-bundle/1.12/manifest.json | 12 ++++++++++++ sylius/resource-bundle/1.12/src/Entity/.gitignore | 0 sylius/twig-extra/0.4/manifest.json | 5 +++++ sylius/twig-hooks/0.4/manifest.json | 5 +++++ sylius/ui-translations/0.4/manifest.json | 5 +++++ 11 files changed, 70 insertions(+) create mode 100644 sylius/admin-ui/0.4/config/routes/sylius_admin_ui.yaml create mode 100644 sylius/admin-ui/0.4/manifest.json create mode 100644 sylius/bootstrap-admin-ui/0.4/config/packages/sylius_bootstrap_admin_ui.yaml create mode 100644 sylius/bootstrap-admin-ui/0.4/manifest.json create mode 100644 sylius/resource-bundle/1.12/config/packages/sylius_resource.yaml create mode 100644 sylius/resource-bundle/1.12/config/routes/sylius_resource.yaml create mode 100644 sylius/resource-bundle/1.12/manifest.json create mode 100644 sylius/resource-bundle/1.12/src/Entity/.gitignore create mode 100644 sylius/twig-extra/0.4/manifest.json create mode 100644 sylius/twig-hooks/0.4/manifest.json create mode 100644 sylius/ui-translations/0.4/manifest.json diff --git a/sylius/admin-ui/0.4/config/routes/sylius_admin_ui.yaml b/sylius/admin-ui/0.4/config/routes/sylius_admin_ui.yaml new file mode 100644 index 00000000..23595fff --- /dev/null +++ b/sylius/admin-ui/0.4/config/routes/sylius_admin_ui.yaml @@ -0,0 +1,3 @@ +sylius_admin_ui: + resource: '@SyliusAdminUiBundle/config/routes.php' + prefix: /admin diff --git a/sylius/admin-ui/0.4/manifest.json b/sylius/admin-ui/0.4/manifest.json new file mode 100644 index 00000000..83f6ea66 --- /dev/null +++ b/sylius/admin-ui/0.4/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Sylius\\AdminUi\\Symfony\\SyliusAdminUiBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/sylius/bootstrap-admin-ui/0.4/config/packages/sylius_bootstrap_admin_ui.yaml b/sylius/bootstrap-admin-ui/0.4/config/packages/sylius_bootstrap_admin_ui.yaml new file mode 100644 index 00000000..289da83a --- /dev/null +++ b/sylius/bootstrap-admin-ui/0.4/config/packages/sylius_bootstrap_admin_ui.yaml @@ -0,0 +1,2 @@ +imports: + - { resource: '@SyliusBootstrapAdminUiBundle/config/app.php' } diff --git a/sylius/bootstrap-admin-ui/0.4/manifest.json b/sylius/bootstrap-admin-ui/0.4/manifest.json new file mode 100644 index 00000000..c5ad1636 --- /dev/null +++ b/sylius/bootstrap-admin-ui/0.4/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Sylius\\BootstrapAdminUi\\Symfony\\SyliusBootstrapAdminUiBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} diff --git a/sylius/resource-bundle/1.12/config/packages/sylius_resource.yaml b/sylius/resource-bundle/1.12/config/packages/sylius_resource.yaml new file mode 100644 index 00000000..6b42a484 --- /dev/null +++ b/sylius/resource-bundle/1.12/config/packages/sylius_resource.yaml @@ -0,0 +1,15 @@ +# @see https://github.com/Sylius/SyliusResourceBundle/blob/master/docs/index.md +sylius_resource: + # Override default settings + #settings: + + # Configure the mapping for your resources + mapping: + paths: + - '%kernel.project_dir%/src/Entity' + + # Configure your resources + resources: + #app.book: + #classes: + #model: App\Entity\Book diff --git a/sylius/resource-bundle/1.12/config/routes/sylius_resource.yaml b/sylius/resource-bundle/1.12/config/routes/sylius_resource.yaml new file mode 100644 index 00000000..0c8ade2c --- /dev/null +++ b/sylius/resource-bundle/1.12/config/routes/sylius_resource.yaml @@ -0,0 +1,7 @@ +sylius_crud_routes: + resource: 'sylius.routing.loader.crud_routes_attributes' + type: service + +sylius_routes: + resource: 'sylius.routing.loader.routes_attributes' + type: service diff --git a/sylius/resource-bundle/1.12/manifest.json b/sylius/resource-bundle/1.12/manifest.json new file mode 100644 index 00000000..a38eab72 --- /dev/null +++ b/sylius/resource-bundle/1.12/manifest.json @@ -0,0 +1,12 @@ +{ + "container": { + "locale": "en" + }, + "bundles": { + "Sylius\\Bundle\\ResourceBundle\\SyliusResourceBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/", + "src/": "%SRC_DIR%/" + } +} diff --git a/sylius/resource-bundle/1.12/src/Entity/.gitignore b/sylius/resource-bundle/1.12/src/Entity/.gitignore new file mode 100644 index 00000000..e69de29b diff --git a/sylius/twig-extra/0.4/manifest.json b/sylius/twig-extra/0.4/manifest.json new file mode 100644 index 00000000..36407ae6 --- /dev/null +++ b/sylius/twig-extra/0.4/manifest.json @@ -0,0 +1,5 @@ +{ + "bundles": { + "Sylius\\TwigExtra\\Symfony\\SyliusTwigExtraBundle": ["all"] + } +} diff --git a/sylius/twig-hooks/0.4/manifest.json b/sylius/twig-hooks/0.4/manifest.json new file mode 100644 index 00000000..d6dacdfa --- /dev/null +++ b/sylius/twig-hooks/0.4/manifest.json @@ -0,0 +1,5 @@ +{ + "bundles": { + "Sylius\\TwigHooks\\SyliusTwigHooksBundle": ["all"] + } +} diff --git a/sylius/ui-translations/0.4/manifest.json b/sylius/ui-translations/0.4/manifest.json new file mode 100644 index 00000000..71485c48 --- /dev/null +++ b/sylius/ui-translations/0.4/manifest.json @@ -0,0 +1,5 @@ +{ + "bundles": { + "Sylius\\UiTranslations\\Symfony\\SyliusUiTranslationsBundle": ["all"] + } +}