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

Commit

Permalink
Switch from drupal-composer/drupal-scaffold to drupal/core-composer-s…
Browse files Browse the repository at this point in the history
…caffold (#112)
  • Loading branch information
balsama authored and phenaproxima committed Jan 16, 2020
1 parent 22c03a4 commit 59d4a2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ install:
- rm composer.lock
# Update code base to HEAD.
- composer require acquia/lightning:dev-8.x-4.x --no-update
# Workaround until Issue #3091285 is resolved.
- chmod -R +w docroot/sites/default
- composer update

# Run database and Lightning config updates.
Expand Down
9 changes: 6 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"require": {
"acquia/lightning": "^4.0",
"cweagans/composer-patches": "^1.6.0",
"drupal-composer/drupal-scaffold": "^2.0.0"
"drupal/core-composer-scaffold": "*"
},
"require-dev": {
"drush/drush": "^9.0"
Expand All @@ -16,6 +16,11 @@
},
"extra": {
"composer-exit-on-patch-failure": true,
"drupal-scaffold": {
"locations": {
"web-root": "docroot/"
}
},
"enable-patching": true,
"installer-paths": {
"docroot/core": [
Expand Down Expand Up @@ -57,8 +62,6 @@
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-install-cmd": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
"post-update-cmd": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
"post-create-project-cmd": "rm -r -f .travis.yml behat.yml .travis-ci",
"quick-start": [
"composer install",
Expand Down

0 comments on commit 59d4a2b

Please sign in to comment.