├── .gitignore ├── README.md ├── acquia-pipelines.yml ├── composer.json └── drush └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore binaries. 2 | /bin 3 | 4 | # Ignore non-custom parts of Drupal. 5 | /docroot/core 6 | /docroot/libraries 7 | /docroot/modules/contrib 8 | /docroot/profiles/contrib 9 | /docroot/themes/contrib 10 | /docroot/sites/default/files 11 | 12 | # Ignore Composer-managed dependencies. 13 | vendor/ 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## November 2, 2021: So long and thanks for all the fish! 2 | Acquia **ended support for the Lightning distribution on November 2, 2021**, simultaneously with Drupal 8. Lightning 3, 4, and 5 no longer receive any security updates or bug fixes. It is possible to safely uninstall Lightning from your site; please see [the official announcement](https://www.acquia.com/blog/acquia-lightning-eol-2021-acquia-cms-future), [FAQ for site owners](https://support.acquia.com/hc/en-us/articles/1500006393601-Frequently-Asked-Questions-FAQ-regarding-End-of-Support-for-Acquia-Lightning), and [developer instructions](https://github.com/acquia/lightning/wiki/Uninstalling-Lightning) for more information. 3 | -------------------------------------------------------------------------------- /acquia-pipelines.yml: -------------------------------------------------------------------------------- 1 | # This is an example Acquia Pipelines configuration file. For complete 2 | # documentation and other examples, see https://docs.acquia.com/acquia-cloud/develop/pipelines/yaml/ 3 | # 4 | # If you'd like a project which sets up testing and Pipelines for you, consider 5 | # using Acquia BLT: https://github.com/acquia/blt 6 | version: 1.1.0 7 | services: 8 | - mysql 9 | - php: 10 | version: 7.1 11 | 12 | events: 13 | build: 14 | steps: 15 | # Build a development codebase suitable for testing. 16 | # Uncomment these lines if you have included testing dependencies in 17 | # Composer's "require-dev" section. 18 | # - build-dev: 19 | # type: script 20 | # script: 21 | # - composer validate --no-check-all --ansi 22 | # - composer install 23 | # 24 | # Install application. 25 | # Uncomment these lines if you have tests defined for your application. 26 | # (Note that you will also need to uncomment the "build-dev" step above so 27 | # that you have a codebase to work with.) This assumes you have a 28 | # well-configured settings.php file committed to your repo and all testing 29 | # dependencies like Behat and PHPUnit as dev 30 | # dependencies. 31 | # - test: 32 | # type: script 33 | # script: 34 | # - drush site-install 35 | # - drush runserver --default-server=builtin 8080 &>/dev/null & 36 | # - behat 37 | # - phpunit 38 | # 39 | # Generate artifact. This is the codebase that will be available in the 40 | # Acquia Cloud interface. 41 | - build-artifact: 42 | type: script 43 | script: 44 | - composer install --no-dev --optimize-autoloader 45 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "acquia/lightning-project", 3 | "type": "project", 4 | "description": "Project template for Drupal 8 sites built with the Lightning distribution.", 5 | "license": "GPL-2.0-or-later", 6 | "require": { 7 | "acquia/lightning": "~5.2.0", 8 | "cweagans/composer-patches": "^1.6.0", 9 | "drupal/core-composer-scaffold": "*", 10 | "oomphinc/composer-installers-extender": "^1.1 || ^2" 11 | }, 12 | "require-dev": { 13 | "drush/drush": ">=9.7", 14 | "phpspec/prophecy-phpunit": "^2" 15 | }, 16 | "config": { 17 | "process-timeout": 0 18 | }, 19 | "extra": { 20 | "composer-exit-on-patch-failure": true, 21 | "drupal-scaffold": { 22 | "locations": { 23 | "web-root": "docroot/" 24 | } 25 | }, 26 | "enable-patching": true, 27 | "installer-paths": { 28 | "docroot/core": [ 29 | "type:drupal-core" 30 | ], 31 | "docroot/libraries/{$name}": [ 32 | "type:drupal-library", 33 | "type:bower-asset", 34 | "type:npm-asset" 35 | ], 36 | "docroot/modules/contrib/{$name}": [ 37 | "type:drupal-module" 38 | ], 39 | "docroot/profiles/contrib/{$name}": [ 40 | "type:drupal-profile" 41 | ], 42 | "docroot/themes/contrib/{$name}": [ 43 | "type:drupal-theme" 44 | ], 45 | "drush/contrib/{$name}": [ 46 | "type:drupal-drush" 47 | ] 48 | }, 49 | "installer-types": [ 50 | "bower-asset", 51 | "npm-asset" 52 | ], 53 | "patchLevel": { 54 | "drupal/core": "-p2" 55 | } 56 | }, 57 | "repositories": { 58 | "drupal": { 59 | "type": "composer", 60 | "url": "https://packages.drupal.org/8" 61 | }, 62 | "assets": { 63 | "type": "composer", 64 | "url": "https://asset-packagist.org" 65 | } 66 | }, 67 | "minimum-stability": "dev", 68 | "prefer-stable": true, 69 | "scripts": { 70 | "post-create-project-cmd": "rm -r -f .travis.yml .travis-ci", 71 | "quick-start": [ 72 | "composer install", 73 | "php docroot/core/scripts/drupal quick-start lightning --no-interaction" 74 | ] 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /drush/README.md: -------------------------------------------------------------------------------- 1 | Project-specific Drush configuration, as well as custom and contributed Drush commands, should go in this directory. 2 | --------------------------------------------------------------------------------