From 7b4d24e442a0df7707172e8426969c4c3eefb8ed Mon Sep 17 00:00:00 2001 From: Maxime Huran Date: Thu, 5 Sep 2024 18:19:15 +0200 Subject: [PATCH] Add new Rich editor recipe --- ...monsieurbiz_sylius_rich_editor_plugin.yaml | 2 ++ ...monsieurbiz_sylius_rich_editor_plugin.yaml | 3 +++ .../2.9-dev/manifest.json | 24 +++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 100644 monsieurbiz/sylius-rich-editor-plugin/2.9-dev/config/packages/monsieurbiz_sylius_rich_editor_plugin.yaml create mode 100644 monsieurbiz/sylius-rich-editor-plugin/2.9-dev/config/routes/monsieurbiz_sylius_rich_editor_plugin.yaml create mode 100644 monsieurbiz/sylius-rich-editor-plugin/2.9-dev/manifest.json diff --git a/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/config/packages/monsieurbiz_sylius_rich_editor_plugin.yaml b/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/config/packages/monsieurbiz_sylius_rich_editor_plugin.yaml new file mode 100644 index 0000000..71e3ce6 --- /dev/null +++ b/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/config/packages/monsieurbiz_sylius_rich_editor_plugin.yaml @@ -0,0 +1,2 @@ +imports: + - { resource: "@MonsieurBizSyliusRichEditorPlugin/Resources/config/config.yaml" } diff --git a/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/config/routes/monsieurbiz_sylius_rich_editor_plugin.yaml b/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/config/routes/monsieurbiz_sylius_rich_editor_plugin.yaml new file mode 100644 index 0000000..c770b01 --- /dev/null +++ b/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/config/routes/monsieurbiz_sylius_rich_editor_plugin.yaml @@ -0,0 +1,3 @@ +monsieurbiz_richeditor_admin: + resource: "@MonsieurBizSyliusRichEditorPlugin/Resources/config/routing/admin.yaml" + prefix: /%sylius_admin.path_name% diff --git a/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/manifest.json b/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/manifest.json new file mode 100644 index 0000000..cea63bb --- /dev/null +++ b/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/manifest.json @@ -0,0 +1,24 @@ +{ + "bundles": { + "MonsieurBiz\\SyliusRichEditorPlugin\\MonsieurBizSyliusRichEditorPlugin": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "add-lines": [ + { + "file": "composer.json", + "content": "\n \"vendor/monsieurbiz/sylius-rich-editor-plugin/scripts/replace_intl_extension.php\": \"php-script\",\n", + "position": "after_target", + "target": "\"auto-scripts\": {" + } + ], + "env": { + "MONSIEURBIZ_SYLIUS_RICH_EDITOR_UPLOAD_DIR": "/media/rich-editor", + "MONSIEURBIZ_SYLIUS_RICH_EDITOR_IMAGE_UPLOAD_DIR": "/media/image", + "MONSIEURBIZ_SYLIUS_RICH_EDITOR_ENABLED_HIGHLIGHT_JS_SHOP": "false", + "MONSIEURBIZ_SYLIUS_RICH_EDITOR_ENABLED_HIGHLIGHT_JS_THEME": "default" + } +}