Skip to content
This repository was archived by the owner on Aug 8, 2024. It is now read-only.

Commit e4d47e1

Browse files
Lightning v2 for Pantheon.
1 parent b663112 commit e4d47e1

File tree

7 files changed

+3049
-1983
lines changed

7 files changed

+3049
-1983
lines changed

circle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ dependencies:
2424
- git config --global user.email "$GIT_EMAIL"
2525
- git config --global user.name "Circle CI"
2626
- echo "date.timezone = 'US/Central'" > /opt/circleci/php/7.0.7/etc/conf.d/xdebug.ini
27+
- npm install -g bower
2728
override:
2829
- composer global require "hirak/prestissimo:^0.3"
2930
- composer global require "consolidation/cgr"

composer.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@
1515
"cweagans/composer-patches": "~1.0",
1616

1717
"drupal/core": "~8",
18-
19-
"drupal/console": "^1.0.0-rc8",
20-
"drush/drush": "~8"
18+
"acquia/lightning-project": "^8.2"
2119
},
2220
"require-dev": {
2321
"mikey179/vfsstream": "~1.2",
@@ -39,15 +37,21 @@
3937
"prefer-stable": true,
4038
"autoload": {
4139
"classmap": [
40+
"scripts/ScriptHandler.php",
4241
"scripts/composer/ScriptHandler.php"
4342
]
4443
},
4544
"scripts": {
46-
"build-assets": "echo 'No build step defined.'",
45+
"build-assets": [
46+
"@lightning"
47+
],
4748
"drupal-unit-tests": "cd web/core && ../../vendor/bin/phpunit --testsuite=unit --exclude-group Composer,DependencyInjection,PageCache",
4849
"drupal": "drupal --ansi",
4950
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
5051
"prepare-for-pantheon": "DrupalProject\\composer\\ScriptHandler::prepareForPantheon",
52+
"lightning": [
53+
"Acquia\\Lightning\\ScriptHandler::deployLibraries"
54+
],
5155
"post-install-cmd": [
5256
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
5357
],
@@ -69,6 +73,7 @@
6973
"sites/default/default.services.pantheon.preproduction.yml",
7074
"sites/default/settings.pantheon.php"
7175
]
72-
}
76+
},
77+
"enable-patching": true
7378
}
7479
}

0 commit comments

Comments
 (0)