@@ -11,7 +11,7 @@ description: Report bugs for a package in a web browser
11
11
<!-- see lib/commands/bugs.js -->
12
12
13
13
``` bash
14
- npm bugs [< pkgname> ]
14
+ npm bugs [< pkgname> [ < pkgname > ...] ]
15
15
16
16
alias: issues
17
17
` ` `
@@ -58,6 +58,68 @@ The base URL of the npm registry.
58
58
<!-- automatically generated, do not edit manually -->
59
59
<!-- see lib/utils/config/definitions.js -->
60
60
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
+
61
123
<!-- AUTOGENERATED CONFIG DESCRIPTIONS END -->
62
124
63
125
### See Also
0 commit comments