Allow the symfony/runtime Composer plugin
All checks were successful
deploy / image (push) Successful in 6m4s

Newer Drupal 11 (core-recommended, resolved at build time) pulls in
symfony/runtime, whose Composer plugin wasn't in allow-plugins, so
composer install refused to run. It's Symfony's own plugin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Philip Peterson 2026-11-02 05:39:29 -09:00
parent 2c0a05483e
commit c53247a943

View file

@ -12,7 +12,8 @@
"config": {
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true
"drupal/core-composer-scaffold": true,
"symfony/runtime": true
},
"sort-packages": true
},
@ -26,13 +27,27 @@
}
},
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/modules/contrib/{$name}": ["type:drupal-module"],
"web/profiles/contrib/{$name}": ["type:drupal-profile"],
"web/themes/contrib/{$name}": ["type:drupal-theme"],
"drush/Commands/contrib/{$name}": ["type:drupal-drush"],
"web/modules/custom/{$name}": ["type:drupal-custom-module"],
"web/themes/custom/{$name}": ["type:drupal-custom-theme"]
"web/core": [
"type:drupal-core"
],
"web/modules/contrib/{$name}": [
"type:drupal-module"
],
"web/profiles/contrib/{$name}": [
"type:drupal-profile"
],
"web/themes/contrib/{$name}": [
"type:drupal-theme"
],
"drush/Commands/contrib/{$name}": [
"type:drupal-drush"
],
"web/modules/custom/{$name}": [
"type:drupal-custom-module"
],
"web/themes/custom/{$name}": [
"type:drupal-custom-theme"
]
}
}
}