@semrel-extra/npm
v1.2.2
Published
Drop-in-repl for @semantic-release/npm plugin to handle `npm-whoami` throttling issue for monorepos
Downloads
114,837
Readme
@semrel-extra/npm
Drop-in-repl for standard npm plugin to handle npm-whoami
throttling issue for monorepos: semantic-release/npm/issues/414
Install
npm i -D @semrel-extra/npm
Usage
@semrel-extra/npm
is just a wrapper, so it inherits the API contract of @semantic-release/npm.
Follow its docs:
| Step | Description |
|--------------------|-------------|
| verifyConditions
| Verify the presence of the NPM_TOKEN
environment variable, or an .npmrc
file, and verify the authentication method is valid. |
| prepare
| Update the package.json
version and create the npm package tarball. |
| addChannel
| Add a release to a dist-tag. |
| publish
| Publish the npm package to the registry. |
{
"plugins": [
"@semantic-release/commit-analyzer",
["@semrel-extra/npm", {
...
}],
["@semantic-release/git", {
"assets": ["package.json", "npm-shrinkwrap.json"]
}]
]
}