|
8 | 8 | "require": { |
9 | 9 | "composer/installers": "^2.1", |
10 | 10 | "cweagans/composer-patches": "^1.7", |
11 | | - "drupal/core-composer-scaffold": "10.4.x", |
12 | | - "drupalwxt/wxt": "5.4.x-dev" |
| 11 | + "drupal/core-composer-scaffold": "11.1.*", |
| 12 | + "drupalwxt/wxt": "6.1.x-dev" |
13 | 13 | }, |
14 | 14 | "require-dev": { |
15 | | - "drupal/core-dev": "10.4.x", |
| 15 | + "drupal/core-dev": "11.1.*", |
| 16 | + "drupal/drupal": "^11.1", |
16 | 17 | "drupal/drupal-extension": "5.0.0-alpha1", |
17 | | - "drush/drush": "^12.4.3", |
| 18 | + "drush/drush": "^13.3.3", |
18 | 19 | "oomphinc/composer-installers-extender": "^1.1 || ^2", |
| 20 | + "phpspec/prophecy-phpunit": "^2", |
19 | 21 | "squizlabs/php_codesniffer": "3.*", |
20 | | - "phpspec/prophecy-phpunit": "^2" |
| 22 | + "vlucas/phpdotenv": "^5.1", |
| 23 | + "webflo/drupal-finder": "^1.2" |
21 | 24 | }, |
22 | 25 | "config": { |
23 | 26 | "discard-changes": true, |
|
27 | 30 | "cweagans/composer-patches": true, |
28 | 31 | "dealerdirect/phpcodesniffer-composer-installer": true, |
29 | 32 | "drupal/core-composer-scaffold": true, |
| 33 | + "drupal/core-project-message": true, |
| 34 | + "drupal/core-vendor-hardening": true, |
30 | 35 | "oomphinc/composer-installers-extender": true, |
31 | 36 | "php-http/discovery": true, |
32 | | - "phpstan/extension-installer": true |
| 37 | + "phpstan/extension-installer": true, |
| 38 | + "tbachert/spi": true |
33 | 39 | } |
34 | 40 | }, |
35 | 41 | "repositories": [ |
|
44 | 50 | { |
45 | 51 | "type": "composer", |
46 | 52 | "url": "https://drupalwxt.github.io/composer-extdeps/" |
| 53 | + }, |
| 54 | + { |
| 55 | + "type": "package", |
| 56 | + "package": { |
| 57 | + "name": "fontawesome/fontawesome", |
| 58 | + "version": "6.4.2", |
| 59 | + "type": "drupal-library", |
| 60 | + "extra": { |
| 61 | + "installer-name": "fontawesome" |
| 62 | + }, |
| 63 | + "dist": { |
| 64 | + "url": "https://use.fontawesome.com/releases/v6.4.2/fontawesome-free-6.4.2-web.zip", |
| 65 | + "type": "zip" |
| 66 | + } |
| 67 | + } |
47 | 68 | } |
48 | 69 | ], |
49 | 70 | "scripts": { |
50 | | - "post-root-package-install": [ |
51 | | - "DrupalWxT\\WxT\\ScriptHandler::postCreateProject" |
| 71 | + "post-install-cmd": [ |
| 72 | + "@copy-composer-directory" |
| 73 | + ], |
| 74 | + "post-update-cmd": [ |
| 75 | + "@copy-composer-directory" |
| 76 | + ], |
| 77 | + "copy-composer-directory": [ |
| 78 | + "[ -d vendor/drupal/drupal/composer ] && mkdir -p html/composer && cp -R vendor/drupal/drupal/composer/* html/composer/ || echo 'composer directory not found; skipping copy'" |
52 | 79 | ], |
| 80 | + "post-create-project-cmd": "rm -r -f behat.yml", |
53 | 81 | "quick-start": [ |
54 | 82 | "composer install" |
55 | 83 | ] |
|
0 commit comments