Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Merge requests
!1627
Issue
#3082958
: Add gitignore(s) to composer-ready project templates
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Issue
#3082958
: Add gitignore(s) to composer-ready project templates
issue/drupal-3082958:3082958-add-gitignores-to
into
11.x
Overview
0
Commits
880
Pipelines
0
Changes
1000+
Closed
ressa
requested to merge
issue/drupal-3082958:3082958-add-gitignores-to
into
11.x
3 years ago
Overview
0
Commits
880
Pipelines
0
Changes
1000
Expand
0
0
Merge request reports
Compare
11.x
version 2
35c4c07f
1 year ago
version 1
bca55d1f
3 years ago
11.x (base)
and
latest version
latest version
35c4c07f
880 commits,
1 year ago
version 2
35c4c07f
2 commits,
1 year ago
version 1
bca55d1f
2 commits,
3 years ago
1000+ files
+
4059
−
2509
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
1000+
Search (e.g. *.vue) (Ctrl+P)
Some changes are not shown.
For a faster browsing experience, only
1000 of 1000+
files are shown. Download one of the files below to see all changes.
Plain diff
Patches
composer/Generator/Builder/DrupalCoreRecommendedBuilder.php
+
2
−
2
Options
@@ -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
; r
equire this project INSTEAD OF drupal/core."
,
"description"
=>
"
Core and its
dependencies
with known-compatible minor versions. R
equire this project INSTEAD OF drupal/core."
,
"license"
=>
"GPL-2.0-or-later"
,
"conflict"
=>
[
"webflo/drupal-core-strict"
=>
"*"
,
Loading