You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/cli/v11/commands/npm-ls.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ Note: to get a "bottoms up" view of why a given package is included in the tree
52
52
Positional arguments are `name@version-range` identifiers, which will limit the results to only the paths to the packages named. Note that nested packages will _also_ show the paths to the specified packages. For example, running `npm ls promzard` in npm's source tree will show:
Copy file name to clipboardExpand all lines: content/cli/v11/configuring-npm/npmrc.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,7 @@ This is an unchangeable "builtin" configuration file that npm keeps consistent a
86
86
87
87
### Auth related configuration
88
88
89
-
The settings `_auth`, `_authToken`, `username`and `_password` must all be scoped to a specific registry. This ensures that `npm` will never send credentials to the wrong host.
89
+
The settings `_auth`, `_authToken`, `username`, `_password`, `certfile`, and `keyfile` must all be scoped to a specific registry. This ensures that `npm` will never send credentials to the wrong host.
90
90
91
91
The full list is:
92
92
@@ -96,6 +96,7 @@ The full list is:
96
96
-`_password`
97
97
-`email`
98
98
-`cafile` (path to certificate authority file)
99
+
-`certfile` (path to certificate file)
99
100
-`keyfile` (path to key file)
100
101
101
102
In order to scope these values, they must be prefixed by a URI fragment. If the credential is meant for any request to a registry on a single host, the scope may look like `//registry.npmjs.org/:`. If it must be scoped to a specific path on the host that path may also be provided, such as `//my-custom-registry.org/unique/path:`.
-[`48285e0`](https://github.com/npm/cli/commit/48285e04fd0a89b34d0c214295d5e76f68413f91)[#8576](https://github.com/npm/cli/pull/8576) add fdir, isexe, and picomatch to node_modules
-[`7eb5c09`](https://github.com/npm/cli/commit/7eb5c09eb4c9d20095fd285a32275743f10cf80b)[#8576](https://github.com/npm/cli/pull/8576) update package-lock with peer flag fixes (@wraithgar)
-[`3b43bf7`](https://github.com/npm/cli/commit/3b43bf79d36a04ee65f562528c7ac54ebafaf79b)[#8576](https://github.com/npm/cli/pull/8576) dev dependency updates (@wraithgar)
-[`eed8a10`](https://github.com/npm/cli/commit/eed8a10f09831cc01bdc7d07c4fae5c27dcf966c)[#8576](https://github.com/npm/cli/pull/8576) use latest/local arborist in mock-registry (@wraithgar)
Copy file name to clipboardExpand all lines: content/cli/v11/using-npm/config.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1355,15 +1355,15 @@ When set to `dev` or `development`, this is an alias for `--include=dev`.
1355
1355
1356
1356
- Default: null
1357
1357
- Type: null or String
1358
-
- DEPRECATED: `key` and `cert` are no longer used for most registry operations. Use registry scoped `keyfile` and `cafile` instead. Example: //other-registry.tld/:keyfile=/path/to/key.pem //other-registry.tld/:cafile=/path/to/cert.crt
1358
+
- DEPRECATED: `key` and `cert` are no longer used for most registry operations. Use registry scoped `keyfile` and `certfile` instead. Example: //other-registry.tld/:keyfile=/path/to/key.pem //other-registry.tld/:certfile=/path/to/cert.crt
1359
1359
1360
1360
A client certificate to pass when accessing the registry. Values should be in PEM format (Windows calls it "Base-64 encoded X.509 (.CER)") with newlines replaced by the string "\n". For example:
It is _not_ the path to a certificate file, though you can set a registry-scoped "cafile" path like "//other-registry.tld/:cafile=/path/to/cert.pem".
1366
+
It is _not_ the path to a certificate file, though you can set a registry-scoped "certfile" path like "//other-registry.tld/:certfile=/path/to/cert.pem".
1367
1367
1368
1368
#### `dev`
1369
1369
@@ -1433,7 +1433,7 @@ Alias for `--init-version`
1433
1433
1434
1434
- Default: null
1435
1435
- Type: null or String
1436
-
- DEPRECATED: `key` and `cert` are no longer used for most registry operations. Use registry scoped `keyfile` and `cafile` instead. Example: //other-registry.tld/:keyfile=/path/to/key.pem //other-registry.tld/:cafile=/path/to/cert.crt
1436
+
- DEPRECATED: `key` and `cert` are no longer used for most registry operations. Use registry scoped `keyfile` and `certfile` instead. Example: //other-registry.tld/:keyfile=/path/to/key.pem //other-registry.tld/:certfile=/path/to/cert.crt
1437
1437
1438
1438
A client key to pass when accessing the registry. Values should be in PEM format with newlines replaced by the string "\n". For example:
0 commit comments