summaryrefslogtreecommitdiff
path: root/deps/npm/man/man7
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/man/man7')
-rw-r--r--deps/npm/man/man7/npm-coding-style.72
-rw-r--r--deps/npm/man/man7/npm-config.730
-rw-r--r--deps/npm/man/man7/npm-developers.72
-rw-r--r--deps/npm/man/man7/npm-disputes.72
-rw-r--r--deps/npm/man/man7/npm-faq.74
-rw-r--r--deps/npm/man/man7/npm-index.72
-rw-r--r--deps/npm/man/man7/npm-registry.72
-rw-r--r--deps/npm/man/man7/npm-scripts.72
-rw-r--r--deps/npm/man/man7/removing-npm.72
-rw-r--r--deps/npm/man/man7/semver.751
10 files changed, 82 insertions, 17 deletions
diff --git a/deps/npm/man/man7/npm-coding-style.7 b/deps/npm/man/man7/npm-coding-style.7
index c5d52baa2..710aa6604 100644
--- a/deps/npm/man/man7/npm-coding-style.7
+++ b/deps/npm/man/man7/npm-coding-style.7
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
-.TH "NPM\-CODING\-STYLE" "7" "February 2014" "" ""
+.TH "NPM\-CODING\-STYLE" "7" "March 2014" "" ""
.
.SH "NAME"
\fBnpm-coding-style\fR \-\- npm\'s "funny" coding style
diff --git a/deps/npm/man/man7/npm-config.7 b/deps/npm/man/man7/npm-config.7
index 3a73e6c8a..60577f4ee 100644
--- a/deps/npm/man/man7/npm-config.7
+++ b/deps/npm/man/man7/npm-config.7
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
-.TH "NPM\-CONFIG" "7" "February 2014" "" ""
+.TH "NPM\-CONFIG" "7" "March 2014" "" ""
.
.SH "NAME"
\fBnpm-config\fR \-\- More than you probably want to know about npm configuration
@@ -105,6 +105,9 @@ The following shorthands are parsed on the command\-line:
\fB\-B\fR: \fB\-\-save\-bundle\fR
.
.IP "\(bu" 4
+\fB\-E\fR: \fB\-\-save\-exact\fR
+.
+.IP "\(bu" 4
\fB\-y\fR: \fB\-\-yes\fR
.
.IP "\(bu" 4
@@ -1093,12 +1096,26 @@ Type: Boolean
Save installed packages to a package\.json file as devDependencies\.
.
.P
-When used with the \fBnpm rm\fR command, it removes it from the devDependencies
-hash\.
+When used with the \fBnpm rm\fR command, it removes it from the
+devDependencies hash\.
.
.P
Only works if there is already a package\.json file present\.
.
+.SS "save\-exact"
+.
+.IP "\(bu" 4
+Default: false
+.
+.IP "\(bu" 4
+Type: Boolean
+.
+.IP "" 0
+.
+.P
+Dependencies saved to package\.json using \fB\-\-save\fR, \fB\-\-save\-dev\fR or \fB\-\-save\-optional\fR will be configured with an exact version rather than
+using npm\'s default semver range operator\.
+.
.SS "save\-optional"
.
.IP "\(bu" 4
@@ -1110,11 +1127,12 @@ Type: Boolean
.IP "" 0
.
.P
-Save installed packages to a package\.json file as optionalDependencies\.
+Save installed packages to a package\.json file as
+optionalDependencies\.
.
.P
-When used with the \fBnpm rm\fR command, it removes it from the devDependencies
-hash\.
+When used with the \fBnpm rm\fR command, it removes it from the
+devDependencies hash\.
.
.P
Only works if there is already a package\.json file present\.
diff --git a/deps/npm/man/man7/npm-developers.7 b/deps/npm/man/man7/npm-developers.7
index 04c6dbeca..b50705ba1 100644
--- a/deps/npm/man/man7/npm-developers.7
+++ b/deps/npm/man/man7/npm-developers.7
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
-.TH "NPM\-DEVELOPERS" "7" "February 2014" "" ""
+.TH "NPM\-DEVELOPERS" "7" "March 2014" "" ""
.
.SH "NAME"
\fBnpm-developers\fR \-\- Developer Guide
diff --git a/deps/npm/man/man7/npm-disputes.7 b/deps/npm/man/man7/npm-disputes.7
index 51ec7797b..3afd7e571 100644
--- a/deps/npm/man/man7/npm-disputes.7
+++ b/deps/npm/man/man7/npm-disputes.7
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
-.TH "NPM\-DISPUTES" "7" "February 2014" "" ""
+.TH "NPM\-DISPUTES" "7" "March 2014" "" ""
.
.SH "NAME"
\fBnpm-disputes\fR \-\- Handling Module Name Disputes
diff --git a/deps/npm/man/man7/npm-faq.7 b/deps/npm/man/man7/npm-faq.7
index bc1ef22c3..ce7453fa0 100644
--- a/deps/npm/man/man7/npm-faq.7
+++ b/deps/npm/man/man7/npm-faq.7
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
-.TH "NPM\-FAQ" "7" "February 2014" "" ""
+.TH "NPM\-FAQ" "7" "March 2014" "" ""
.
.SH "NAME"
\fBnpm-faq\fR \-\- Frequently Asked Questions
@@ -180,7 +180,7 @@ In those cases, you can do this:
.IP "" 4
.
.nf
-curl https://npmjs\.org/install\.sh | sh
+curl https://www\.npmjs\.org/install\.sh | sh
.
.fi
.
diff --git a/deps/npm/man/man7/npm-index.7 b/deps/npm/man/man7/npm-index.7
index 4ed345daf..8e17a3d7a 100644
--- a/deps/npm/man/man7/npm-index.7
+++ b/deps/npm/man/man7/npm-index.7
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
-.TH "NPM\-INDEX" "7" "February 2014" "" ""
+.TH "NPM\-INDEX" "7" "March 2014" "" ""
.
.SH "NAME"
\fBnpm-index\fR \-\- Index of all npm documentation
diff --git a/deps/npm/man/man7/npm-registry.7 b/deps/npm/man/man7/npm-registry.7
index ebdf6fc30..5a62ae6fc 100644
--- a/deps/npm/man/man7/npm-registry.7
+++ b/deps/npm/man/man7/npm-registry.7
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
-.TH "NPM\-REGISTRY" "7" "February 2014" "" ""
+.TH "NPM\-REGISTRY" "7" "March 2014" "" ""
.
.SH "NAME"
\fBnpm-registry\fR \-\- The JavaScript Package Registry
diff --git a/deps/npm/man/man7/npm-scripts.7 b/deps/npm/man/man7/npm-scripts.7
index 1a419fa66..bc16a8d6e 100644
--- a/deps/npm/man/man7/npm-scripts.7
+++ b/deps/npm/man/man7/npm-scripts.7
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
-.TH "NPM\-SCRIPTS" "7" "February 2014" "" ""
+.TH "NPM\-SCRIPTS" "7" "March 2014" "" ""
.
.SH "NAME"
\fBnpm-scripts\fR \-\- How npm handles the "scripts" field
diff --git a/deps/npm/man/man7/removing-npm.7 b/deps/npm/man/man7/removing-npm.7
index 830aafe8c..d3fd8696d 100644
--- a/deps/npm/man/man7/removing-npm.7
+++ b/deps/npm/man/man7/removing-npm.7
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
-.TH "NPM\-REMOVAL" "1" "February 2014" "" ""
+.TH "NPM\-REMOVAL" "1" "March 2014" "" ""
.
.SH "NAME"
\fBnpm-removal\fR \-\- Cleaning the Slate
diff --git a/deps/npm/man/man7/semver.7 b/deps/npm/man/man7/semver.7
index 8009b98ed..567e28f4d 100644
--- a/deps/npm/man/man7/semver.7
+++ b/deps/npm/man/man7/semver.7
@@ -1,7 +1,7 @@
.\" Generated with Ronnjs 0.3.8
.\" http://github.com/kapouer/ronnjs/
.
-.TH "SEMVER" "7" "February 2014" "" ""
+.TH "SEMVER" "7" "March 2014" "" ""
.
.SH "NAME"
\fBsemver\fR \-\- The semantic versioner for npm
@@ -83,15 +83,37 @@ but a prerelease of the next significant digit will NOT be
satisfactory, so \fB1\.3\.0\-beta\fR will not satisfy \fB~1\.2\.3\fR\|\.
.
.IP "\(bu" 4
+\fB^1\.2\.3\fR := \fB>=1\.2\.3\-0 <2\.0\.0\-0\fR "Compatible with 1\.2\.3"\. When
+using caret operators, anything from the specified version (including
+prerelease) will be supported up to, but not including, the next
+major version (or its prereleases)\. \fB1\.5\.1\fR will satisfy \fB^1\.2\.3\fR,
+while \fB1\.2\.2\fR and \fB2\.0\.0\-beta\fR will not\.
+.
+.IP "\(bu" 4
+\fB^0\.1\.3\fR := \fB>=0\.1\.3\-0 <0\.2\.0\-0\fR "Compatible with 0\.1\.3"\. 0\.x\.x versions are
+special: the first non\-zero component indicates potentially breaking changes,
+meaning the caret operator matches any version with the same first non\-zero
+component starting at the specified version\.
+.
+.IP "\(bu" 4
+\fB^0\.0\.2\fR := \fB=0\.0\.2\fR "Only the version 0\.0\.2 is considered compatible"
+.
+.IP "\(bu" 4
\fB~1\.2\fR := \fB>=1\.2\.0\-0 <1\.3\.0\-0\fR "Any version starting with 1\.2"
.
.IP "\(bu" 4
+\fB^1\.2\fR := \fB>=1\.2\.0\-0 <2\.0\.0\-0\fR "Any version compatible with 1\.2"
+.
+.IP "\(bu" 4
\fB1\.2\.x\fR := \fB>=1\.2\.0\-0 <1\.3\.0\-0\fR "Any version starting with 1\.2"
.
.IP "\(bu" 4
\fB~1\fR := \fB>=1\.0\.0\-0 <2\.0\.0\-0\fR "Any version starting with 1"
.
.IP "\(bu" 4
+\fB^1\fR := \fB>=1\.0\.0\-0 <2\.0\.0\-0\fR "Any version compatible with 1"
+.
+.IP "\(bu" 4
\fB1\.x\fR := \fB>=1\.0\.0\-0 <2\.0\.0\-0\fR "Any version starting with 1"
.
.IP "" 0
@@ -168,5 +190,30 @@ range\.
maxSatisfying(versions, range): Return the highest version in the list
that satisfies the range, or null if none of them do\.
.
+.IP "\(bu" 4
+gtr(version, range): Return true if version is greater than all the
+versions possible in the range\.
+.
+.IP "\(bu" 4
+ltr(version, range): Return true if version is less than all the
+versions possible in the range\.
+.
+.IP "\(bu" 4
+outside(version, range, hilo): Return true if the version is outside
+the bounds of the range in either the high or low direction\. The \fBhilo\fR argument must be either the string \fB\'>\'\fR or \fB\'<\'\fR\|\. (This is
+the function called by \fBgtr\fR and \fBltr\fR\|\.)
+.
.IP "" 0
-
+.
+.P
+Note that, since ranges may be non\-contiguous, a version might not be
+greater than a range, less than a range, \fIor\fR satisfy a range! For
+example, the range \fB1\.2 <1\.2\.9 || >2\.0\.0\fR would have a hole from \fB1\.2\.9\fR
+until \fB2\.0\.0\fR, so the version \fB1\.2\.10\fR would not be greater than the
+range (because 2\.0\.1 satisfies, which is higher), nor less than the
+range (since 1\.2\.8 satisfies, which is lower), and it also does not
+satisfy the range\.
+.
+.P
+If you want to know if a version satisfies or does not satisfy a
+range, use the \fBsatisfies(version, range)\fR function\.