# yarn-all-workspaces

> Workspace CLI utilities for yarn

Latest version **1.0.0** (published 2018-01-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install yarn-all-workspaces
pnpm add yarn-all-workspaces
yarn add yarn-all-workspaces
bun add yarn-all-workspaces
```

Provides the command `all-workspaces`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-01-05 |
| First published | 2018-01-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | obfu5c8 |
| Maintainers | obfu5c8 |
| Keywords | yarn, workspace, cli |

## Links

- npm: https://www.npmjs.com/package/yarn-all-workspaces
- Homepage: https://github.com/obfu5c8/yarn-all-workspaces
- Issues: https://github.com/obfu5c8/yarn-all-workspaces/issues
- npm.io page: https://npm.io/package/yarn-all-workspaces

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^2.3.0
- [split2](https://npm.io/package/split2.md) ^2.2.0

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-01-05

## README

yarn-all-workspaces
===================

CLI utility to help execute yarn commands in every workspace in a project

[![Greenkeeper badge](https://badges.greenkeeper.io/obfu5c8/yarn-all-workspaces.svg)](https://greenkeeper.io/)
[![CircleCI](https://circleci.com/gh/obfu5c8/yarn-all-workspaces/tree/master.svg?style=svg&circle-token=a230b12030d44521ecedcff0881e5baf39c574cf)](https://circleci.com/gh/obfu5c8/yarn-all-workspaces/tree/master)


-------------------------------------------


Installation
------------
Install via yarn
```sh
$> yarn add yarn-all-workspaces
```



Usage
-----
`yarn all-workspaces [--parallel|-p] <command-to-run>`

### Example 1
Execute `yarn run clean` in each workspace sequentially
```sh
$> yarn all-workspaces run clean
```

### Example 2
Execute `yarn run build` in each workspace _in parallel_.
```sh
$> yarn all-workspaces --parallel run build
```

### Example 3
Additional arguments will be passed to the yarn invocation in each workspace.
```sh
$> yarn all-workspaces run build --watch
```

---
_Source: https://npm.io/package/yarn-all-workspaces · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
