Skip to content

Commit 447f9a0

Browse files
npm-cli+bot@mygithub.libinneed.workers.devjuanarbol
authored andcommitted
deps: upgrade npm to 8.11.0
PR-URL: #43210 Reviewed-By: Ruy Adorno <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 68572bd commit 447f9a0

File tree

120 files changed

+2044
-2237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+2044
-2237
lines changed

deps/npm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ npm <command>
5050
* [**Documentation**](https://docs.npmjs.com/) - Official docs & how-tos for all things **npm**
5151
* Note: you can also search docs locally with `npm help-search <query>`
5252
* [**Bug Tracker**](https://github.com/npm/cli/issues) - Search or submit bugs against the CLI
53-
* [**Roadmap**](https://github.com/npm/roadmap) - Track & follow along with our public roadmap
53+
* [**Roadmap**](https://github.com/orgs/github/projects/4247/views/1?filterQuery=npm) - Track & follow along with our public roadmap
5454
* [**Feedback**](https://github.com/npm/feedback) - Contribute ideas & discussion around the npm registry, website & CLI
5555
* [**RFCs**](https://github.com/npm/rfcs) - Contribute ideas & specifications for the API/design of the npm CLI
5656
* [**Service Status**](https://status.npmjs.org/) - Monitor the current status & see incident reports for the website & registry

deps/npm/docs/content/commands/npm-bin.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ Print the folder where npm will install executables.
3434

3535
* Default: false
3636
* Type: Boolean
37+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
38+
instead.
3739

3840
Operates in "global" mode, so that packages are installed into the `prefix`
3941
folder instead of the current working directory. See

deps/npm/docs/content/commands/npm-ci.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: npm-ci
33
section: 1
4-
description: Install a project with a clean slate
4+
description: Clean install a project
55
---
66

77
### Synopsis
@@ -28,12 +28,7 @@ it's meant to be used in automated environments such as test platforms,
2828
continuous integration, and deployment -- or any situation where you want
2929
to make sure you're doing a clean install of your dependencies.
3030

31-
`npm ci` will be significantly faster when:
32-
33-
- There is a `package-lock.json` or `npm-shrinkwrap.json` file.
34-
- The `node_modules` folder is missing or empty.
35-
36-
In short, the main differences between using `npm install` and `npm ci` are:
31+
The main differences between using `npm install` and `npm ci` are:
3732

3833
* The project **must** have an existing `package-lock.json` or
3934
`npm-shrinkwrap.json`.

deps/npm/docs/content/commands/npm-config.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ Not supported by all npm commands.
124124
125125
* Default: false
126126
* Type: Boolean
127+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
128+
instead.
127129
128130
Operates in "global" mode, so that packages are installed into the `prefix`
129131
folder instead of the current working directory. See
@@ -156,6 +158,15 @@ The command to run for `npm edit` and `npm config edit`.
156158
157159
When passed to `npm config` this refers to which config file to use.
158160
161+
When set to "global" mode, packages are installed into the `prefix` folder
162+
instead of the current working directory. See
163+
[folders](/configuring-npm/folders) for more on the differences in behavior.
164+
165+
* packages are installed into the `{prefix}/lib/node_modules` folder, instead
166+
of the current working directory.
167+
* bin files are linked to `{prefix}/bin`
168+
* man pages are linked to `{prefix}/share/man`
169+
159170
<!-- automatically generated, do not edit manually -->
160171
<!-- see lib/utils/config/definitions.js -->
161172

deps/npm/docs/content/commands/npm-diff.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ Treat all files as text in `npm diff`.
248248
249249
* Default: false
250250
* Type: Boolean
251+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
252+
instead.
251253
252254
Operates in "global" mode, so that packages are installed into the `prefix`
253255
folder instead of the current working directory. See

deps/npm/docs/content/commands/npm-install-test.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ rather than using npm's default semver range operator.
7070

7171
* Default: false
7272
* Type: Boolean
73+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
74+
instead.
7375

7476
Operates in "global" mode, so that packages are installed into the `prefix`
7577
folder instead of the current working directory. See

deps/npm/docs/content/commands/npm-install.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,8 @@ rather than using npm's default semver range operator.
460460
461461
* Default: false
462462
* Type: Boolean
463+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
464+
instead.
463465
464466
Operates in "global" mode, so that packages are installed into the `prefix`
465467
folder instead of the current working directory. See

deps/npm/docs/content/commands/npm-link.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ rather than using npm's default semver range operator.
153153

154154
* Default: false
155155
* Type: Boolean
156+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
157+
instead.
156158

157159
Operates in "global" mode, so that packages are installed into the `prefix`
158160
folder instead of the current working directory. See

deps/npm/docs/content/commands/npm-ls.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ Output parseable results from commands that write to standard output. For
137137

138138
* Default: false
139139
* Type: Boolean
140+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
141+
instead.
140142

141143
Operates in "global" mode, so that packages are installed into the `prefix`
142144
folder instead of the current working directory. See

deps/npm/docs/content/commands/npm-outdated.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ Output parseable results from commands that write to standard output. For
150150

151151
* Default: false
152152
* Type: Boolean
153+
* DEPRECATED: `--global`, `--local` are deprecated. Use `--location=global`
154+
instead.
153155

154156
Operates in "global" mode, so that packages are installed into the `prefix`
155157
folder instead of the current working directory. See

0 commit comments

Comments
 (0)