auto-publish-package

2.0.0 • Public • Published

auto-publish-package

A simple, lightweight tool to automatically publish an npm package if the latest version has not been published already. This is very useful for CI/CD.

This tool assumes:

  1. npm is installed globally
  2. npm is correctly configured an npm user (https://docs.npmjs.com/cli/adduser) that is authorized to publish the package
  3. npm is correctly configured to publish to the correct registry via .npmrc (globally and/or locally) and/or publishRegistry in package.json.
  4. auto-publish-package is executed in the directory of the package you want to publish.

Installation

npm install auto-publish-package

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i auto-publish-package

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

3.29 kB

Total Files

4

Last publish

Collaborators

  • mkreiser