wikimedia / composer-merge-plugin

Merge one or more additional composer.json files at Composer runtime
MIT License
938 stars 160 forks source link

Composer v2 upgrading Composer Merge Plugin 1.4 (or older) #227

Open audouts opened 2 years ago

audouts commented 2 years ago

The readme says:

If you are already using Composer Merge Plugin 1.4 (or older) and you are updating the plugin to 2.0 (or newer), it is recommended that you update the plugin first using Composer 1.

What is the procedure if we are already using Composer 2 and cannot downgrade?

reedy commented 2 years ago

Consequently, Composer will be unaware of the merged dependencies and will remove them requiring you to run composer update again to reinstall merged dependencies.

Basically just run it multiple times.