symfony / recipes-contrib

Symfony Contrib Recipes Repositories

Home Page:https://github.com/symfony/recipes-contrib/blob/flex/main/RECIPES.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failure on recipe update of friendsofsymfony/ckeditor-bundle

lobodol opened this issue · comments

Hello there,

I recently upgraded my Symfony project to LTS (5.4). I got the follwoing error when trying to update recipe of friendsofsymfony/ckeditor-bundle:

  The file composerjson was not updated because it doesn't exist in your app.

Here is the diff file I got as result:

diff --git a/composerjson b/composerjson
index 9f47947..278df27 100644
--- a/composerjson
+++ b/composerjson
@@ -106,7 +106,8 @@
     "scripts": {
         "auto-scripts": {
             "cache:clear": "symfony-cmd",
-            "assets:install %PUBLIC_DIR%": "symfony-cmd"
+            "assets:install %PUBLIC_DIR%": "symfony-cmd",
+            "ckeditor:install": "symfony-cmd"
         },
         "post-install-cmd": [
             "@auto-scripts"

From here, I can notice that a dot is missing in between composer and json. I would expect composer.json.

I'm not sure if it's a recipe bug or a Flex bug.
I'm using Flex v1.18.7:

symfony/flex                             v1.18.7   Composer plugin for Sy...

Regards,