|
104 | 104 | }, |
105 | 105 | "asset-packagist": { |
106 | 106 | "type": "composer", |
107 | | - "url": "https://asset-packagist.org/" |
| 107 | + "url": "https://asset-packagist.org" |
108 | 108 | }, |
109 | 109 | "drupal/hoeringsportal_data": { |
110 | 110 | "type": "path", |
|
200 | 200 | }, |
201 | 201 | "minimum-stability": "dev", |
202 | 202 | "prefer-stable": true, |
| 203 | + "autoload": { |
| 204 | + "classmap": [ |
| 205 | + "scripts/composer/ScriptHandler.php" |
| 206 | + ], |
| 207 | + "files": [ |
| 208 | + "load.environment.php" |
| 209 | + ] |
| 210 | + }, |
203 | 211 | "config": { |
204 | 212 | "allow-plugins": { |
205 | 213 | "chx/drupal-issue-fork": true, |
|
215 | 223 | "phpstan/extension-installer": true, |
216 | 224 | "tbachert/spi": true |
217 | 225 | }, |
| 226 | + "discard-changes": true, |
218 | 227 | "sort-packages": true |
219 | 228 | }, |
220 | 229 | "extra": { |
221 | 230 | "composer-exit-on-patch-failure": true, |
222 | 231 | "drupal-scaffold": { |
| 232 | + "file-mapping": { |
| 233 | + "[project-root]/.gitignore": false, |
| 234 | + "[web-root]/INSTALL.txt": false, |
| 235 | + "[web-root]/README.txt": false |
| 236 | + }, |
223 | 237 | "locations": { |
224 | 238 | "web-root": "web/" |
225 | 239 | } |
|
231 | 245 | ], |
232 | 246 | "web/libraries/{$name}": [ |
233 | 247 | "type:drupal-library", |
234 | | - "type:npm-asset", |
235 | | - "type:bower-asset" |
| 248 | + "type:bower-asset", |
| 249 | + "type:npm-asset" |
236 | 250 | ], |
237 | 251 | "web/modules/contrib/{$name}": [ |
238 | 252 | "type:drupal-module" |
|
249 | 263 | "web/modules/custom/{$name}": [ |
250 | 264 | "type:drupal-custom-module" |
251 | 265 | ], |
| 266 | + "web/profiles/custom/{$name}": [ |
| 267 | + "type:drupal-custom-profile" |
| 268 | + ], |
252 | 269 | "web/themes/custom/{$name}": [ |
253 | 270 | "type:drupal-custom-theme" |
254 | 271 | ] |
|
257 | 274 | "npm-asset", |
258 | 275 | "bower-asset" |
259 | 276 | ], |
| 277 | + "patchLevel": { |
| 278 | + "drupal/core": "-p2" |
| 279 | + }, |
260 | 280 | "patches": { |
261 | 281 | "drupal/better_exposed_filters": { |
262 | 282 | "Add option to hide exposed filter field labels (https://www.drupal.org/project/better_exposed_filters/issues/3282228)": "https://www.drupal.org/files/issues/2022-09-08/bef-visually_hidden.3282228.8.patch", |
|
265 | 285 | "drupal/core": { |
266 | 286 | "Text format wrapper does not take description_display into account (https://www.drupal.org/project/drupal/issues/2421445#comment-14328645)": "https://www.drupal.org/files/issues/2021-12-03/2421445-18_0.patch" |
267 | 287 | } |
| 288 | + }, |
| 289 | + "scripts": { |
| 290 | + "post-install-cmd": [ |
| 291 | + "DrupalProject\\composer\\ScriptHandler::createRequiredFiles" |
| 292 | + ], |
| 293 | + "post-update-cmd": [ |
| 294 | + "DrupalProject\\composer\\ScriptHandler::createRequiredFiles" |
| 295 | + ], |
| 296 | + "pre-install-cmd": [ |
| 297 | + "DrupalProject\\composer\\ScriptHandler::checkComposerVersion" |
| 298 | + ], |
| 299 | + "pre-update-cmd": [ |
| 300 | + "DrupalProject\\composer\\ScriptHandler::checkComposerVersion" |
| 301 | + ] |
268 | 302 | } |
269 | 303 | } |
270 | 304 | } |
0 commit comments