]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man3/npm-version.3
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man3 / npm-version.3
1 .TH "NPM\-VERSION" "3" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-version\fR \- Bump a package version
4 .SH SYNOPSIS
5 .P
6 .RS 2
7 .nf
8 npm\.commands\.version(newversion, callback)
9 .fi
10 .RE
11 .SH DESCRIPTION
12 .P
13 Run this in a package directory to bump the version and write the new
14 data back to the package\.json file\.
15 .P
16 If run in a git repo, it will also create a version commit and tag, and
17 fail if the repo is not clean\.
18 .P
19 Like all other commands, this function takes a string array as its first
20 parameter\. The difference, however, is this function will fail if it does
21 not have exactly one element\. The only element should be a version number\.
22