Skip to content
/ Vik Public

CLI Semver autoincrement with major, minor, and patch.

License

Notifications You must be signed in to change notification settings

Wildhoney/Vik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vik

Using Semver to increment your package.json (and bower.json, component.json) npm version based on the major, minor, patch. Your cwd can be a child of the directory where your JSON config files reside – Vik will recursively find them thanks to ParentPath!

Install: npm install vik -gwith -g (global) npm will automatically add vik to your $PATH.

Vik Screenshot

Commands

  • Increment major: vik major or vik major+;
  • Increment minor: vik minor or vik minor+;
  • Increment patch: vik patch or vik patch+;

You can also decrement the versions with minus:

  • Decrement major: vik major-;
  • Decrement minor: vik minor-;
  • Decrement patch: vik patch-;

Options

  • -t/--tags – Git tag the repository with the version;
  • -p/--push – Push the Git tag to the repository;

Example: vik minor -tp.

About

CLI Semver autoincrement with major, minor, and patch.

Resources

License

Stars

Watchers

Forks

Packages

No packages published