Octorelease plugin to perform actions related to NPM for Lerna monorepo.
Step | Description |
---|---|
init |
Load version numbers from lerna.json and login to NPM registry. |
version |
Bump changed package versions with lerna CLI. |
publish |
Publish the new package versions to NPM registry. |
success |
Verify that new package versions can be installed successfully. |
$ npm install @octorelease/lerna -D
The plugin can be configured in the Octorelease configuration file:
{
"plugins": [
"@octorelease/lerna"
]
}
See the documentation for @octorelease/npm.