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

Commit 396c6ba

Browse files
committed
Issue #2050: Update example.drupal.composer.json for Drupal 9.
1 parent fcc7832 commit 396c6ba

File tree

3 files changed

+36
-52
lines changed

3 files changed

+36
-52
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
vagrant_ansible_inventory_default
1616

1717
# Drupal VM specific files.
18+
drupal.composer.json
1819
local.config.yml
1920
Vagrantfile.local
2021
/config.yml

drupal.composer.json

-41
This file was deleted.

example.drupal.composer.json

+35-11
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,48 @@
1616
}
1717
],
1818
"require": {
19-
"composer/installers": "^1.0.20",
20-
"drupal-composer/drupal-scaffold": "^2.0.1",
21-
"drupal/core": "^8.6",
22-
"drupal/devel": "^1.2"
19+
"composer/installers": "^1.9",
20+
"drupal/core-composer-scaffold": "^9",
21+
"drupal/core-project-message": "^9",
22+
"drupal/core-recommended": "^9"
2323
},
24-
"replace": {
24+
"conflict": {
2525
"drupal/drupal": "*"
2626
},
2727
"minimum-stability": "dev",
2828
"prefer-stable": true,
2929
"extra": {
30+
"drupal-scaffold": {
31+
"locations": {
32+
"web-root": "web/"
33+
}
34+
},
3035
"installer-paths": {
31-
"web/core": ["type:drupal-core"],
32-
"web/modules/contrib/{$name}": ["type:drupal-module"],
33-
"web/profiles/contrib/{$name}": ["type:drupal-profile"],
34-
"web/themes/contrib/{$name}": ["type:drupal-theme"],
35-
"drush/contrib/{$name}": ["type:drupal-drush"]
36-
}
36+
"web/core": [
37+
"type:drupal-core"
38+
],
39+
"web/libraries/{$name}": [
40+
"type:drupal-library"
41+
],
42+
"web/modules/contrib/{$name}": [
43+
"type:drupal-module"
44+
],
45+
"web/profiles/contrib/{$name}": [
46+
"type:drupal-profile"
47+
],
48+
"web/themes/contrib/{$name}": [
49+
"type:drupal-theme"
50+
],
51+
"drush/Commands/contrib/{$name}": [
52+
"type:drupal-drush"
53+
],
54+
"web/modules/custom/{$name}": [
55+
"type:drupal-custom-module"
56+
],
57+
"web/themes/custom/{$name}": [
58+
"type:drupal-custom-theme"
59+
]
60+
},
3761
},
3862
"config": {
3963
"process-timeout": 1200

0 commit comments

Comments
 (0)