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

Commit 83e737a

Browse files
Lightning v2 for Pantheon.
1 parent 9af3081 commit 83e737a

File tree

8 files changed

+2906
-151
lines changed

8 files changed

+2906
-151
lines changed

circle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ dependencies:
2929
fi
3030
- git config --global user.email "$GIT_EMAIL"
3131
- git config --global user.name "Circle CI"
32+
- npm install -g bower
3233
override:
3334
- composer global require -n "hirak/prestissimo:^0.3"
3435
- composer global require -n "consolidation/cgr"

composer.json

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

1717
"drupal/core": "~8",
18+
"acquia/lightning-project": "^8.2",
1819

1920
"drupal/console": "^1.0.0-rc8",
2021
"drush/drush": "~8",
@@ -45,11 +46,15 @@
4546
},
4647
"scripts": {
4748
"build-assets": [
48-
"./scripts/composer/install-or-update"
49+
"./scripts/composer/install-or-update",
50+
"@lightning"
4951
],
5052
"drupal-unit-tests": "cd web/core && ../../vendor/bin/phpunit --testsuite=unit --exclude-group Composer,DependencyInjection,PageCache",
5153
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
5254
"prepare-for-pantheon": "DrupalProject\\composer\\ScriptHandler::prepareForPantheon",
55+
"lightning": [
56+
"Acquia\\Lightning\\ScriptHandler::deployLibraries"
57+
],
5358
"post-install-cmd": [
5459
"@drupal-scaffold",
5560
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
@@ -76,6 +81,7 @@
7681
"sites/default/default.services.pantheon.preproduction.yml",
7782
"sites/default/settings.pantheon.php"
7883
]
79-
}
84+
},
85+
"enable-patching": true
8086
}
8187
}

0 commit comments

Comments
 (0)