This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
/
composer.json
271 lines (271 loc) · 9.51 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
{
"name": "drupal/drupal-cms-project",
"description": "Drupal with a bunch of useful stuff.",
"type": "project",
"license": "GPL-2.0-or-later",
"homepage": "https://www.drupal.org/project/drupal",
"support": {
"docs": "https://drupal.org/docs/user_guide/en/index.html",
"chat": "https://drupal.org/node/314178"
},
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
},
"drupal_cms": {
"type": "path",
"url": "recipes/drupal_cms",
"options": {
"symlink": false
}
},
"drupal_cms_admin_theme": {
"type": "path",
"url": "recipes/drupal_cms_admin_theme",
"options": {
"symlink": false
}
},
"drupal_cms_anti_spam": {
"type": "path",
"url": "recipes/drupal_cms_anti_spam",
"options": {
"symlink": false
}
},
"drupal_cms_basic_html_editor": {
"type": "path",
"url": "recipes/drupal_cms_basic_html_editor",
"options": {
"symlink": false
}
},
"drupal_cms_blog": {
"type": "path",
"url": "recipes/drupal_cms_blog",
"options": {
"symlink": false
}
},
"drupal_cms_content_type_base": {
"type": "path",
"url": "recipes/drupal_cms_content_type_base",
"options": {
"symlink": false
}
},
"drupal_cms_accessibility_tools": {
"type": "path",
"url": "recipes/drupal_cms_accessibility_tools",
"options": {
"symlink": false
}
},
"drupal_cms_event_content_type": {
"type": "path",
"url": "recipes/drupal_cms_event_content_type",
"options": {
"symlink": false
}
},
"drupal_cms_forms": {
"type": "path",
"url": "recipes/drupal_cms_forms",
"options": {
"symlink": false
}
},
"drupal_cms_full_html_editor": {
"type": "path",
"url": "recipes/drupal_cms_full_html_editor",
"options": {
"symlink": false
}
},
"drupal_cms_image_media_type": {
"type": "path",
"url": "recipes/drupal_cms_image_media_type",
"options": {
"symlink": false
}
},
"drupal_cms_installer": {
"type": "path",
"url": "installer",
"options": {
"symlink": false
}
},
"drupal_cms_maintenance": {
"type": "path",
"url": "recipes/drupal_cms_maintenance",
"options": {
"symlink": false
}
},
"drupal_cms_media_tools": {
"type": "path",
"url": "recipes/drupal_cms_media_tools",
"options": {
"symlink": false
}
},
"drupal_cms_multilingual": {
"type": "path",
"url": "recipes/drupal_cms_multilingual",
"options": {
"symlink": false
}
},
"drupal_cms_page_content_type": {
"type": "path",
"url": "recipes/drupal_cms_page_content_type",
"options": {
"symlink": false
}
},
"drupal_cms_workflows": {
"type": "path",
"url": "recipes/drupal_cms_workflows",
"options": {
"symlink": false
}
}
},
"require": {
"composer/installers": "^2.3",
"cweagans/composer-patches": "^2",
"drupal/core-composer-scaffold": "^10.3",
"drupal/core-project-message": "^10.3",
"drupal/core-recommended": "^10.3",
"drupal/drupal_cms": "*",
"drupal/drupal_cms_installer": "*",
"drush/drush": "^12.5"
},
"require-dev": {
"drupal/core-dev": "^10.3",
"drupal/default_content": "^2.0@alpha",
"weitzman/drupal-test-traits": "^2.2"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"composer/installers": true,
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true,
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true,
"cweagans/composer-patches": true
},
"sort-packages": true,
"optimize-autoloader": true
},
"extra": {
"drupal-scaffold": {
"locations": {
"web-root": "web/"
}
},
"installer-paths": {
"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/profiles/custom/{$name}": ["type:drupal-custom-profile"],
"web/recipes/{$name}": ["type:drupal-recipe"],
"web/themes/custom/{$name}": ["type:drupal-custom-theme"]
},
"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 Drupal CMS! </>",
"<bg=blue;fg=white> </>",
"",
"<bg=yellow;fg=black>Next steps</>:",
" * Run <fg=yellow>composer quick-start</> to initialize Drupal CMS and open it in a browser",
" * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html",
" * Get support: https://drupal.org/support",
" * Get involved with the Drupal community: https://drupal.org/getting-involved"
]
},
"patches": {
"drupal/core": {
"#3303126: Allow recipes to reuse existing config values": "./patches/core/recipes-150.patch",
"#3464550: Create config action which can create an entity for every bundle of another entity type": "./patches/core/8975.patch",
"#3303127: Determine which core config entity methods should be config actions": "./patches/core/7940.patch",
"Ensure core recipes that affect user roles also install the User module": "./patches/core/core-recipes-user-import.patch",
"#3416357: Convert QueueFactory to use a service locator": "./patches/core/3416357-10.3.x-only.patch"
}
}
},
"scripts": {
"drupal:install": [
"Composer\\Config::disableProcessTimeout",
"\\Drupal\\drupal_cms_installer\\ScriptHandler::configureDrush",
"drush site:install --yes --account-pass admin --config drush-install.yml",
"rm -f drush-install.yml",
"drush webform-libraries-download"
],
"drupal:install-dev": [
"cd web/sites/default && chmod +w . && rm -rf settings.php files",
"@drupal:install",
"drush config:set --yes system.logging error_level verbose",
"drush install --yes default_content",
"drush user:password editor editor",
"drush user:unblock editor"
],
"drupal:rebuild": [
"sudo rm -rf vendor web composer.lock patches.lock.json | true",
"git checkout web/.gitkeep",
"@composer install",
"@drupal:install"
],
"drupal:run-server": [
"Composer\\Config::disableProcessTimeout",
"@php -d max_execution_time=0 web/core/scripts/drupal quick-start"
],
"drupal:run-tests": [
"./vendor/bin/phpunit"
],
"quick-start": [
"@drupal:install",
"test -n \"$CI\" || composer drupal:run-server"
]
},
"scripts-descriptions": {
"drupal:install": "Installs Drupal CMS.",
"drupal:install-dev": "Installs Drupal CMS, with additional modules and configuration tweaks for development.",
"drupal:rebuild": "Rebuilds the codebase and reinstalls Drupal CMS from scratch. Should only be used for internal development.",
"drupal:run-server": "Runs Drupal CMS using the PHP webserver and opens it in the default browser.",
"drupal:run-tests": "Runs Drupal CMS's automated test suite.",
"quick-start": "Installs Drupal CMS and opens it in a browser."
},
"scripts-aliases": {
"drupal:install": [
"si",
"sin"
],
"drupal:run-server": [
"rs",
"serve"
],
"drupal:run-tests": [
"test"
]
},
"autoload-dev": {
"psr-4": {
"Drupal\\drupal_cms_installer\\": "installer/src"
}
}
}