Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ripeworks/workspace-pack
Create a deployable npm package when using Yarn workspaces
https://github.com/ripeworks/workspace-pack
deploy workspaces yarn
Last synced: 2 months ago
JSON representation
Create a deployable npm package when using Yarn workspaces
- Host: GitHub
- URL: https://github.com/ripeworks/workspace-pack
- Owner: ripeworks
- Created: 2017-12-05T14:26:37.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T10:41:28.000Z (about 2 years ago)
- Last Synced: 2024-11-09T22:15:16.226Z (3 months ago)
- Topics: deploy, workspaces, yarn
- Language: JavaScript
- Size: 349 KB
- Stars: 15
- Watchers: 3
- Forks: 4
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
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
```bash
# 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`_ |