▲ | streptomycin 6 days ago | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
If they were for some reason doing `npm install` rather than `npm ci`, then `npm install` does update packages in the lock file. Personally I always found that confusing, and yarn/pnpm don't behave that way. I think most people do `npm ci` in CI, unless they are using CI to specifically test if `npm install` still works, which I guess maybe would be a good idea if you use npm since it doesn't like obeying the lock file. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
▲ | Rockslide 6 days ago | parent [-] | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
How does this get repeated over and over, when it's simply not true? At least not anymore. npm install will only update the lockfile if you make changes to your package.json. Otherwise, it will install the versions from the lockfile. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|