-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Add package-lock.json #4337
Add package-lock.json #4337
Conversation
Looks good to me. @simonbrunel ? |
If I understand correctly, the
If we can't get Travis to use this Don't you think that this file will finally generate more noise and work than benefits? |
I use node 6 to build locally, which is the latest LTS as you've pointed out. I've sent a separate PR to update Travis to use node 6 instead of node 5 Travis uses npm 3 by default regardless of node version, so you're right that it's ignoring this file at the moment. For people who use npm 5 they're going to be continually bugged to check in this file. So it seems like we should either ask Travis to use npm 5 or maybe add this file to .gitignore? |
I'm still thinking it will bring more noise than benefits, so my personal choice would be to I suggested Node.js 8 because I think npm 5 comes bundled in that version (at least on Windows), but you right, it has nothing to do with the version of Node.js.
|
@etimberg what do you think? |
I think it really depends on how often we update it. It's noisy if it's always updating |
I believe it will only update upon request or when package.json is updated. However, I'm going to close this for now because I discovered there's a bug in npm's handling of this file that's a dealbreaker. I may reopen when the bug is fixed |
When using npm 5 to build a
package-lock.json
file is created with the following message: