Make wikimedia-merge-plugin less greedy by default

Since the recommended way to install plugins is to use Composer, this greedy configuration would occasionally cause issues where running composer update would fail because the currently installed version of a plugin would have dependencies that would be merged as part of the main composer.json file that would conflict with the next version of the plugin; meaning that in order to install the next version of the plugin you could be forced to first delete the existing one.

It is now recommended to treat this line more like the workspaces section in package.json and manually specify the paths you wish to have the merge plugin handle on a per project basis.
This commit is contained in:
Luke Towers 2022-07-18 23:58:15 -06:00 committed by GitHub
parent 5561d6aa31
commit e05a20eddc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@
"extra": {
"merge-plugin": {
"include": [
"plugins/*/*/composer.json"
"plugins/myauthor/*/composer.json"
],
"recurse": true,
"replace": false,