versioning-tool
CLI tool for updating npm package version and tagging git repos for release.
Last updated a year ago by blforce .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install versioning-tool 
SYNC missed versions from official npm registry.

versioning-tool

CLI tool for updating npm package version and tagging git repos for release.

oclif Version Build Status Open Issues Downloads/week License

Usage

$ npm install -g versioning-tool
$ vt COMMAND
running command...
$ vt (-v|--version|version)
versioning-tool/2018.10.8-9 darwin-x64 node-v10.1.0
$ vt --help [COMMAND]
USAGE
  $ vt COMMAND
...

Version Formatting

You can specify the date format that will be used by adding the following section to your package.json file:

"versioning": {
  "date-format": "yyyy.mm.dd"
}

Commands

vt current

Displays current version

USAGE
  $ vt current

OPTIONS
  -h, --help  show CLI help

See code: src/commands/current.ts

vt help [COMMAND]

display help for vt

USAGE
  $ vt help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

vt update

Adds a git tag for next version and update package.json to match.

USAGE
  $ vt update

OPTIONS
  -f, --format=format    Format that the date portion should be in
  -h, --help             show CLI help
  -m, --message=message  The message you want attached to the git tag
  -p, --push             Run a git push and git push --tags after updating the version
  -v, --version=version  Force a new version number

See code: src/commands/update.ts

Current Tags

  • 2018.10.8-11                                ...           latest (a year ago)

7 Versions

  • 2018.10.8-11                                ...           a year ago
  • 2018.10.8-9                                ...           a year ago
  • 2018.10.8-1                                ...           a year ago
  • 2018.10.8-8                                ...           a year ago
  • 2018.10.8-3                                ...           a year ago
  • 2018.10.8-2                                ...           a year ago
  • 2018.10.5-1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 7
Last Day 0
Last Week 7
Last Month 2
Dependencies (7)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |