diff options
Diffstat (limited to 'deps/npm/html/doc/api/npm-version.html')
-rw-r--r-- | deps/npm/html/doc/api/npm-version.html | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/deps/npm/html/doc/api/npm-version.html b/deps/npm/html/doc/api/npm-version.html index b60668c947..ede9d6b37f 100644 --- a/deps/npm/html/doc/api/npm-version.html +++ b/deps/npm/html/doc/api/npm-version.html @@ -10,22 +10,17 @@ <div id="wrapper"> <h1><a href="../api/npm-version.html">npm-version</a></h1> <p>Bump a package version</p> - -<h2 id="SYNOPSIS">SYNOPSIS</h2> - -<pre><code>npm.commands.version(newversion, callback)</code></pre> - -<h2 id="DESCRIPTION">DESCRIPTION</h2> - +<h2 id="synopsis">SYNOPSIS</h2> +<pre><code>npm.commands.version(newversion, callback) +</code></pre><h2 id="description">DESCRIPTION</h2> <p>Run this in a package directory to bump the version and write the new data back to the package.json file.</p> - <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> - <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.</p> + </div> <table border=0 cellspacing=0 cellpadding=0 id=npmlogo> @@ -37,5 +32,5 @@ not have exactly one element. The only element should be a version number.</p> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> </table> -<p id="footer">npm-version — npm@1.4.9</p> +<p id="footer">npm-version — npm@1.4.10</p> |