Created
August 20, 2014 10:12
-
-
Save dawehner/dd6bf5b07cdd28d95f6c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"minimum-stability": "dev", | |
"require": { | |
"composer/installers": "dev-drupal-core", | |
"drupal/drupal-core": "8.0.*", | |
"drupal/devel": "dev-8.x-1.x", | |
"drupal/config_devel": "dev-8.x-1.x" | |
}, | |
"require-dev": { | |
"drupal/devel": "dev-8.x-1.x", | |
"drupal/config_devel": "dev-8.x-1.x" | |
}, | |
"config": { | |
"bin-dir": "bin/" | |
}, | |
"repositories": [ | |
{ | |
"type": "vcs", | |
"url": "https://github.com/tstoeckler/installers" | |
}, | |
{ | |
"type": "vcs", | |
"url": "https://github.com/tstoeckler/drupal-core" | |
}, | |
{ | |
"type": "vcs", | |
"url": "http://git.drupal.org/project/devel.git" | |
}, | |
{ | |
"type": "vcs", | |
"url": "http://git.drupal.org/project/config_devel.git" | |
} | |
], | |
"extra": { | |
"installer-paths": { | |
"web/core": ["type:drupal-core"], | |
"web/modules/contrib/{$name}": ["type:drupal-module"] | |
} | |
} | |
} |
@cosmicdreams the type is in each individual module's composer.json - e.g. https://github.com/larowlan/default_content/blob/8.x/composer.json
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"extra": {
"installer-paths": {
"web/core": ["type:drupal-core"],
"web/modules/contrib/{$name}": ["type:drupal-module"]
}
}
How is this used?
Specifically how does the type: inform composer how to handle the other directives above. It doesn't seem like enough information has been provided to allow composer to know what is a type:drupal-module and what is a type:drupal-core.