1.3.4 • Published 6 years ago

versionifier v1.3.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

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 versionifier

or

npm install -g versionifier

(those might need sudo to work)

locally

yarn add versionifier

or

npm install --save versionifier

Usage

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.json

Here 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:patch

or

npm run up:patch

for 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

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

0.0.1

6 years ago

1.0.0

6 years ago

0.0.0

6 years ago