Skip to content

Commit

Permalink
Merge pull request #101 from gperl27/patch-1
Browse files Browse the repository at this point in the history
docs: Add yarn workspaces example
  • Loading branch information
pmowrer authored Feb 22, 2021
2 parents ea4773d + 844a230 commit 413a570
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ npm install -D semantic-release semantic-release-monorepo

## Usage

Run `semantic-release` in the **root of a monorepo package** and apply `semantic-release-monorepo` via the [`extends`](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#extends) option.
Run `semantic-release` in an **individual monorepo package** and apply `semantic-release-monorepo` via the [`extends`](https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#extends) option.

On the command line:
```bash
Expand All @@ -50,6 +50,12 @@ NOTE: This library **CAN'T** be applied via the `plugins` option.
}
```

### With Yarn Workspaces

```bash
$ yarn workspaces run semantic-release -e semantic-release-monorepo
```

### With Lerna
The monorepo management tool [`lerna`](https://github.com/lerna/lerna) can be used to run `semantic-release-monorepo` across all packages in a monorepo with a single command:

Expand Down

0 comments on commit 413a570

Please sign in to comment.