summaryrefslogtreecommitdiff
path: root/deps/npm/man/man1/npm-publish.1
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/man/man1/npm-publish.1')
-rw-r--r--deps/npm/man/man1/npm-publish.140
1 files changed, 20 insertions, 20 deletions
diff --git a/deps/npm/man/man1/npm-publish.1 b/deps/npm/man/man1/npm-publish.1
index a5bd2f901a..410be8799b 100644
--- a/deps/npm/man/man1/npm-publish.1
+++ b/deps/npm/man/man1/npm-publish.1
@@ -1,7 +1,8 @@
-.TH "NPM\-PUBLISH" "1" "October 2019" "" ""
+.TH "NPM\-PUBLISH" "" "November 2019" "" ""
.SH "NAME"
-\fBnpm-publish\fR \- Publish a package
-.SH SYNOPSIS
+\fBnpm-publish\fR
+.SH Publish a package
+.SS Synopsis
.P
.RS 2
.nf
@@ -11,18 +12,18 @@ Publishes '\.' if no argument supplied
Sets tag 'latest' if no \-\-tag specified
.fi
.RE
-.SH DESCRIPTION
+.SS Description
.P
Publishes a package to the registry so that it can be installed by name\. All
files in the package directory are included if no local \fB\|\.gitignore\fP or
\fB\|\.npmignore\fP file exists\. If both files exist and a file is ignored by
\fB\|\.gitignore\fP but not by \fB\|\.npmignore\fP then it will be included\. See
-npm help 7 \fBnpm\-developers\fP for full details on what's included in the published
+\fBnpm\-developers\fP \fI/docs/using\-npm/developers\fR for full details on what's included in the published
package, as well as details on how the package is built\.
.P
By default npm will publish to the public registry\. This can be overridden by
-specifying a different default registry or using a npm help 7 \fBnpm\-scope\fP in the name
-(see npm help 5 \fBpackage\.json\fP)\.
+specifying a different default registry or using a \fBnpm\-scope\fP \fInpm\-scope\fR in the name
+(see \fBpackage\.json\fP \fI/docs/configuring\-npm/package\-json)\fR\|\.
.RS 0
.IP \(bu 2
\fB<folder>\fP:
@@ -35,7 +36,7 @@ with a package\.json file inside\.
\fB[\-\-tag <tag>]\fP
Registers the published package with the given tag, such that \fBnpm install
<name>@<tag>\fP will install this version\. By default, \fBnpm publish\fP updates
-and \fBnpm install\fP installs the \fBlatest\fP tag\. See npm help \fBnpm\-dist\-tag\fP for
+and \fBnpm install\fP installs the \fBlatest\fP tag\. See \fBnpm\-dist\-tag\fP \fInpm\-dist\-tag\fR for
details about tags\.
.IP \(bu 2
\fB[\-\-access <public|restricted>]\fP
@@ -60,32 +61,31 @@ the specified registry\.
.P
Once a package is published with a given name and version, that
specific name and version combination can never be used again, even if
-it is removed with npm help unpublish\.
+it is removed with \fBnpm\-unpublish\fP \fInpm\-unpublish\fR\|\.
.P
As of \fBnpm@5\fP, both a sha1sum and an integrity field with a sha512sum of the
tarball will be submitted to the registry during publication\. Subsequent
installs will use the strongest supported algorithm to verify downloads\.
.P
-Similar to \fB\-\-dry\-run\fP see npm help \fBnpm\-pack\fP, which figures out the files to be
+Similar to \fB\-\-dry\-run\fP see \fBnpm\-pack\fP \fInpm\-pack\fR, which figures out the files to be
included and packs them into a tarball to be uploaded to the registry\.
-.SH SEE ALSO
+.SS See Also
.RS 0
.IP \(bu 2
-npm help 7 registry
+npm help registry
.IP \(bu 2
-npm help 7 scope
+npm help scope
.IP \(bu 2
-npm help adduser
+npm help npm\-adduser
.IP \(bu 2
-npm help owner
+npm help npm\-owner
.IP \(bu 2
-npm help deprecate
+npm help npm\-deprecate
.IP \(bu 2
-npm help dist\-tag
+npm help npm\-dist\-tag
.IP \(bu 2
-npm help pack
+npm help npm\-pack
.IP \(bu 2
-npm help profile
+npm help npm\-profile
.RE
-