Skip to content

Commit

Permalink
build: avoid using package-lock.json
Browse files Browse the repository at this point in the history
```npm install``` creates a ```package-lock.json``` to lock
the versions of dependencies that are installed.
They recommend to commit this file and that's what I
usually do in other projects but we should not use it
for this project.  This will allow us to always test
the latest version of our dependencies (especially in CI).

PR-URL: nodejs/node-addon-api#359
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Reviewed-By: Nicola Del Gobbo <[email protected]>
  • Loading branch information
kevindavies8 committed Oct 22, 2018
1 parent 6cd48b0 commit 6c850ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false

0 comments on commit 6c850ec

Please sign in to comment.