summaryrefslogtreecommitdiff
path: root/deps/npm/doc
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2016-05-06 15:22:02 -0700
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2016-05-10 14:45:28 -0400
commit5c36cfc8438d28ee5050ee6d5c383cf9c5b895fb (patch)
tree6165b1b2ee92982a1e157ac29c924b516771780d /deps/npm/doc
parent101dd1ed789175311ab22f9a32dfc480f127bc68 (diff)
downloadnode-new-5c36cfc8438d28ee5050ee6d5c383cf9c5b895fb.tar.gz
deps: upgrade npm to 3.8.9
Contains the following three npm releases: https://github.com/npm/npm/releases/tag/v3.8.7 https://github.com/npm/npm/releases/tag/v3.8.8 https://github.com/npm/npm/releases/tag/v3.8.9 PR-URL: https://github.com/nodejs/node/pull/6664 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/doc')
-rw-r--r--deps/npm/doc/cli/npm-run-script.md4
-rw-r--r--deps/npm/doc/files/package.json.md6
-rw-r--r--deps/npm/doc/misc/npm-config.md14
3 files changed, 16 insertions, 8 deletions
diff --git a/deps/npm/doc/cli/npm-run-script.md b/deps/npm/doc/cli/npm-run-script.md
index b8da1f09f3..43fa58e5d8 100644
--- a/deps/npm/doc/cli/npm-run-script.md
+++ b/deps/npm/doc/cli/npm-run-script.md
@@ -40,6 +40,10 @@ you should write:
instead of `"scripts": {"test": "node_modules/.bin/tap test/\*.js"}` to run your tests.
+`npm run` sets the `NODE` environment variable to the `node` executable with
+which `npm` is executed, and adds the directory within which it resides to the
+`PATH`, too.
+
If you try to run a script without having a `node_modules` directory and it fails,
you will be given a warning to run `npm install`, just in case you've forgotten.
diff --git a/deps/npm/doc/files/package.json.md b/deps/npm/doc/files/package.json.md
index 9af7d36b7e..15cba2b7df 100644
--- a/deps/npm/doc/files/package.json.md
+++ b/deps/npm/doc/files/package.json.md
@@ -70,12 +70,6 @@ discover your package as it's listed in `npm search`.
The url to the project homepage.
-**NOTE**: This is *not* the same as "url". If you put a "url" field,
-then the registry will think it's a redirection to your package that has
-been published somewhere else, and spit at you.
-
-Literally. Spit. I'm so not kidding.
-
## bugs
The url to your project's issue tracker and / or the email address to which
diff --git a/deps/npm/doc/misc/npm-config.md b/deps/npm/doc/misc/npm-config.md
index 0642a3010a..ac372bd7a1 100644
--- a/deps/npm/doc/misc/npm-config.md
+++ b/deps/npm/doc/misc/npm-config.md
@@ -236,7 +236,12 @@ explicitly used, and that only GET requests use the cache.
* Default: `null`
* Type: String
-A client certificate to pass when accessing the registry.
+A client certificate to pass when accessing the registry. Values should be in
+PEM format with newlines replaced by the string "\n". For example:
+
+ cert="-----BEGIN CERTIFICATE-----\nXXXX\nXXXX\n-----END CERTIFICATE-----"
+
+It is _not_ the path to a certificate file (and there is no "certfile" option).
### color
@@ -501,7 +506,12 @@ change. Only the output from `npm ls --json` is currently valid.
* Default: `null`
* Type: String
-A client key to pass when accessing the registry.
+A client key to pass when accessing the registry. Values should be in PEM
+format with newlines replaced by the string "\n". For example:
+
+ key="-----BEGIN PRIVATE KEY-----\nXXXX\nXXXX\n-----END PRIVATE KEY-----"
+
+It is _not_ the path to a key file (and there is no "keyfile" option).
### legacy-bundling