diff options
author | isaacs <i@izs.me> | 2013-07-12 08:55:57 -0700 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-07-12 08:56:26 -0700 |
commit | ff8a4058bfac4f360992cfe7adf04f910282cedc (patch) | |
tree | b271ef198babbc9c46c33bcda9826fbcc6bf0a6d /deps/npm/man/man3/npm-version.3 | |
parent | 6d91bd37075a53f42bab01915fa89ba4a4f0a075 (diff) | |
download | node-new-ff8a4058bfac4f360992cfe7adf04f910282cedc.tar.gz |
npm: Upgrade to 1.3.3
Diffstat (limited to 'deps/npm/man/man3/npm-version.3')
-rw-r--r-- | deps/npm/man/man3/npm-version.3 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/deps/npm/man/man3/npm-version.3 b/deps/npm/man/man3/npm-version.3 new file mode 100644 index 0000000000..e7d79148aa --- /dev/null +++ b/deps/npm/man/man3/npm-version.3 @@ -0,0 +1,27 @@ +.\" Generated with Ronnjs 0.3.8 +.\" http://github.com/kapouer/ronnjs/ +. +.TH "NPM\-VERSION" "3" "July 2013" "" "" +. +.SH "NAME" +\fBnpm-version\fR \-\- Bump a package version +. +.SH "SYNOPSIS" +. +.nf +npm\.commands\.version(newversion, callback) +. +.fi +. +.SH "DESCRIPTION" +Run this in a package directory to bump the version and write the new +data back to the package\.json file\. +. +.P +If run in a git repo, it will also create a version commit and tag, and +fail if the repo is not clean\. +. +.P +Like all other commands, this function takes a string array as its first +parameter\. The difference, however, is this function will fail if it does +not have exactly one element\. The only element should be a version number\. |