CLI documentation update from CI
npm CLI robot committed
Jun 3, 2022 at 02:55 UTC
66203e6e54166b219f691707a599ddcccacf72f6
14 files changed
+18
-44
cli/v8
+1
-1
@@ -1 +1 @@
1
-Subproject commit 4ee12d0f64c3bc1b168f795deddb5145e5c86444
1
+Subproject commit b46fed75379979a6be86ac72117a90f8ad3b3a99
content/cli/v8/commands/npm-bin.md
-2
@@ -44,8 +44,6 @@ Print the folder where npm will install executables.
44
45
* Default: false
46
* Type: Boolean
47
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
48
- instead.
47
48
Operates in "global" mode, so that packages are installed into the `prefix`
49
folder instead of the current working directory. See
content/cli/v8/commands/npm-config.md
-2
@@ -134,8 +134,6 @@ Not supported by all npm commands.
134
135
* Default: false
136
* Type: Boolean
137
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
138
- instead.
137
138
Operates in "global" mode, so that packages are installed into the `prefix`
139
folder instead of the current working directory. See
content/cli/v8/commands/npm-diff.md
-2
@@ -258,8 +258,6 @@ Treat all files as text in `npm diff`.
258
259
* Default: false
260
* Type: Boolean
261
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
262
- instead.
261
262
Operates in "global" mode, so that packages are installed into the `prefix`
263
folder instead of the current working directory. See
content/cli/v8/commands/npm-install-test.md
-2
@@ -80,8 +80,6 @@ rather than using npm's default semver range operator.
80
81
* Default: false
82
* Type: Boolean
83
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
84
- instead.
83
84
Operates in "global" mode, so that packages are installed into the `prefix`
85
folder instead of the current working directory. See
content/cli/v8/commands/npm-install.md
-2
@@ -471,8 +471,6 @@ rather than using npm's default semver range operator.
471
472
* Default: false
473
* Type: Boolean
474
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
475
- instead.
474
475
Operates in "global" mode, so that packages are installed into the `prefix`
476
folder instead of the current working directory. See
content/cli/v8/commands/npm-link.md
-2
@@ -163,8 +163,6 @@ rather than using npm's default semver range operator.
163
164
* Default: false
165
* Type: Boolean
166
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
167
- instead.
166
167
Operates in "global" mode, so that packages are installed into the `prefix`
168
folder instead of the current working directory. See
content/cli/v8/commands/npm-ls.md
-2
@@ -147,8 +147,6 @@ Output parseable results from commands that write to standard output. For
147
148
* Default: false
149
* Type: Boolean
150
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
151
- instead.
150
151
Operates in "global" mode, so that packages are installed into the `prefix`
152
folder instead of the current working directory. See
content/cli/v8/commands/npm-outdated.md
-2
@@ -160,8 +160,6 @@ Output parseable results from commands that write to standard output. For
160
161
* Default: false
162
* Type: Boolean
163
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
164
- instead.
163
164
Operates in "global" mode, so that packages are installed into the `prefix`
165
folder instead of the current working directory. See
content/cli/v8/commands/npm-prefix.md
-2
@@ -61,8 +61,6 @@ npm prefix -g
61
62
* Default: false
63
* Type: Boolean
64
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
65
- instead.
64
65
Operates in "global" mode, so that packages are installed into the `prefix`
66
folder instead of the current working directory. See
content/cli/v8/commands/npm-rebuild.md
-2
@@ -52,8 +52,6 @@ will be rebuilt.
52
53
* Default: false
54
* Type: Boolean
55
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
56
- instead.
55
56
Operates in "global" mode, so that packages are installed into the `prefix`
57
folder instead of the current working directory. See
content/cli/v8/commands/npm-root.md
-2
@@ -51,8 +51,6 @@ echo "Global packages installed in: ${global_node_modules}"
51
52
* Default: false
53
* Type: Boolean
54
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
55
- instead.
54
55
Operates in "global" mode, so that packages are installed into the `prefix`
56
folder instead of the current working directory. See
content/cli/v8/commands/npm-update.md
-2
@@ -198,8 +198,6 @@ Will also prevent writing to `package-lock.json` if set to `false`.
198
199
* Default: false
200
* Type: Boolean
201
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
202
- instead.
201
202
Operates in "global" mode, so that packages are installed into the `prefix`
203
folder instead of the current working directory. See
content/cli/v8/using-npm/config.md
+17
-19
@@ -695,6 +695,23 @@ results in no commit being made at all.
695
<!-- automatically generated, do not edit manually -->
696
<!-- see lib/utils/config/definitions.js -->
697
698
+#### `global`
699
+
700
+* Default: false
701
+* Type: Boolean
702
+
703
+Operates in "global" mode, so that packages are installed into the `prefix`
704
+folder instead of the current working directory. See
705
+[folders](/cli/v8/configuring-npm/folders) for more on the differences in behavior.
706
+
707
+* packages are installed into the `{prefix}/lib/node_modules` folder, instead
708
+ of the current working directory.
709
+* bin files are linked to `{prefix}/bin`
710
+* man pages are linked to `{prefix}/share/man`
711
+
712
+<!-- automatically generated, do not edit manually -->
713
+<!-- see lib/utils/config/definitions.js -->
714
+
715
#### `global-style`
716
717
* Default: false
@@ -1943,25 +1960,6 @@ Alias for `--include=dev`.
1960
<!-- automatically generated, do not edit manually -->
1961
<!-- see lib/utils/config/definitions.js -->
1962
1946
-#### `global`
1947
-
1948
-* Default: false
1949
-* Type: Boolean
1950
-* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
1951
- instead.
1952
-
1953
-Operates in "global" mode, so that packages are installed into the `prefix`
1954
-folder instead of the current working directory. See
1955
-[folders](/cli/v8/configuring-npm/folders) for more on the differences in behavior.
1956
-
1957
-* packages are installed into the `{prefix}/lib/node_modules` folder, instead
1958
- of the current working directory.
1959
-* bin files are linked to `{prefix}/bin`
1960
-* man pages are linked to `{prefix}/share/man`
1961
-
1962
-<!-- automatically generated, do not edit manually -->
1963
-<!-- see lib/utils/config/definitions.js -->
1964
-
1963
#### `init.author.email`
1964
1965
* Default: ""