3 ms·
npm-shrinkwrap [1] (mentioned in the article) is supposed to help with this; it makes a lock file (npm-shrinkwrap.json) that records the resolved version. I th
by mook 11y ago
npm-shrinkwrap [1] (mentioned in the article) is supposed to help with this; it makes a lock file (npm-shrinkwrap.json) that records the resolved version.
I think it got started being used at work (by stuff I wasn't working on) because trying to install old code that hasn't changed broke because some HTTP proxying middleware for Express changed APIs or something.
[1]: https://docs.npmjs.com/cli/shrinkwrap https://docs.npmjs.com/cli/shrinkwrap
- sdboyer 11y agofwiw, folks on twitter suggested to me that npm may be moving in something like my "sync-based PDM" direction: https://twitter.com/rebeccaorg/status/698370989386694657 https://twitter.com/rebeccaorg/status/698370989386694657