Skip to content

Create a deployable npm package when using Yarn workspaces

Notifications You must be signed in to change notification settings

ripeworks/workspace-pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Options

CLI arg Description
--build-dir Specify where the prepared package is created before it is built and zipped. Default: _build
--output Where to store the resulting .zip file. Default: ${package.name}.zip

About

Create a deployable npm package when using Yarn workspaces

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •