The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.
Please select the desired protocol below to get the URL.
This URL has Read-Only access.
main_repo / deps / npm / man / man1 / deprecate.1 @ 5aef65a9
History | View | Annotate | Download (930 Bytes)
1 |
.\" Generated with Ronnjs 0.3.8 |
---|---|
2 |
.\" http://github.com/kapouer/ronnjs/ |
3 |
. |
4 |
.TH "NPM\-DEPRECATE" "1" "February 2013" "" "" |
5 |
. |
6 |
.SH "NAME" |
7 |
\fBnpm-deprecate\fR \-\- Deprecate a version of a package |
8 |
. |
9 |
.SH "SYNOPSIS" |
10 |
. |
11 |
.nf |
12 |
npm deprecate <name>[@<version>] <message> |
13 |
. |
14 |
.fi |
15 |
. |
16 |
.SH "DESCRIPTION" |
17 |
This command will update the npm registry entry for a package, providing |
18 |
a deprecation warning to all who attempt to install it\. |
19 |
. |
20 |
.P |
21 |
It works on version ranges as well as specific versions, so you can do |
22 |
something like this: |
23 |
. |
24 |
.IP "" 4 |
25 |
. |
26 |
.nf |
27 |
npm deprecate my\-thing@"< 0\.2\.3" "critical bug fixed in v0\.2\.3" |
28 |
. |
29 |
.fi |
30 |
. |
31 |
.IP "" 0 |
32 |
. |
33 |
.P |
34 |
Note that you must be the package owner to deprecate something\. See the \fBowner\fR and \fBadduser\fR help topics\. |
35 |
. |
36 |
.P |
37 |
To un\-deprecate a package, specify an empty string (\fB""\fR) for the \fBmessage\fR argument\. |
38 |
. |
39 |
.SH "SEE ALSO" |
40 |
. |
41 |
.IP "\(bu" 4 |
42 |
npm help publish |
43 |
. |
44 |
.IP "\(bu" 4 |
45 |
npm help registry |
46 |
. |
47 |
.IP "" 0 |
48 |
|