diff options
author | npm team <ops+robot@npmjs.com> | 2021-10-14 22:17:47 +0000 |
---|---|---|
committer | Richard Lau <rlau@redhat.com> | 2021-10-18 12:36:38 -0400 |
commit | a35b7e042772e1e511b228503518eb6a5fa2d08a (patch) | |
tree | 2f1f2731b6da3a205fecebe9d24525f6f7765c9f /deps/npm/man/man1/npm-publish.1 | |
parent | 1d2f37d970e839ab2acafd871fe369babdb1a334 (diff) | |
download | node-new-a35b7e042772e1e511b228503518eb6a5fa2d08a.tar.gz |
deps: upgrade npm to 8.1.0
PR-URL: https://github.com/nodejs/node/pull/40463
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
Diffstat (limited to 'deps/npm/man/man1/npm-publish.1')
-rw-r--r-- | deps/npm/man/man1/npm-publish.1 | 38 |
1 files changed, 33 insertions, 5 deletions
diff --git a/deps/npm/man/man1/npm-publish.1 b/deps/npm/man/man1/npm-publish.1 index e45982a25e..1ba1f74b9f 100644 --- a/deps/npm/man/man1/npm-publish.1 +++ b/deps/npm/man/man1/npm-publish.1 @@ -206,8 +206,8 @@ Workspace names .IP \(bu 2 Path to a workspace directory .IP \(bu 2 -Path to a parent workspace directory (will result to selecting all of the -nested workspaces) +Path to a parent workspace directory (will result in selecting all +workspaces within that folder) .RE .P @@ -222,19 +222,47 @@ This value is not exported to the environment for child processes\. .SS \fBworkspaces\fP .RS 0 .IP \(bu 2 -Default: false +Default: null .IP \(bu 2 -Type: Boolean +Type: null or Boolean .RE .P -Enable running a command in the context of \fBall\fR the configured +Set to true to run the command in the context of \fBall\fR configured workspaces\. .P +Explicitly setting this to false will cause commands like \fBinstall\fP to +ignore workspaces altogether\. When not set explicitly: +.RS 0 +.IP \(bu 2 +Commands that operate on the \fBnode_modules\fP tree (install, update, etc\.) +will link workspaces into the \fBnode_modules\fP folder\. \- Commands that do +other things (test, exec, publish, etc\.) will operate on the root project, +\fIunless\fR one or more workspaces are specified in the \fBworkspace\fP config\. + +.RE +.P This value is not exported to the environment for child processes\. <!\-\- automatically generated, do not edit manually \-\-> <!\-\- see lib/utils/config/definitions\.js \-\-> +.SS \fBinclude\-workspace\-root\fP +.RS 0 +.IP \(bu 2 +Default: false +.IP \(bu 2 +Type: Boolean + +.RE +.P +Include the workspace root when workspaces are enabled for a command\. +.P +When false, specifying individual workspaces via the \fBworkspace\fP config, or +all workspaces via the \fBworkspaces\fP flag, will cause npm to operate only on +the specified workspaces, and not on the root project\. +<!\-\- automatically generated, do not edit manually \-\-> +<!\-\- see lib/utils/config/definitions\.js \-\-> + <!\-\- AUTOGENERATED CONFIG DESCRIPTIONS END \-\-> .SS See Also |