diff options
author | isaacs <i@izs.me> | 2021-04-01 20:06:33 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2021-04-01 20:46:09 +0300 |
commit | 7b177e43f3bfb558bcd8723cdb2166a3df19647a (patch) | |
tree | 81e17be890379285723e273320f7cbe6f35cb11f /tap-snapshots | |
parent | 61da39beb5373320e2b591b61ecd6596eeaba6ed (diff) |
Add a 'envExport' flag for config definitionsisaacs/add-env-export-false-flag-for-config-defs
It defaults to true, but setting it to any falsey value will tell
`@npmcli/config` not to export it into the environment, and will also
put a remark in the documentation that it is not exported.
PR-URL: https://github.com/npm/cli/pull/3014
Credit: @isaacs
Close: #3014
Reviewed-by: @nlf
Diffstat (limited to 'tap-snapshots')
-rw-r--r-- | tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js b/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js index d424508c3..6c2659062 100644 --- a/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js +++ b/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js @@ -1212,6 +1212,8 @@ Valid values for the \`workspace\` config are either: - Workspace names - Path to a workspace directory - Path to a parent workspace directory (will result to selecting all of the nested workspaces) +This value is not exported to the environment for child processes. + #### \`workspaces\` * Default: false @@ -1220,6 +1222,8 @@ to selecting all of the nested workspaces) Enable running a command in the context of **all** the configured workspaces. +This value is not exported to the environment for child processes. + #### \`yes\` * Default: null |