-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
344 lines (343 loc) · 14.8 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
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
{
"name": "localgovdrupal/localgov-project",
"description": "Project template for the LocalGov Drupal distribution.",
"type": "project",
"license": "GPL-2.0-or-later",
"homepage": "https://github.com/localgovdrupal/localgov_project",
"repositories": [
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "github",
"url": "https://github.com/essexcountycouncil/content_ownership"
},
{
"type": "github",
"url": "https://github.com/essexcountycouncil/ecc_menu"
},
{
"type": "github",
"url": "https://github.com/essexcountycouncil/ecc_cookie_compliance"
},
{
"type": "github",
"url": "https://github.com/essexcountycouncil/ecc_content_moderation"
},
{
"type": "github",
"url": "https://github.com/essexcountycouncil/ecc_cludo_search"
},
{
"type": "github",
"url": "https://github.com/essexcountycouncil/ecc_parents"
},
{
"type": "github",
"url": "https://github.com/essexcountycouncil/ecc_theme"
},
{
"type": "package",
"package": {
"name": "ckeditor/div",
"version": "4.10.1",
"type": "drupal-library",
"extra": {
"installer-name": "ckeditor/plugins/div"
},
"dist": {
"url": "https://download.ckeditor.com/div/releases/div_4.10.1.zip",
"type": "zip"
}
}
}
],
"require": {
"ckeditor/div": "4.10.1",
"composer/installers": "^1.10",
"cweagans/composer-patches": "^1.6",
"davidrjonas/composer-lock-diff": "^1.0",
"drupal/antibot": "^2.0",
"drupal/autologout": "^1.4",
"drupal/autosave_form": "^1.4",
"drupal/block_classes": "^1.0",
"drupal/ckeditor5_icons": "^1.0@RC",
"drupal/ckeditor_div_manager": "^3",
"drupal/cludo_search": "^1.0@beta",
"drupal/config_filter": "^2.6",
"drupal/config_ignore": "^3.3",
"drupal/config_split": "^2",
"drupal/content_access_by_path": "^1.1",
"drupal/core-composer-scaffold": "^10",
"drupal/core-project-message": "^10",
"drupal/core-recommended": "^10.3.1",
"drupal/devel": "^5.1",
"drupal/dynamic_entity_reference": "^3.1",
"drupal/entity_embed": "^1.6",
"drupal/entitygroupfield": "^2",
"drupal/eu_cookie_compliance": "^1.24",
"drupal/eu_cookie_compliance_gtm": "^2.1",
"drupal/fathom_analytics": "^3.0",
"drupal/geocoder": "^4",
"drupal/geofield_map": "^3",
"drupal/gin": "^3.0@RC",
"drupal/gin_toolbar": "^1.0@RC",
"drupal/google_tag": "^1.6.0",
"drupal/group": "^3",
"drupal/health_check_url": "^3.2",
"drupal/honeypot": "^2.2",
"drupal/imagemagick": "^3.4",
"drupal/key": "^1.17",
"drupal/leaflet": "^10.2",
"drupal/menu_admin_per_menu": "^1.5",
"drupal/menu_item_limit": "^2",
"drupal/monolog": "^2.2",
"drupal/office_hours": "^1.11",
"drupal/openid_connect": "^3",
"drupal/openid_connect_azure_b2c": "1.0.1-beta1",
"drupal/openid_connect_windows_aad": "^2.0@beta",
"drupal/permissions_filter": "^1.3",
"drupal/poll": "^1.6",
"drupal/preview_link": "^2",
"drupal/published_corrected_date": "^2.0",
"drupal/redirect": "^1.10",
"drupal/redirect_404": "^1.10",
"drupal/replicate": "^1.3",
"drupal/replicate_ui": "^1.1",
"drupal/restui": "^1.21",
"drupal/simple_sitemap": "^4.1",
"drupal/single_content_sync": "^1.4",
"drupal/smtp": "^1.2",
"drupal/stage_file_proxy": "^2.1",
"drupal/ultimate_cron": "^2.0@alpha",
"drupal/upgrade_status": "^4.0",
"drupal/webform": "^6.2",
"drupal/webform_xlsx_export": "^1.3",
"drush/drush": "^12",
"essexcountycouncil/content_ownership": "^1.0",
"essexcountycouncil/ecc_cludo_search": "^1.0",
"essexcountycouncil/ecc_content_moderation": "^1.0",
"essexcountycouncil/ecc_cookie_compliance": "^1.0",
"essexcountycouncil/ecc_menu": "^1.0",
"essexcountycouncil/ecc_parents": "^1.0",
"essexcountycouncil/ecc_theme": "^1.1",
"localgovdrupal/localgov": "^3",
"localgovdrupal/localgov_base": "^1.4",
"localgovdrupal/localgov_eu_cookie_compliance": "^1.0",
"localgovdrupal/localgov_forms": "^1.0@beta",
"localgovdrupal/localgov_geo": "^2",
"localgovdrupal/localgov_publications": "^1.0",
"mglaman/composer-drupal-lenient": "^1.0"
},
"require-dev": {
"brianium/paratest": "^6.0",
"drupal/coder": "^8.3",
"drupal/config_inspector": "^2",
"drupal/core-dev": "^10",
"kint-php/kint": "^5.0",
"mglaman/drupal-check": "^1.4",
"mglaman/phpstan-drupal": "^1.0",
"palantirnet/drupal-rector": "^0.18.1",
"phpspec/prophecy-phpunit": "^2",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-deprecation-rules": "^1.0",
"squizlabs/php_codesniffer": "^3.6"
},
"conflict": {
"drupal/drupal": "*"
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
"bin-dir": "bin/",
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true,
"mglaman/composer-drupal-lenient": true,
"phpstan/extension-installer": true
},
"audit": {
"ignore": {
"GHSA-mg8j-w93w-xjgc": "Apache has been configured to block access to applicable paths"
}
}
},
"autoload": {
"classmap": [
"scripts/composer/ScriptHandler.php"
]
},
"extra": {
"enable-patching": true,
"patches": {
"drupal/autosave_form": {
"Disable autosaving for layout builder pages": "https://www.drupal.org/files/issues/2024-09-09/3270955-5-layout_builder.patch"
},
"drupal/cludo_search": {
"Change title of search page.": "patches/cludo_search-page-tweaks.patch",
"Remove cludo supplied search page template.": "patches/cludo_remove_default_template",
"Automated Drupal 10 compatibility fixes": "https://www.drupal.org/files/issues/2022-07-18/cludo_search.1.0-beta2.rector.patch"
},
"drupal/core": {
"LP-67 - Claro error when table header is missing": "patches/drupal-core-claro.patch",
"Remove this patch after upgrading Localgov profile": "https://www.drupal.org/files/issues/2024-04-16/2845144-95.patch"
},
"drupal/fathom_analytics": {
"Automated Drupal 10 compatibility fixes": "https://www.drupal.org/files/issues/2022-06-15/fathom_analytics.3.0.0.rector.patch"
},
"drupal/geo_entity": {
"Drupal 10 install error": "patches/geo_entity.patch"
},
"drupal/group": {
"Apply some custom functionality for Essex when adding members to Groups ECCI-287/ECCI-286": "patches/essex-group-membership.patch"
},
"drupal/honeypot": {
"honeypot clientside": "https://www.drupal.org/files/issues/2024-08-16/clientside_time_limit_2_1_4.patch"
},
"drupal/openid_connect": {
"Truncate username if it is greater than 60 characters": "https://www.drupal.org/files/issues/2021-12-08/data_too_long_for_column_name-%203252021-8.patch"
},
"localgovdrupal/localgov_eu_cookie_compliance": {
"Improve spinner": "patches/localgov_cookie_compliance_save.patch",
"Pressing either radio button causes the hidden checkbox to be clicked": "https://patch-diff.githubusercontent.com/raw/localgovdrupal/localgov_eu_cookie_compliance/pull/22.diff"
},
"localgovdrupal/localgov_paragraphs": {
"Added missing field which has been introduced recently.": "patches/missing_field.patch"
},
"localgovdrupal/localgov_publications": {
"Declare permissions for LocalGov Publications": "patches/localgov_publications.patch"
},
"localgovdrupal/localgov_services": {
"New parent bundles for ServicesSelection": "patches/localgov_services.patch"
},
"localgovdrupal/localgov_subsites": {
"Show page heading block for subsites pages": "patches/localgov_subsites.patch"
},
"localgovdrupal/localgov_workflows": {
"New Content by owner View": "https://patch-diff.githubusercontent.com/raw/localgovdrupal/localgov_workflows/pull/104.diff",
"Service contact delete form": "patches/localgov_workflows_delete_service_contact.patch"
}
},
"drupal-scaffold": {
"locations": {
"web-root": "web/"
},
"file-mapping": {
"[web-root]/sites/default/settings.php": {
"mode": "replace",
"path": "assets/composer/settings.php",
"overwrite": true
},
"[web-root]/sites/default/settings.local.php": {
"mode": "replace",
"path": "assets/composer/settings.local.php",
"overwrite": true
},
"[web-root]/sites/default/settings.lando.php": {
"mode": "replace",
"path": "assets/composer/settings.lando.php",
"overwrite": false
},
"[web-root]/sites/default/settings.ddev-custom.php": {
"mode": "replace",
"path": "assets/composer/settings.ddev-custom.php",
"overwrite": true
},
"[web-root]/sites/development.services.yml": "assets/composer/development.services.yml",
"[web-root]/sites/default/services.yml": {
"mode": "replace",
"path": "assets/composer/services.yml",
"overwrite": true
},
"[web-root]/robots.txt": {
"mode": "replace",
"path": "assets/composer/robots.txt",
"overwrite": true
}
}
},
"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/themes/custom/{$name}": ["type:drupal-custom-theme"]
},
"drupal-core-project-message": {
"post-create-project-cmd-message": [
"<bg=blue;fg=white> </>",
"<bg=blue;fg=white> Congratulations, you’ve installed the LocalGov Drupal codebase </>",
"<bg=blue;fg=white> </>",
"",
"<bg=yellow;fg=black>Next steps</>:",
" * Install the site: https://www.drupal.org/docs/8/install",
" * Remove the plugin that prints this message:",
" composer remove drupal/core-project-message"
]
},
"drupal-lenient": {
"allowed-list": [
"drupal/cludo_search",
"drupal/fathom_analytics"
]
}
},
"scripts": {
"pre-install-cmd": [
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
],
"pre-update-cmd": [
"DrupalProject\\composer\\ScriptHandler::checkComposerVersion"
],
"post-install-cmd": "@drupal-build",
"post-update-cmd": "@drupal-build",
"drupal-build": [
"Composer\\Config::disableProcessTimeout",
"@prepare-filesystem-for-update",
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles",
"@secure-site",
"[ -h vendor/bin/cghooks -a -w ../.git ] && vendor/bin/cghooks --git-dir=../.git update; true"
],
"update-drupal": [
"Composer\\Config::disableProcessTimeout",
"vendor/drush/drush/drush --yes -l default cache:rebuild",
"vendor/drush/drush/drush --yes -l default config-import",
"vendor/drush/drush/drush --yes -l default config-import",
"vendor/drush/drush/drush --yes -l default cache:rebuild"
],
"prepare-filesystem-for-update": [
"chmod 777 web/sites/default/default.*.yml; true"
],
"secure-site": [
"chmod 444 web/sites/default/settings.php",
"chmod 444 web/sites/default/default.*.yml",
"chmod 444 web/sites/default/*.services.yml"
],
"checker-php-compatibility": "vendor/bin/phpcs --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility/ruleset.xml --runtime-set testVersion 7.2 src",
"checker-drupal": "vendor/bin/drupal-check -ad src",
"checker-drupal-3rd": "vendor/bin/drupal-check -ad web/themes web/modules",
"checker-php-lint": "vendor/bin/parallel-lint src",
"checker-phpmetrics": [
"mkdir -p data/phpmetrics",
"./vendor/bin/phpmetrics --report-html=data/phpmetrics --extensions=php,inc,module,theme,profile,install ./modules"
],
"phpunit-modules": "sudo -u www-data -E vendor/bin/phpunit -v --debug modules",
"cghooks": "[ -h vendor/bin/cghooks -a -w ../.git ] && vendor/bin/cghooks --git-dir=../.git",
"phpcs": "bin/phpcs --standard=Drupal,DrupalPractice --ignore=*.js web/modules/custom",
"phpcbf": "bin/phpcbf --standard=Drupal,DrupalPractice --ignore=*.js web/modules/custom",
"tests-required": [
"composer validate",
"composer audit",
"composer phpcs"
]
}
}