Package detail

@semrel-extra/npm

semrel-extra91.7kMIT1.2.2

Drop-in-repl for @semantic-release/npm plugin to handle npm-whoami throttling issue for monorepos

semantic-release, npm

readme

@semrel-extra/npm

Drop-in-repl for standard npm plugin to handle npm-whoami throttling issue for monorepos: semantic-release/npm/issues/414

CI Maintainability Test Coverage

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"]
    }]
  ]
}

License

MIT

changelog

1.2.2 (2022-04-18)

Bug Fixes

  • if first pkg is private it does not persist npmrc (952f58e)

1.2.1 (2022-04-18)

Bug Fixes

  • deps: up @semantic-release/npm to 9.0.1 (ce7170c)

1.2.0 (2021-11-18)

Features

  • memoize verifyConditions result as promise (0d3b6ea)

1.1.0 (2021-11-18)

Features

  • add semrel context paths remapping (0d290d1)

1.0.0 (2021-11-18)

Features