3 ms·
Why can't we have a packages.lock like composer has? At least we can then decide if we want to install updates and keep all environments in sync.
by sschueller 11y ago
Why can't we have a packages.lock like composer has? At least we can then decide if we want to install updates and keep all environments in sync.
- paulddraper 11y agonpm shrinkwrap
- tedmiston 11y ago> Caveats > If you wish to lock down the specific bytes included in a package, for example to have 100% confidence in being able to reproduce a deployment or build, then you ought to check your dependencies into source control, or pursue some other mechanism that can verify contents rather than versions. https://docs.npmjs.com/cli/shrinkwrap https://docs.npmjs.com/cli/shrinkwrap