Skip to content

Commit 2fd1ec9

Browse files
committed
CLI documentation update from CI
1 parent 184e4cd commit 2fd1ec9

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

cli-cache.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"v8": "aa8fff11cdab94fff1a2160ee5241f5f4632e96b",
33
"v9": "64763a341e7aa5b456e696f956759bf9b3440dc1",
44
"v10": "f69c403700acb05dbb56d8516bca5130627e597c",
5-
"v11": "dd4cee9026c8e2dd5e4c28fd45ac8bceae74fb89"
5+
"v11": "619d43e54ef7408d4ee6b38a776262b5132829b6"
66
}

content/cli/v11/commands/npm-ls.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Note: to get a "bottoms up" view of why a given package is included in the tree
5252
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:
5353

5454
```bash
55-
npm@11.5.2 /path/to/npm
55+
npm@11.6.0 /path/to/npm
5656
5757
5858
```

content/cli/v11/commands/npm.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Note: This command is unaware of workspaces.
3131

3232
### Version
3333

34-
11.5.2
34+
11.6.0
3535

3636
### Description
3737

content/cli/v11/configuring-npm/npmrc.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ The four relevant files are:
3434
- global config file (`$PREFIX/etc/npmrc`)
3535
- npm builtin config file (`/path/to/npm/npmrc`)
3636

37-
All npm config files are an ini-formatted list of `key = value` parameters. Environment variables can be replaced using `${VARIABLE_NAME}`. For example:
37+
All npm config files are an ini-formatted list of `key = value` parameters. Environment variables can be replaced using `${VARIABLE_NAME}`. By default if the variable is not defined, it is left unreplaced. By adding `?` after variable name they can be forced to evaluate to an empty string instead. For example:
3838

3939
```bash
4040
cache = ${HOME}/.npm-packages
41+
node-options = "${NODE_OPTIONS?} --use-system-ca"
4142
```
4243

4344
Each of these files is loaded, and config options are resolved in priority order. For example, a setting in the userconfig file would override the setting in the globalconfig file.

content/nav.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@
15961596
- title: Changelog
15971597
url: /cli/v10/using-npm/changelog
15981598
description: Changelog notes for each version
1599-
- title: Version 11.5.2
1599+
- title: Version 11.6.0
16001600
shortName: v11
16011601
url: /cli/v11
16021602
default: true

0 commit comments

Comments
 (0)