Skip to content

Commit

Permalink
Add docs about npm.publishPath
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Feb 18, 2020
1 parent 4949a8a commit 90531ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/npm.md
Expand Up @@ -50,6 +50,11 @@ In case two-factor authentication (2FA) is enabled for the package, release-it w
The OTP can be provided from the command line (`--npm.otp=123456`). However, providing the OTP without a prompt
basically defeats the purpose of 2FA (also, the OTP expires after a short period).

## Publish path

Use `npm.publishPath` to publish only a specific folder. For example, set `npm.publishPath` to `"dist"`. The default
value is the current (root) folder (`"."`).

## Monorepos

Monorepos do not require extra configuration, but release-it handles only one package at a time. Also see how
Expand Down

0 comments on commit 90531ab

Please sign in to comment.