JamieMason / shrinkpack

Fast, resilient, reproducible builds with npm install.
https://www.npmjs.com/package/shrinkpack
MIT License
793 stars 38 forks source link

Add Monorepo support #89

Closed JamieMason closed 2 years ago

JamieMason commented 6 years ago

Idea for after #83 is released and npm 5 support is stable.

shrinkpack --lerna
  1. Not passing --lerna defaults to false.
  2. Passing --lerna instructs shrinkpack to process ./npm-shrinkwrap.json plus ./packages/*/npm-shrinkwrap.json but store the tarballs in a single cache at ./node_shrinkwrap.