Skip to content

Commit

Permalink
Create new sites with Drupal 10
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantheon Automation committed Jul 18, 2024
1 parent e5e896f commit 2724e36
Showing 1 changed file with 15 additions and 23 deletions.
38 changes: 15 additions & 23 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
"require": {
"pantheon-upstreams/upstream-configuration": "dev-main",
"composer/installers": "^1.9",
"drupal/core-composer-scaffold": "^9.2",
"drupal/core-recommended": "^9.2",
"pantheon-systems/drupal-integrations": "^9",
"drupal/core-composer-scaffold": "^10",
"drupal/core-recommended": "^10",
"pantheon-systems/drupal-integrations": "^10",
"cweagans/composer-patches": "^1.7",
"drush/drush": "^11 || ^12"
},
"require-dev": {
"drupal/core-dev": "^9.2"
"drupal/core-dev": "^10"
},
"conflict": {
"drupal/drupal": "*"
"drupal/drupal": "*"
},
"minimum-stability": "stable",
"prefer-stable": true,
Expand All @@ -35,9 +35,7 @@
"locations": {
"web-root": "./web"
},
"allowed-packages": [
"pantheon-systems/drupal-integrations"
],
"allowed-packages": ["pantheon-systems/drupal-integrations"],
"file-mapping": {
"[project-root]/.editorconfig": false,
"[project-root]/pantheon.upstream.yml": false,
Expand All @@ -59,35 +57,29 @@
"composer-exit-on-patch-failure": true,
"patchLevel": {
"drupal/core": "-p2"
}
},
"enable-patching": true
},
"autoload": {
"classmap": [
"upstream-configuration/scripts/ComposerScripts.php"
]
"classmap": ["upstream-configuration/scripts/ComposerScripts.php"]
},
"scripts": {
"pre-update-cmd": [
"DrupalComposerManaged\\ComposerScripts::preUpdate"
],
"upstream-require": [
"DrupalComposerManaged\\ComposerScripts::upstreamRequire"
]
},
"scripts-descriptions": {
"upstream-require": "Add a dependency to an upstream. See https://pantheon.io/docs/create-custom-upstream for information on creating custom upstreams."
"pre-update-cmd": ["DrupalComposerManaged\\ComposerScripts::preUpdate"],
"post-update-cmd": ["DrupalComposerManaged\\ComposerScripts::postUpdate"]
},
"config": {
"preferred-install": "dist",
"sort-packages": false,
"platform": {
"php": "7.4"
"php": "8.2.0"
},
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
"drupal/core-composer-scaffold": true,
"dealerdirect/phpcodesniffer-composer-installer": true
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true,
"php-http/discovery": true
}
}
}

0 comments on commit 2724e36

Please sign in to comment.