Skip to content

Instantly share code, notes, and snippets.

@balsama
Created October 3, 2018 19:42
Show Gist options
  • Save balsama/ca098e91681065baee699814436d5bca to your computer and use it in GitHub Desktop.
Save balsama/ca098e91681065baee699814436d5bca to your computer and use it in GitHub Desktop.
Headless with new patch
{
"name": "acquia/headless_lightning",
"description": "Drupal Lightning as a backend for fully decoupled applications.",
"type": "drupal-profile",
"license": "GPL-2.0-or-later",
"minimum-stability": "dev",
"prefer-stable": true,
"require-dev": {
"drupal/devel": "^1.0",
"drupal/console": "^1.0.0",
"acquia/lightning_dev": "dev-8.x-1.x",
"drupal/schema_metatag": "^1.3"
},
"require": {
"drupal-composer/drupal-scaffold": "^2.0.0",
"cweagans/composer-patches": "^1.6.4",
"acquia/lightning": "3.2.0"
},
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8"
},
"asset-packagist": {
"type": "composer",
"url": "https://asset-packagist.org"
},
"dev": {
"type": "github",
"url": "https://github.com/acquia/lightning-dev",
"no-api": true
}
},
"config": {
"preferred-install": {
"drupal/core": "dist"
},
"platform": {
"php": "7.0.8"
}
},
"scripts": {
"post-install-cmd": [
"@drupal-scaffold",
"@push",
"ln -s -f git-hooks/pre-commit .git/hooks/pre-commit"
],
"post-update-cmd": [
"@drupal-scaffold",
"@push",
"ln -s -f git-hooks/pre-commit .git/hooks/pre-commit"
],
"drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold",
"release-version": "Acquia\\Lightning\\Composer\\ReleaseVersion::execute",
"nuke": "rm -r -f docroot vendor",
"pull": "Acquia\\Lightning\\Commands\\FileCommands::pull",
"push": "Acquia\\Lightning\\Commands\\FileCommands::push"
},
"extra": {
"installer-types": [
"bower-asset",
"npm-asset"
],
"installer-paths": {
"docroot/core": [
"type:drupal-core"
],
"docroot/modules/contrib/{$name}": [
"type:drupal-module"
],
"docroot/profiles/contrib/{$name}": [
"type:drupal-profile"
],
"docroot/themes/contrib/{$name}": [
"type:drupal-theme"
],
"docroot/libraries/{$name}": [
"type:drupal-library",
"type:bower-asset",
"type:npm-asset"
]
},
"enable-patching": true,
"patches": {
"drupal/core": {
"1356276 - Allow profiles to define a base/parent profile and load them in the correct order":
"https://www.drupal.org/files/issues/2018-10-03/1356276-507.patch"
}
},
"patches-ignore":{
"drupal/lightning_core": {
"drupal/core":{
"Using a newer version of this patch":
"https://www.drupal.org/files/issues/2018-07-12/1356276-473.patch"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment