-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added .npmrc for setting package-lock to false #359
Conversation
```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 I think we should gitignore it in CITGM. This will allow us to always test the latest version of our dependencies (especially in CI).
I was thinking at same thing, but my solution was to eliminate the |
I agree with your opinion ~. :) |
What do you think it? @mhdawson @gabrielschulhof |
+1 from me. |
Hi @nodejs/n-api can @yjaeseok continue to go forward with his proposal? Is there any objection? |
fwiw using package-lock.json in any library doesn't make sense because npm doesn't use it in that context. it should just be removed completely anyway. |
Hi @yjaeseok, I think that there are not objections about you PR so please if you need to complete something do it and then just ping here to get a review. |
@NickNaso I updated it as you mention, Please review again :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
```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: #359 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]> Reviewed-By: Nicola Del Gobbo <[email protected]>
Landed as 8ce605c |
```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]>
```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]>
```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]>
```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]>
npm install
creates apackage-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 I think we should gitignore it in CITGM.
This will allow us to always test the latest version of our dependencies (especially in CI).