Skip to content
This repository was archived by the owner on Nov 16, 2021. It is now read-only.

Commit 59d4a2b

Browse files
balsamaphenaproxima
authored andcommitted
Switch from drupal-composer/drupal-scaffold to drupal/core-composer-scaffold (#112)
1 parent 22c03a4 commit 59d4a2b

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ install:
4747
- rm composer.lock
4848
# Update code base to HEAD.
4949
- composer require acquia/lightning:dev-8.x-4.x --no-update
50+
# Workaround until Issue #3091285 is resolved.
51+
- chmod -R +w docroot/sites/default
5052
- composer update
5153

5254
# Run database and Lightning config updates.

composer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"require": {
77
"acquia/lightning": "^4.0",
88
"cweagans/composer-patches": "^1.6.0",
9-
"drupal-composer/drupal-scaffold": "^2.0.0"
9+
"drupal/core-composer-scaffold": "*"
1010
},
1111
"require-dev": {
1212
"drush/drush": "^9.0"
@@ -16,6 +16,11 @@
1616
},
1717
"extra": {
1818
"composer-exit-on-patch-failure": true,
19+
"drupal-scaffold": {
20+
"locations": {
21+
"web-root": "docroot/"
22+
}
23+
},
1924
"enable-patching": true,
2025
"installer-paths": {
2126
"docroot/core": [
@@ -57,8 +62,6 @@
5762
"minimum-stability": "dev",
5863
"prefer-stable": true,
5964
"scripts": {
60-
"post-install-cmd": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
61-
"post-update-cmd": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
6265
"post-create-project-cmd": "rm -r -f .travis.yml behat.yml .travis-ci",
6366
"quick-start": [
6467
"composer install",

0 commit comments

Comments
 (0)