Skip to content

Commit

Permalink
Add link to monorepo recipe in npm docs
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Apr 30, 2023
1 parent 812be49 commit 5598ef8
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions docs/npm.md
Expand Up @@ -133,20 +133,23 @@ can be skipped][3]. This is useful if, for instance, tagging the Git repo should

To bump multiple `package.json` files in a monorepo to the same version, use the [@release-it/bumper][4] plugin.

For Yarn workspaces, see the [release-it-yarn-workspaces][5] plugin.
Also see this [monorepo recipe][5].

For Yarn workspaces, see the [release-it-yarn-workspaces][6] plugin.

## Miscellaneous

- When `npm version` fails, the release is aborted (except when using [`--no-increment`][6]).
- Learn how to [authenticate and publish from a CI/CD environment][7].
- When `npm version` fails, the release is aborted (except when using [`--no-increment`][7]).
- Learn how to [authenticate and publish from a CI/CD environment][8].
- The `"private": true` setting in package.json will be respected, and `release-it` will skip this step.
- Getting an `ENEEDAUTH` error while a manual `npm publish` works? Please see [#95][8].
- Getting an `ENEEDAUTH` error while a manual `npm publish` works? Please see [#95][9].

[1]: https://docs.npmjs.com/about-scopes
[2]: https://registry.npmjs.org
[3]: #skip-git-steps
[4]: https://github.com/release-it/bumper
[5]: https://github.com/release-it-plugins/workspaces
[6]: ../README.md#update-or-re-run-existing-releases
[7]: ./ci.md#npm
[8]: https://github.com/release-it/release-it/issues/95#issuecomment-344919384
[5]: ./recipes/monorepo.md
[6]: https://github.com/release-it-plugins/workspaces
[7]: ../README.md#update-or-re-run-existing-releases
[8]: ./ci.md#npm
[9]: https://github.com/release-it/release-it/issues/95#issuecomment-344919384

0 comments on commit 5598ef8

Please sign in to comment.