-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
118 lines (117 loc) · 4.58 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "brainsum/damo-project",
"description": "Template for creating DAMo projects with composer.",
"type": "project",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "mhavelant",
"email": "mhavelant@brainsum.com"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true
},
"repositories": {
"drupal-8": {
"type": "composer",
"url": "https://packages.drupal.org/8"
},
"asset-packagist": {
"type": "composer",
"url": "https://asset-packagist.org"
}
},
"require": {
"php": "^7.2",
"brainsum/damo-distribution": ">=0.26 <1.0",
"composer/installers": "^1.2",
"cweagans/composer-patches": "^1.6",
"drupal/core-composer-scaffold": "^8.8",
"drupal/core-project-message": "^8.8",
"drupal/core-recommended": "^8.8",
"drush/drush": "^9.0|^10.0",
"oomphinc/composer-installers-extender": "^1.1",
"vlucas/phpdotenv": "^2.4"
},
"require-dev": {
"drupal-composer/drupal-security-advisories": "8.x-dev",
"drupal/console": "^1.9",
"drupal/core-dev": "^8.8",
"drupal/devel": "^4.0",
"drupal/devel_entity_updates": "^3.0",
"drupal/devel_php": "^1.1",
"roave/security-advisories": "dev-master",
"zaporylie/composer-drupal-optimizations": "^1.1"
},
"conflict": {
"drupal/drupal": "*"
},
"autoload": {
"files": [
"load.environment.php"
]
},
"extra": {
"enable-patching": true,
"composer-exit-on-patch-failure": true,
"patches": {},
"drupal-scaffold": {
"locations": {
"web-root": "web/"
},
"file-mapping": {
"[web-root]/sites/default/default.settings.php": {
"append": "assets/settings_include_damo.txt"
},
"[web-root]/sites/damo.settings.php": "assets/damo.settings.php",
"[web-root]/sites/docker.settings.php": "assets/docker.settings.php"
}
},
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/libraries/{$name}": [
"type:drupal-library",
"type:bower-asset",
"type:npm-asset"
],
"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"]
},
"installer-types": ["bower-asset", "npm-asset"],
"drupal-core-project-message": {
"include-keys": ["homepage", "support"],
"post-create-project-cmd-message": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> Congratulations, you’ve installed the Drupal codebase </>",
"<bg=blue;fg=white> from the brainsum/damo-project template! </>",
"<bg=blue;fg=white> </>",
"",
"<bg=yellow;fg=black>Next steps</>:",
" * Remove the plugin that prints this message:",
" composer remove drupal/core-project-message",
" * Update .env and drush/drush.yml as needed",
" * Fix directory permissions (e.g 770 with <web-server>:<current-user> for web/sites/default/files).",
" * Install the site using the damo profile: https://www.drupal.org/docs/8/install",
" * E.g for a local docker setup (for development): drush site-install --account-pass=123 damo -y",
" * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
" * Get support: https://www.drupal.org/support",
" * Get involved with the Drupal community:",
" https://www.drupal.org/getting-involved"
]
}
},
"scripts": {
"post-create-project-cmd": [
"mkdir -p config/sync web/sites/default/files private_files tmp",
"cp example.env .env",
"cp drush/example.drush.yml drush/drush.yml"
]
}
}