Skip to content

Commit

Permalink
Remove package-lock.json from .gitignore files
Browse files Browse the repository at this point in the history
The package-lock.json file is intended to be checked in to source
control in order to make builds reproducible; without
a package-lock.json file `npm install` becomes non-deterministic.

See e.g.
https://docs.npmjs.com/cli/v8/configuring-npm/package-lock-json:

> package-lock.json is automatically generated for any operations where
> npm modifies either the node_modules tree, or package.json. It describes
> the exact tree that was generated, such that subsequent installs are
> able to generate identical trees, regardless of intermediate dependency
> updates.
>
> This file is intended to be committed into source repositories, and
> serves various purposes:
  • Loading branch information
chreke authored and kanaka committed Aug 6, 2024
1 parent 0040170 commit b50380f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
.sbt
.npm
.node-gyp
package-lock.json
*/experiments
node_modules
*/notes
Expand Down
1 change: 0 additions & 1 deletion impls/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
.sbt
.npm
.node-gyp
package-lock.json
.elm
*/experiments
*/node_modules
Expand Down

0 comments on commit b50380f

Please sign in to comment.