Added .npmrc for setting package-lock to false#359
Added .npmrc for setting package-lock to false#359yjaeseok wants to merge 3 commits intonodejs:masterfrom
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 :) |
```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 <michael_dawson@ca.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
|
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 <michael_dawson@ca.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
```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 <michael_dawson@ca.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
```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 <michael_dawson@ca.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
```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 <michael_dawson@ca.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Nicola Del Gobbo <nicoladelgobbo@NickNaso.local>
npm installcreates apackage-lock.jsonto 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).