4.0.0 • Published 6 years ago
hastega v4.0.0
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 hastega
Usage
Nodejs
const hastega = require("hastega")
hastega("--patch", "--publish")
CLI
node .\node_modules\hastega\hastega.js --patch --publish
Options
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.