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

Do not include scripts for internal dependencies #51

Closed 0x80 closed 7 months ago

0x80 commented 7 months ago

Currently scripts in the package manifests of internal dependencies are included. If they contain a "prepare" script it will get executed on install, which typically triggers a build of that package, which then fails because it requires dev dependencies.

Dependencies should already have been built before isolate happens. All scripts should be discarded probably.