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:
GuySartorelli 2022-01-21 10:13:00 +13:00 committed by GitHub
parent e1d2cd30e6
commit 55f6e03f6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -24,7 +24,11 @@
"resources-dir": "_resources"
},
"config": {
"process-timeout": 600
"process-timeout": 600,
"allow-plugins": {
"silverstripe/recipe-plugin": true,
"silverstripe/vendor-plugin": true
}
},
"prefer-stable": true,
"minimum-stability": "dev"