5 ms·
…so would Cargo? If you install a new package, why wouldn’t you expect it to show up in your lock file?
by saagarjha 8y ago
…so would Cargo? If you install a new package, why wouldn’t you expect it to show up in your lock file?
- deleted 8y ago[deleted]
- rkkautsar 8y agoNo, 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..
- Aeolun 8y agoYou can use ‘npm ci’ for actually sensible install behaviour.
- lkschubert8 8y agoI'm with you, the default behavior is so counter intuitive.
- saagarjha 8y agoHmm, that's pretty stupid. What is the rationale behind this? That you check before you run an install?