Skip to content

Commit

Permalink
add warning about using npm plugin with noVersionPrefix
Browse files Browse the repository at this point in the history
  • Loading branch information
hipstersmoothie committed Feb 22, 2020
1 parent b7ac738 commit f734f36
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/npm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ yarn add -D @auto-it/npm
}
```

> If you're using the `noVersionPrefix` option you will also need to add `tag-version-prefix=""` to your `.npmrc`.
> Otherwise when npm versions your code the tag it creates will have the `v` and `auto` will get confused.
## Monorepo Usage

The `npm` plugin works out of the box with `lerna` in both [`independent`](https://github.com/lerna/lerna#independent-mode) and [`fixed`](https://github.com/lerna/lerna#fixedlocked-mode-default) mode. `auto` works on a repo basis and should be run from the root of the repo, not on each sub-package. No additional setup is required.
Expand Down

0 comments on commit f734f36

Please sign in to comment.