|
1 | 1 | { |
2 | | - "name": "drupal-composer/drupal-project", |
3 | | - "description": "Project template for Drupal 8 projects with composer", |
| 2 | + "name": "drupal/recommended-project", |
| 3 | + "description": "Project template for Drupal 8 projects with a relocated document root", |
4 | 4 | "type": "project", |
5 | | - "license": "GPL-2.0+", |
6 | | - "authors": [ |
7 | | - { |
8 | | - "name": "", |
9 | | - "role": "" |
10 | | - } |
11 | | - ], |
| 5 | + "license": "GPL-2.0-or-later", |
| 6 | + "homepage": "https://www.drupal.org/project/drupal", |
| 7 | + "support": { |
| 8 | + "docs": "https://www.drupal.org/docs/user_guide/en/index.html", |
| 9 | + "chat": "https://www.drupal.org/node/314178" |
| 10 | + }, |
12 | 11 | "repositories": [ |
13 | 12 | { |
14 | 13 | "type": "composer", |
15 | 14 | "url": "https://packages.drupal.org/8" |
16 | 15 | } |
17 | 16 | ], |
18 | 17 | "require": { |
19 | | - "composer/installers": "^1.2", |
20 | | - "drupal-composer/drupal-scaffold": "^2.5", |
| 18 | + "composer/installers": "^1.9", |
21 | 19 | "cweagans/composer-patches": "^1.6.5", |
22 | | - "drupal/core": "^8.7.0", |
23 | | - "drush/drush": "^9.0.0", |
24 | | - "drupal/console": "^1.0.2", |
25 | | - "webflo/drupal-finder": "^1.0.0", |
26 | | - "webmozart/path-util": "^2.3", |
27 | | - "zaporylie/composer-drupal-optimizations": "^1.0", |
28 | | - "drupal/admin_toolbar": "^1.0", |
29 | | - "vlucas/phpdotenv": "^2.4" |
| 20 | + "drupal/admin_toolbar": "^2.3", |
| 21 | + "drupal/core-composer-scaffold": "^9", |
| 22 | + "drupal/core-project-message": "^9", |
| 23 | + "drupal/core-recommended": "^9", |
| 24 | + "drush/drush": "^10.3", |
| 25 | + "vlucas/phpdotenv": "^5.0" |
30 | 26 | }, |
31 | 27 | "require-dev": { |
32 | | - "webflo/drupal-core-require-dev": "^8.7.0", |
33 | | - "behat/behat": "^3.5.0", |
34 | | - "emuse/behat-html-formatter": "^0.1.0", |
35 | | - "bex/behat-screenshot": "^1.2", |
36 | | - "drupal/drupal-extension": "~3.2", |
37 | | - "jarnaiz/behat-junit-formatter": "^1.3.2", |
38 | | - "drupal/devel": "^2.1", |
39 | | - "jakub-onderka/php-parallel-lint": "^0.9.2", |
40 | | - "jakub-onderka/php-console-highlighter": "^0.3.2" |
| 28 | + "behat/behat": "^3.7", |
| 29 | + "bex/behat-screenshot": "^2.1", |
| 30 | + "drupal/core-dev": "^9", |
| 31 | + "drupal/devel": "^4.0", |
| 32 | + "emuse/behat-html-formatter": "^0.2.0", |
| 33 | + "jakub-onderka/php-console-highlighter": "^0.4.0", |
| 34 | + "jakub-onderka/php-parallel-lint": "^1.0", |
| 35 | + "jarnaiz/behat-junit-formatter": "^1.3" |
41 | 36 | }, |
42 | 37 | "conflict": { |
43 | 38 | "drupal/drupal": "*" |
|
49 | 44 | "scripts/composer/ScriptHandler.php" |
50 | 45 | ] |
51 | 46 | }, |
52 | | - "scripts": { |
53 | | - "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold", |
54 | | - "pre-install-cmd": [ |
55 | | - "DrupalProject\\composer\\ScriptHandler::checkComposerVersion" |
56 | | - ], |
57 | | - "pre-update-cmd": [ |
58 | | - "DrupalProject\\composer\\ScriptHandler::checkComposerVersion" |
59 | | - ], |
60 | | - "post-install-cmd": [ |
61 | | - "DrupalProject\\composer\\ScriptHandler::createRequiredFiles" |
62 | | - ], |
63 | | - "post-update-cmd": [ |
64 | | - "DrupalProject\\composer\\ScriptHandler::createRequiredFiles" |
65 | | - ] |
66 | | - }, |
67 | 47 | "extra": { |
| 48 | + "drupal-scaffold": { |
| 49 | + "locations": { |
| 50 | + "web-root": "webroot/" |
| 51 | + } |
| 52 | + }, |
68 | 53 | "installer-paths": { |
69 | 54 | "webroot/core": ["type:drupal-core"], |
70 | 55 | "webroot/libraries/{$name}": ["type:drupal-library"], |
71 | 56 | "webroot/modules/contrib/{$name}": ["type:drupal-module"], |
72 | 57 | "webroot/profiles/contrib/{$name}": ["type:drupal-profile"], |
73 | 58 | "webroot/themes/contrib/{$name}": ["type:drupal-theme"], |
74 | | - "webroot/sites/all/drush/contrib/{$name}": ["type:drupal-drush"] |
| 59 | + "drush/Commands/contrib/{$name}": ["type:drupal-drush"], |
| 60 | + "webroot/modules/custom/{$name}": ["type:drupal-custom-module"], |
| 61 | + "webroot/themes/custom/{$name}": ["type:drupal-custom-theme"] |
75 | 62 | } |
76 | 63 | }, |
77 | 64 | "config": { |
78 | 65 | "platform": { |
79 | 66 | "php": "7.3", |
80 | 67 | "ext-gd": "1" |
81 | | - } |
| 68 | + }, |
| 69 | + "sort-packages": true |
82 | 70 | } |
83 | 71 | } |
0 commit comments