Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
Issue #2050: Update example.drupal.composer.json for Drupal 9.
Browse files Browse the repository at this point in the history
  • Loading branch information
geerlingguy committed Jul 6, 2020
1 parent fcc7832 commit 396c6ba
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 52 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
vagrant_ansible_inventory_default

# Drupal VM specific files.
drupal.composer.json
local.config.yml
Vagrantfile.local
/config.yml
Expand Down
41 changes: 0 additions & 41 deletions drupal.composer.json

This file was deleted.

46 changes: 35 additions & 11 deletions example.drupal.composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,48 @@
}
],
"require": {
"composer/installers": "^1.0.20",
"drupal-composer/drupal-scaffold": "^2.0.1",
"drupal/core": "^8.6",
"drupal/devel": "^1.2"
"composer/installers": "^1.9",
"drupal/core-composer-scaffold": "^9",
"drupal/core-project-message": "^9",
"drupal/core-recommended": "^9"
},
"replace": {
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "web/"
}
},
"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/contrib/{$name}": ["type:drupal-drush"]
}
"web/core": [
"type:drupal-core"
],
"web/libraries/{$name}": [
"type:drupal-library"
],
"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"
]
},
},
"config": {
"process-timeout": 1200
Expand Down

0 comments on commit 396c6ba

Please sign in to comment.