Skip to content

Commit d0b53c0

Browse files
npm-cli+bot@6github.comruyadorno
npm-cli+bot@github.com
authored andcommittedMay 27, 2022
deps: upgrade npm to 8.10.0
PR-URL: #43061 Reviewed-By: Ruy Adorno <ruyadorno@github.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
1 parent 72630d1 commit d0b53c0

File tree

102 files changed

+2072
-2146
lines changed

Some content is hidden

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

102 files changed

+2072
-2146
lines changed
 

‎deps/npm/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ If you're looking to manage multiple versions of **`node`** &/or **`npm`**, cons
3737
* [**`nodenv`**](https://github.com/nodenv/nodenv)
3838
* [**`asdf-nodejs`**](https://github.com/asdf-vm/asdf-nodejs)
3939
* [**`nvm-windows`**](https://github.com/coreybutler/nvm-windows)
40+
* [**`fnm`**](https://github.com/Schniz/fnm)
4041

4142
### Usage
4243

‎deps/npm/docs/content/commands/npm-bugs.md

+63-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ description: Report bugs for a package in a web browser
1111
<!-- see lib/commands/bugs.js -->
1212

1313
```bash
14-
npm bugs [<pkgname>]
14+
npm bugs [<pkgname> [<pkgname> ...]]
1515

1616
alias: issues
1717
```
@@ -58,6 +58,68 @@ The base URL of the npm registry.
5858
<!-- automatically generated, do not edit manually -->
5959
<!-- see lib/utils/config/definitions.js -->
6060
61+
#### `workspace`
62+
63+
* Default:
64+
* Type: String (can be set multiple times)
65+
66+
Enable running a command in the context of the configured workspaces of the
67+
current project while filtering by running only the workspaces defined by
68+
this configuration option.
69+
70+
Valid values for the `workspace` config are either:
71+
72+
* Workspace names
73+
* Path to a workspace directory
74+
* Path to a parent workspace directory (will result in selecting all
75+
workspaces within that folder)
76+
77+
When set for the `npm init` command, this may be set to the folder of a
78+
workspace which does not yet exist, to create the folder and set it up as a
79+
brand new workspace within the project.
80+
81+
This value is not exported to the environment for child processes.
82+
83+
<!-- automatically generated, do not edit manually -->
84+
<!-- see lib/utils/config/definitions.js -->
85+
86+
#### `workspaces`
87+
88+
* Default: null
89+
* Type: null or Boolean
90+
91+
Set to true to run the command in the context of **all** configured
92+
workspaces.
93+
94+
Explicitly setting this to false will cause commands like `install` to
95+
ignore workspaces altogether. When not set explicitly:
96+
97+
- Commands that operate on the `node_modules` tree (install, update, etc.)
98+
will link workspaces into the `node_modules` folder. - Commands that do
99+
other things (test, exec, publish, etc.) will operate on the root project,
100+
_unless_ one or more workspaces are specified in the `workspace` config.
101+
102+
This value is not exported to the environment for child processes.
103+
104+
<!-- automatically generated, do not edit manually -->
105+
<!-- see lib/utils/config/definitions.js -->
106+
107+
#### `include-workspace-root`
108+
109+
* Default: false
110+
* Type: Boolean
111+
112+
Include the workspace root when workspaces are enabled for a command.
113+
114+
When false, specifying individual workspaces via the `workspace` config, or
115+
all workspaces via the `workspaces` flag, will cause npm to operate only on
116+
the specified workspaces, and not on the root project.
117+
118+
This value is not exported to the environment for child processes.
119+
120+
<!-- automatically generated, do not edit manually -->
121+
<!-- see lib/utils/config/definitions.js -->
122+
61123
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
62124
63125
### See Also

0 commit comments

Comments
 (0)