Skip to content

Autogenerated package-lock.json should be gitignored or committed  #3758

@kasongoyo

Description

@kasongoyo

Description

Autogenerated package-lock.json should be gitignored or committed to help new collaborators not to accidentally commit it or to wonder about the fate of that file because deleting it is counter-intuitive option for js developer.

Other useful information (optional):

I propose it to be committed since it is controlled by package.json so even though package.json is currently solving the problem lock file tried to solve but having both will not have negative effect rather it will compliment the dependency versioning done in package.json.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions