Skip to content
Snippets Groups Projects

Issue #3082958: Add gitignore(s) to composer-ready project templates

Closed ressa requested to merge issue/drupal-3082958:3082958-add-gitignores-to into 11.x
1000+ files
+ 4059
2509
Compare changes
  • Side-by-side
  • Inline
Files
1000+
@@ -41,7 +41,7 @@ public function getPackage() {
// If there is no 'source' record, then this is a path repository
// or something else that we do not want to include.
if (isset($package['source']) && !in_array($package['name'], $remove_list)) {
$composer['require'][$package['name']] = $package['version'];
$composer['require'][$package['name']] = '~' . $package['version'];
}
}
return $composer;
@@ -56,7 +56,7 @@ protected function initialPackageMetadata() {
return [
"name" => "drupal/core-recommended",
"type" => "metapackage",
"description" => "Locked core dependencies; require this project INSTEAD OF drupal/core.",
"description" => "Core and its dependencies with known-compatible minor versions. Require this project INSTEAD OF drupal/core.",
"license" => "GPL-2.0-or-later",
"conflict" => [
"webflo/drupal-core-strict" => "*",
Loading