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

Commit 746d39d

Browse files
Lightning v2 for Pantheon.
1 parent 72e78c1 commit 746d39d

File tree

8 files changed

+3497
-688
lines changed

8 files changed

+3497
-688
lines changed

circle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ dependencies:
4949
fi
5050
- git config --global user.email "$GIT_EMAIL"
5151
- git config --global user.name "Circle CI"
52+
- npm install -g bower
5253
override:
5354
- composer global require -n "hirak/prestissimo:^0.3"
5455
- composer global require -n "consolidation/cgr"

composer.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"cweagans/composer-patches": "^1.0",
1717

1818
"drupal/core": "~8",
19+
"acquia/lightning-project": "^8.2",
1920

2021
"drupal/console": "^1.0.0-rc8",
2122
"drush/drush": "~8",
@@ -38,7 +39,7 @@
3839
"conflict": {
3940
"drupal/drupal": "*"
4041
},
41-
"minimum-stability": "alpha",
42+
"minimum-stability": "dev",
4243
"prefer-stable": true,
4344
"autoload": {
4445
"classmap": [
@@ -47,11 +48,15 @@
4748
},
4849
"scripts": {
4950
"build-assets": [
50-
"./scripts/composer/install-or-update"
51+
"./scripts/composer/install-or-update",
52+
"@lightning"
5153
],
5254
"drupal-unit-tests": "cd web/core && ../../vendor/bin/phpunit --testsuite=unit --exclude-group Composer,DependencyInjection,PageCache",
5355
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
5456
"prepare-for-pantheon": "DrupalProject\\composer\\ScriptHandler::prepareForPantheon",
57+
"lightning": [
58+
"Acquia\\Lightning\\ScriptHandler::deployLibraries"
59+
],
5560
"post-install-cmd": [
5661
"@drupal-scaffold",
5762
"DrupalProject\\composer\\ScriptHandler::createRequiredFiles"
@@ -78,6 +83,7 @@
7883
"sites/default/default.services.pantheon.preproduction.yml",
7984
"sites/default/settings.pantheon.php"
8085
]
81-
}
86+
},
87+
"enable-patching": true
8288
}
8389
}

0 commit comments

Comments
 (0)