Reorganize to be consistent with GEO

This commit is contained in:
benjamin melançon 2020-05-06 22:47:17 -04:00
parent 3d7c74b4f7
commit b43aa5adc2

View file

@ -6,9 +6,6 @@
"minimum-stability": "dev", "minimum-stability": "dev",
"prefer-stable": true, "prefer-stable": true,
"require": { "require": {
"behat/behat": "^3.4",
"behat/mink": "^1.7",
"behat/mink-goutte-driver": "^1.2",
"composer/installers": "^1.7", "composer/installers": "^1.7",
"cweagans/composer-patches": "^1.0", "cweagans/composer-patches": "^1.0",
"drupal-composer/drupal-scaffold": "^2.0.0", "drupal-composer/drupal-scaffold": "^2.0.0",
@ -58,6 +55,11 @@
"wikimedia/composer-merge-plugin": "^1.4", "wikimedia/composer-merge-plugin": "^1.4",
"zaporylie/composer-drupal-optimizations": "^1.0" "zaporylie/composer-drupal-optimizations": "^1.0"
}, },
"require-dev": {
"behat/behat": "^3.4",
"behat/mink": "^1.7",
"behat/mink-goutte-driver": "^1.2"
},
"repositories": { "repositories": {
"drupal": { "drupal": {
"type": "composer", "type": "composer",
@ -68,39 +70,23 @@
"url": "https://github.com/drutopia/drutopia" "url": "https://github.com/drutopia/drutopia"
} }
}, },
"scripts": { "config": {
"post-install-cmd": [ "sort-packages": true,
"DrupalComposer\\DrupalScaffold\\Plugin::scaffold" "process-timeout": 600
], },
"post-update-cmd": [ "conflict": {
"DrupalComposer\\DrupalScaffold\\Plugin::scaffold" "drupal/drupal": "*"
],
"nuke": "rm -rf vendor web/core web/modules/contrib web/profiles/contrib drush/contrib",
"quick-start": [
"composer install",
"php docroot/core/scripts/drupal quick-start drutopia --no-interaction"
]
}, },
"extra": { "extra": {
"installer-paths": { "installer-paths": {
"web/core": [ "web/core": ["type:drupal-core"],
"drupal/core" "web/libraries/{$name}": ["type:drupal-library"],
], "web/modules/contrib/{$name}": ["type:drupal-module"],
"web/modules/contrib/{$name}": [ "web/profiles/contrib/{$name}": ["type:drupal-profile"],
"type:drupal-module" "web/themes/contrib/{$name}": ["type:drupal-theme"],
], "drush/Commands/contrib/{$name}": ["type:drupal-drush"],
"web/profiles/contrib/{$name}": [ "web/modules/custom/{$name}": ["type:drupal-custom-module"],
"type:drupal-profile" "web/themes/custom/{$name}": ["type:drupal-custom-theme"]
],
"web/themes/contrib/{$name}": [
"type:drupal-theme"
],
"web/libraries/{$name}": [
"type:drupal-library"
],
"drush/contrib/{$name}": [
"type:drupal-drush"
]
}, },
"merge-plugin": { "merge-plugin": {
"include": [ "include": [
@ -108,20 +94,23 @@
] ]
}, },
"enable-patching": true, "enable-patching": true,
"patches": { "patches": {
"drupal/search404": { "drupal/search404": {
"Remove search module dependency": "https://www.drupal.org/files/issues/2018-07-09/search404-core-search-dependency-9.patch" "Remove search module dependency": "https://www.drupal.org/files/issues/2018-07-09/search404-core-search-dependency-9.patch"
}, },
"drupal/coffee": { "drupal/coffee": {
"Allow user to specify keyboard shortcut.": "https://www.drupal.org/files/issues/2018-11-11/1734898-14.coffee-hotkeys-plus-g.patch" "Allow user to specify keyboard shortcut.": "https://www.drupal.org/files/issues/2018-11-11/1734898-14.coffee-hotkeys-plus-g.patch"
}, },
"drupal/wysiwyg_linebreaks": { "drupal/wysiwyg_linebreaks": {
"Excess line breaks keep getting added": "https://www.drupal.org/files/issues/2018-11-18/excess-line-breaks-keep-getting-added-3013853-5.patch" "Excess line breaks keep getting added": "https://www.drupal.org/files/issues/2018-11-18/excess-line-breaks-keep-getting-added-3013853-5.patch"
} }
} }
}, },
"config": { "scripts": {
"sort-packages": true, "nuke": "rm -rf vendor web/core web/modules/contrib web/profiles/contrib drush/contrib",
"process-timeout": 600 "quick-start": [
"composer install",
"php docroot/core/scripts/drupal quick-start drutopia --no-interaction"
]
} }
} }