4.0.0 • Published 7 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 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.