mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
ENH Explicitly allow SilverStripe composer plugins (#313)
As of Composer 2.2.0, there is a new configuration property to whitelist plugins which are allowed to run. According to https://getcomposer.org/doc/06-config.md#allow-plugins this will default to disallow all plugins from July 2022.
This commit is contained in:
parent
e1d2cd30e6
commit
55f6e03f6e
@ -24,7 +24,11 @@
|
|||||||
"resources-dir": "_resources"
|
"resources-dir": "_resources"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"process-timeout": 600
|
"process-timeout": 600,
|
||||||
|
"allow-plugins": {
|
||||||
|
"silverstripe/recipe-plugin": true,
|
||||||
|
"silverstripe/vendor-plugin": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"minimum-stability": "dev"
|
"minimum-stability": "dev"
|
||||||
|
Loading…
Reference in New Issue
Block a user