From bd6a0bf9a71ce8909750c8692416edc03b9c6df9 Mon Sep 17 00:00:00 2001 From: Maxime Huran Date: Thu, 5 Sep 2024 19:30:49 +0200 Subject: [PATCH] Auto script must be first --- .../sylius-rich-editor-plugin/2.9-dev/manifest.json | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/manifest.json b/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/manifest.json index b920add..cea63bb 100644 --- a/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/manifest.json +++ b/monsieurbiz/sylius-rich-editor-plugin/2.9-dev/manifest.json @@ -7,10 +7,14 @@ "copy-from-recipe": { "config/": "%CONFIG_DIR%/" }, - "composer-scripts": { - "vendor/monsieurbiz/sylius-rich-editor-plugin/scripts/replace_intl_extension.php": "php-script", - "cache:clear": "symfony-cmd" - }, + "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",