Skip to content

Commit 3ceeb57

Browse files
npm-robotMylesBorins
authored andcommitted
deps: upgrade npm to 8.8.0
PR-URL: #42886 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Mohammed Keyvanzadeh <[email protected]> Reviewed-By: Mestery <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent f8b2156 commit 3ceeb57

File tree

174 files changed

+7767
-2200
lines changed

Some content is hidden

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

174 files changed

+7767
-2200
lines changed

deps/npm/bin/npx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ case `uname` in
1212
esac
1313

1414
NODE_EXE="$basedir/node.exe"
15+
if ! [ -x "$NODE_EXE" ]; then
16+
NODE_EXE="$basedir/node"
17+
fi
1518
if ! [ -x "$NODE_EXE" ]; then
1619
NODE_EXE=node
1720
fi

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,18 @@ This value is not exported to the environment for child processes.
399399
<!-- automatically generated, do not edit manually -->
400400
<!-- see lib/utils/config/definitions.js -->
401401

402+
#### `install-links`
403+
404+
* Default: false
405+
* Type: Boolean
406+
407+
When set file: protocol dependencies that exist outside of the project root
408+
will be packed and installed as regular dependencies instead of creating a
409+
symlink. This option has no effect on workspaces.
410+
411+
<!-- automatically generated, do not edit manually -->
412+
<!-- see lib/utils/config/definitions.js -->
413+
402414
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
403415

404416
### See Also

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ In short, the main differences between using `npm install` and `npm ci` are:
4848

4949
NOTE: If you create your `package-lock.json` file by running `npm install`
5050
with flags that can affect the shape of your dependency tree, such as
51-
`--legacy-peer-deps`, you _must_ provide the same flags to `npm ci` or you
52-
are likely to encounter errors. An easy way to do this is to run
51+
`--legacy-peer-deps` or `--install-links`, you _must_ provide the same
52+
flags to `npm ci` or you are likely to encounter errors. An easy way to do
53+
this is to run, for example,
5354
`npm config set legacy-peer-deps=true --location=project` and commit the
5455
`.npmrc` file to your repo.
5556

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,18 @@ This value is not exported to the environment for child processes.
310310
<!-- automatically generated, do not edit manually -->
311311
<!-- see lib/utils/config/definitions.js -->
312312
313+
#### `install-links`
314+
315+
* Default: false
316+
* Type: Boolean
317+
318+
When set file: protocol dependencies that exist outside of the project root
319+
will be packed and installed as regular dependencies instead of creating a
320+
symlink. This option has no effect on workspaces.
321+
322+
<!-- automatically generated, do not edit manually -->
323+
<!-- see lib/utils/config/definitions.js -->
324+
313325
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
314326
315327
### See Also

deps/npm/docs/content/commands/npm-find-dupes.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,18 @@ This value is not exported to the environment for child processes.
234234
<!-- automatically generated, do not edit manually -->
235235
<!-- see lib/utils/config/definitions.js -->
236236

237+
#### `install-links`
238+
239+
* Default: false
240+
* Type: Boolean
241+
242+
When set file: protocol dependencies that exist outside of the project root
243+
will be packed and installed as regular dependencies instead of creating a
244+
symlink. This option has no effect on workspaces.
245+
246+
<!-- automatically generated, do not edit manually -->
247+
<!-- see lib/utils/config/definitions.js -->
248+
237249
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
238250

239251
### See Also

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,18 @@ This value is not exported to the environment for child processes.
319319
<!-- automatically generated, do not edit manually -->
320320
<!-- see lib/utils/config/definitions.js -->
321321

322+
#### `install-links`
323+
324+
* Default: false
325+
* Type: Boolean
326+
327+
When set file: protocol dependencies that exist outside of the project root
328+
will be packed and installed as regular dependencies instead of creating a
329+
symlink. This option has no effect on workspaces.
330+
331+
<!-- automatically generated, do not edit manually -->
332+
<!-- see lib/utils/config/definitions.js -->
333+
322334
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
323335

324336
### See Also

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,12 @@ into a tarball (b).
9191
*npm will not install the package dependencies* in the directory `<folder>`,
9292
but it will create a symlink to `<folder>`.
9393

94-
> NOTE: If you want to install the content of a directory like a package from the registry instead of creating a link, you would need to use [`npm pack`](/commands/npm-pack) while in the `<folder>` directory, and then install the resulting tarball instead of the `<folder>` using `npm install <tarball file>`
94+
> NOTE: If you want to install the content of a directory like a package from the registry instead of creating a link, you would need to use the `--install-links` option.
9595
9696
Example:
9797

9898
```bash
99-
npm install ../../other-package
99+
npm install ../../other-package --install-links
100100
npm install ./sub-package
101101
```
102102

@@ -709,6 +709,18 @@ This value is not exported to the environment for child processes.
709709
<!-- automatically generated, do not edit manually -->
710710
<!-- see lib/utils/config/definitions.js -->
711711
712+
#### `install-links`
713+
714+
* Default: false
715+
* Type: Boolean
716+
717+
When set file: protocol dependencies that exist outside of the project root
718+
will be packed and installed as regular dependencies instead of creating a
719+
symlink. This option has no effect on workspaces.
720+
721+
<!-- automatically generated, do not edit manually -->
722+
<!-- see lib/utils/config/definitions.js -->
723+
712724
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
713725
714726
### Algorithm

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,18 @@ This value is not exported to the environment for child processes.
387387
<!-- automatically generated, do not edit manually -->
388388
<!-- see lib/utils/config/definitions.js -->
389389

390+
#### `install-links`
391+
392+
* Default: false
393+
* Type: Boolean
394+
395+
When set file: protocol dependencies that exist outside of the project root
396+
will be packed and installed as regular dependencies instead of creating a
397+
symlink. This option has no effect on workspaces.
398+
399+
<!-- automatically generated, do not edit manually -->
400+
<!-- see lib/utils/config/definitions.js -->
401+
390402
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
391403

392404
### See Also

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,18 @@ This value is not exported to the environment for child processes.
285285
<!-- automatically generated, do not edit manually -->
286286
<!-- see lib/utils/config/definitions.js -->
287287

288+
#### `install-links`
289+
290+
* Default: false
291+
* Type: Boolean
292+
293+
When set file: protocol dependencies that exist outside of the project root
294+
will be packed and installed as regular dependencies instead of creating a
295+
symlink. This option has no effect on workspaces.
296+
297+
<!-- automatically generated, do not edit manually -->
298+
<!-- see lib/utils/config/definitions.js -->
299+
288300
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
289301

290302
### See Also

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,18 @@ This value is not exported to the environment for child processes.
191191
<!-- automatically generated, do not edit manually -->
192192
<!-- see lib/utils/config/definitions.js -->
193193

194+
#### `install-links`
195+
196+
* Default: false
197+
* Type: Boolean
198+
199+
When set file: protocol dependencies that exist outside of the project root
200+
will be packed and installed as regular dependencies instead of creating a
201+
symlink. This option has no effect on workspaces.
202+
203+
<!-- automatically generated, do not edit manually -->
204+
<!-- see lib/utils/config/definitions.js -->
205+
194206
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
195207

196208
### See Also

0 commit comments

Comments
 (0)