Add yarn.lock to .gitignore file

Created on 9 October 2023, 11 months ago

When making a change request, gitlab Drupal CI Tests do not use yarn install --frozen-lockfile or similar.

https://git.drupalcode.org/project/drupal/-/blob/11.x/.gitlab-ci.yml?ref...

Certainly from a a developer perspective, I think it makes sense to not include the yarn.lock file here. Doing so would result in unnecessary bloat on any change requests, and also make it more difficult to merge changes where the yarn.lock has been updated elsewhere.

My guess we are treating Drupal more as a library than an app. see https://stackoverflow.com/questions/39990017/should-i-commit-the-yarn-lo...

So to simplify the developer experience around this I would suggest adding the yarn.lock to the .gitignore file

Feature request
Status

Active

Version

10.1

Component
Javascript 

Last updated 1 day ago

Created by

🇬🇧United Kingdom 2dareis2do

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024