1.3.4 • Published 8 years ago
versionifier v1.3.4
Goal
Hi there ! Tired to manually update your package.json to increase your version number ? This CLI solves this issue.
Install
globally
First, install it globally :
yarn global add versionifieror
npm install -g versionifier(those might need sudo to work)
locally
yarn add versionifieror
npm install --save versionifierUsage
Here are the commands :
$ versionifier version # output the version
$ versionifier help # output the available commands
$ versionifier default # add the default options in the package.json
$ versionifier patch # increase by 1 the patch version of your current package.json
$ versionifier minor # increase by 1 the minor version of your current package.json
$ versionifier major # add scripts package.jsonHere are some scripts you can add inside the package.json :
"up:patch": "versionifier patch",
"up:minor": "versionifier minor",
"up:major": "versionifier major",(then run)
yarn up:patchor
npm run up:patchfor example
options : ( defaultValues)
- commitIfOnlyPackageJsonInStage: false
- commitIfMultipleFilesInStage: false
- commitMessage: 'update version package to $VERSION'
- push : false
- remoteRepo: 'origin'
- publish : false
Roadmap
v1 :
- handle override settings one by one
- add a command to write the default keys inside the package.json
- and add command to choose value for each if default value not chosen
1.3.4
8 years ago
1.3.3
8 years ago
1.3.2
8 years ago
1.3.1
8 years ago
1.3.0
8 years ago
1.2.0
8 years ago
1.1.1
8 years ago
1.1.0
8 years ago
1.0.8
8 years ago
1.0.7
8 years ago
1.0.6
8 years ago
1.0.5
8 years ago
1.0.4
8 years ago
1.0.3
8 years ago
1.0.2
8 years ago
1.0.1
8 years ago
0.0.1
8 years ago
1.0.0
8 years ago
0.0.0
8 years ago