]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/doc/api/npm-version.md
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / doc / api / npm-version.md
1 npm-version(3) -- Bump a package version
2 ========================================
3
4 ## SYNOPSIS
5
6     npm.commands.version(newversion, callback)
7
8 ## DESCRIPTION
9
10 Run this in a package directory to bump the version and write the new
11 data back to the package.json file.
12
13 If run in a git repo, it will also create a version commit and tag, and
14 fail if the repo is not clean.
15
16 Like all other commands, this function takes a string array as its first
17 parameter. The difference, however, is this function will fail if it does
18 not have exactly one element. The only element should be a version number.