Back to directory
0x80 avatar

isolate-package

Isolate monorepo packages to form a self-contained deployable unit. Read more below about its uses, features, and usage.

Clone repository

git clone https://github.com/0x80/isolate-package.git

193

Stars

22

Forks

5

Watchers

MIT

License

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

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. See also: Comparison with pnpm deploy.

License

MIT

Releases

What's Changed

Fix empty patch hash on pnpm 11 lockfiles by @0x80 in #202

Full Changelog: v1.35.0...v1.35.1

What's Changed

Preserve catalog: specifiers for pnpm isolates by @0x80 in #200

Full Changelog: v1.34.0...v1.35.0

What's Changed

Update dependencies by @0x80 in #182 Restore isolate bin alongside isolate-package by @0x80 in #188 Detect transitive external patches via the workspace lockfile by @0x80 in #181 Resol...

What's Changed

Detect transitive external patches via the workspace lockfile

Full Changelog: v1.32.1...v1.33.0