https://github.com/0x80/isolate-package
Isolate a monorepo package with its internal dependencies to form a self-contained directory with a pruned lockfile
https://github.com/0x80/isolate-package
ci deploy firebase isolate monorepo npm package pnpm workspace yarn
Last synced: 13 days ago
JSON representation
Isolate a monorepo package with its internal dependencies to form a self-contained directory with a pruned lockfile
- Host: GitHub
- URL: https://github.com/0x80/isolate-package
- Owner: 0x80
- License: mit
- Created: 2023-05-06T12:35:21.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-01T13:45:42.000Z (about 2 years ago)
- Last Synced: 2024-04-14T07:23:58.620Z (about 2 years ago)
- Topics: ci, deploy, firebase, isolate, monorepo, npm, package, pnpm, workspace, yarn
- Language: TypeScript
- Homepage:
- Size: 394 KB
- Stars: 81
- Watchers: 4
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Isolate Package
Isolate a monorepo workspace package into a self-contained directory with all
internal dependencies and an adapted lockfile.
## Features
- Self-contained output with all internal dependencies included
- Deterministic lockfile generation for the isolated package
- Works with NPM, PNPM, Yarn (classic and modern), and partial Bun support
- Zero-config for the vast majority of use cases
- Recursive dependency resolution
- Compatible with Firebase Functions (1st and 2nd generation)
- Automatic PNPM patched dependencies support
## Quick Start
```sh
npx isolate-package isolate
```
Run the command from the monorepo package you would like to isolate.
## Documentation
For full documentation visit
[isolate-package.codecompose.dev](https://isolate-package.codecompose.dev/). See
also:
[Comparison with pnpm deploy](https://isolate-package.codecompose.dev/comparison).
## License
MIT