0x80 / isolate-package

Isolate a monorepo package with its internal dependencies to form a self-contained directory with a pruned lockfile
MIT License
121 stars 13 forks source link

Generate npm lockfile based on installed modules #39

Closed 0x80 closed 10 months ago

0x80 commented 10 months ago

This fixes the NPM lockfile generation by using the installed node_modulues from the root of the monorepo. It moves them temporarily into the isolate output, before generating the lockfile and moving them back to the root.