News for hackers. Stuff that matters.
Re:Case Study: Npm uses Rust for its CPU-bound bottlenecks [... by saagarjha on Sunday March 03, 2019 @03:26PM (#19296618)
…so would Cargo? If you install a new package, why wouldn’t you expect it to show up in your lock file?
Re:Case Study: Npm uses Rust for its CPU-bound bottlenecks [... by rkkautsar on Sunday March 03, 2019 @03:47PM (#19296748)
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..
Re:Case Study: Npm uses Rust for its CPU-bound bottlenecks [... by lkschubert8 on Sunday March 03, 2019 @08:45PM (#19298171)
I'm with you, the default behavior is so counter intuitive.
Re:Case Study: Npm uses Rust for its CPU-bound bottlenecks [... by Aeolun on Sunday March 03, 2019 @07:58PM (#19298030)
You can use ‘npm ci’ for actually sensible install behaviour.
Re:Case Study: Npm uses Rust for its CPU-bound bottlenecks [... by saagarjha on Sunday March 03, 2019 @11:19PM (#19298747)
Hmm, that's pretty stupid. What is the rationale behind this? That you check before you run an install?