0.3.0 • Published 8 years ago

in-version v0.3.0

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

in-version

Fancy git-tagging for npm modules.

This project provides a command line utility to create git tags of an npm install-able version of your module.

The npm package manager allows you to install modules directly from a git endpoint. This is great but can lead to larger package installs than necessary. in-version creates tags that include only those files which npm would grab during a publish - usually whatever is listed in the main attribute of your package.json.

Installation

You will typically want to install in-version globally:

npm install --global in-version

For pro points you can install in-version locally:

npm install --save-dev in-version

Usage

Once installed, in-version makes the inv command available to you. This command behaves a lot like npm version.

inv minor

After running the above:

  • The minor version number in your package.json will be incremented (a la npm version)
  • A published-things-only tag will have been created (e.g. v1.1.0)
  • The working copy will have been tagged as the corresponding dev version (e.g. v1.1.0-dev)

If in-version was installed locally you can either invoke it directly from ./node_modules/.bin/inv or create an npm script to run it.

For more information run inv --help or take a look at usage.txt.

License

MIT

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago