项目作者: ripeworks

项目描述 :
Create a deployable npm package when using Yarn workspaces
高级语言: JavaScript
项目地址: git://github.com/ripeworks/workspace-pack.git
创建时间: 2017-12-05T14:26:37Z
项目社区:https://github.com/ripeworks/workspace-pack

开源协议:

下载


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

  1. $ yarn global add workspace-pack

Usage

  1. # In your workspaces root dir
  2. $ 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