1.1.6 • Published 6 years ago
elmon v1.1.6
🍋 Elmon
A package version manager, that just makes IT simple.
Install
Local:
yarn add elmon -D
Global:
yarn global add elmon
Usage
Just run elmon or e alias.
Or if you want to use it as a CLI, here are the necessary flags:
--major, -M Increment X.0.0
--minor, -m Increment 0.X.0
--patch, -p Increment 0.0.XUse elmon --help for more.
Examples
$ elmon --major # 0.0.0 > 1.0.0
$ e -p # 0.0.0 > 0.0.1
$ e # open prompt with update type selectAdditional
This project was developed for automated versioning using utilities such as husky and others.
Automate the versioning of your package with husky in package.json:
{
"scripts": {
"version:patch": "elmon -p"
},
"husky": {
"hooks": {
"pre-commit": "yarn run version:patch"
}
}
}