workspace-pack

Build a deployable package from a Yarn workspace.

Usage no npm install needed!

<script type="module">
  import workspacePack from 'https://cdn.skypack.dev/workspace-pack';
</script>

README

workspace-pack

Create a deployable npm package when using Yarn workspaces

Details

If you use Yarn's workspaces feature to manage a monorepo, but need to "pack" a single package into a deployable zip that resolves both local and remote dependencies, this might be the tool for you.

Install

$ yarn global add workspace-pack

Usage

# In your workspaces root dir
$ workspace-pack my-package-folder