]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man1/npm-tag.1
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man1 / npm-tag.1
1 .TH "NPM\-TAG" "1" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-tag\fR \- Tag a published version
4 .SH SYNOPSIS
5 .P
6 .RS 2
7 .nf
8 npm tag <name>@<version> [<tag>]
9 .fi
10 .RE
11 .SH DESCRIPTION
12 .P
13 THIS COMMAND IS DEPRECATED\. See npm help dist\-tag for details\.
14 .P
15 Tags the specified version of the package with the specified tag, or the
16 \fB\-\-tag\fP config if not specified\.
17 .P
18 A tag can be used when installing packages as a reference to a version instead
19 of using a specific version number:
20 .P
21 .RS 2
22 .nf
23 npm install <name>@<tag>
24 .fi
25 .RE
26 .P
27 When installing dependencies, a preferred tagged version may be specified:
28 .P
29 .RS 2
30 .nf
31 npm install \-\-tag <tag>
32 .fi
33 .RE
34 .P
35 This also applies to \fBnpm dedupe\fP\|\.
36 .P
37 Publishing a package always sets the "latest" tag to the published version\.
38 .SH PURPOSE
39 .P
40 Tags can be used to provide an alias instead of version numbers\.  For
41 example, \fBnpm\fP currently uses the tag "next" to identify the upcoming
42 version, and the tag "latest" to identify the current version\.
43 .P
44 A project might choose to have multiple streams of development, e\.g\.,
45 "stable", "canary"\.
46 .SH CAVEATS
47 .P
48 Tags must share a namespace with version numbers, because they are
49 specified in the same slot: \fBnpm install <pkg>@<version>\fP vs \fBnpm
50 install <pkg>@<tag>\fP\|\.
51 .P
52 Tags that can be interpreted as valid semver ranges will be
53 rejected\. For example, \fBv1\.4\fP cannot be used as a tag, because it is
54 interpreted by semver as \fB>=1\.4\.0 <1\.5\.0\fP\|\.  See
55 https://github\.com/npm/npm/issues/6082\|\.
56 .P
57 The simplest way to avoid semver problems with tags is to use tags
58 that do not begin with a number or the letter \fBv\fP\|\.
59 .SH SEE ALSO
60 .RS 0
61 .IP \(bu 2
62 npm help publish
63 .IP \(bu 2
64 npm help install
65 .IP \(bu 2
66 npm help dedupe
67 .IP \(bu 2
68 npm help 7 registry
69 .IP \(bu 2
70 npm help config
71 .IP \(bu 2
72 npm help 7 config
73 .IP \(bu 2
74 npm help dist\-tag
75 .IP \(bu 2
76 npm help 5 npmrc
77
78 .RE
79