2.0.0 • Published 4 years ago
auto-publish-package v2.0.0
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:
- npmis installed globally
- npmis correctly configured an npm user (https://docs.npmjs.com/cli/adduser) that is authorized to publish the package
- npmis correctly configured to publish to the correct registry via- .npmrc(globally and/or locally) and/or- publishRegistryin- package.json.
- auto-publish-packageis executed in the directory of the package you want to publish.
Installation
npm install auto-publish-packageLicense
MIT