Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saagarjha
on March 3, 2019
|
parent
|
context
|
favorite
| on:
Case Study: Npm uses Rust for its CPU-bound bottle...
…so would Cargo? If you install a new package, why wouldn’t you expect it to show up in your lock file?
rkkautsar
on March 3, 2019
[–]
No, you guys don't understand.. npm updates the package lock even when not adding a new package, i.e. the initial `npm install`. It's insane I'm think to go back to yarn again..
lkschubert8
on March 4, 2019
|
parent
|
next
[–]
I'm with you, the default behavior is so counter intuitive.
Aeolun
on March 4, 2019
|
parent
|
prev
|
next
[–]
You can use ‘npm ci’ for actually sensible install behaviour.
saagarjha
on March 4, 2019
|
parent
|
prev
[–]
Hmm, that's pretty stupid. What is the rationale behind this? That you check before you run an install?
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: