hastega
v4.0.0
Published
A Node.js utility to hastily increment a project's version number, commit, push and publish. Intended for quickly saving prototypes and other small personal projects in early stages of development.
Readme
Hastega
Summary
A Node.js utility to hastily increment a project's version number, commit, push and publish. Intended for quickly saving prototypes and other small personal projects in early stages of development.
Installation
Install with npm:
npm install --save-dev hastegaUsage
Nodejs
const hastega = require("hastega")
hastega("--patch", "--publish")CLI
node .\node_modules\hastega\hastega.js --patch --publishOptions
| Parameter | Type | Description | | :------------ | :-----: | :--------------- | | "--major" | string | Increment major. | | "--minor" | string | Increment minor. | | "--patch" | string | Increment patch. | | "--publish" | string | Publish to NPM. |
Output
- Throws error if no increment to major, minor, or patch.
