Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2022-03-31 19:42:24 +0300
committerGar <wraithgar@github.com>2022-04-04 21:35:15 +0300
commit47438ff19f4b6e84a0325ed73b97999ce34bc789 (patch)
treef0cac12b04ef8c57c58498b3b4e78ad35b6558e5 /tap-snapshots/test/lib
parent2a26e5e21af788f025a5731d88f15f6dc88b4c0c (diff)
fix: do not export npm_config_include_workspace_root
Diffstat (limited to 'tap-snapshots/test/lib')
-rw-r--r--tap-snapshots/test/lib/utils/config/definitions.js.test.cjs5
-rw-r--r--tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs5
2 files changed, 6 insertions, 4 deletions
diff --git a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
index d7c430802..b18b8e7a8 100644
--- a/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
+++ b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
@@ -848,6 +848,8 @@ Include the workspace root when workspaces are enabled for a command.
When false, specifying individual workspaces via the \`workspace\` config, or
all workspaces via the \`workspaces\` flag, will cause npm to operate only on
the specified workspaces, and not on the root project.
+
+This value is not exported to the environment for child processes.
`
exports[`test/lib/utils/config/definitions.js TAP > config description for init-author-email 1`] = `
@@ -1424,8 +1426,7 @@ The base URL of the npm registry.
exports[`test/lib/utils/config/definitions.js TAP > config description for save 1`] = `
#### \`save\`
-* Default: \`true\` unless when using \`npm update\` or \`npm dedupe\` where it
- defaults to \`false\`
+* Default: \`true\` unless when using \`npm update\` where it defaults to \`false\`
* Type: Boolean
Save installed packages to a \`package.json\` file as dependencies.
diff --git a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
index 2647bc31b..564ade46e 100644
--- a/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
+++ b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
@@ -693,6 +693,8 @@ When false, specifying individual workspaces via the \`workspace\` config, or
all workspaces via the \`workspaces\` flag, will cause npm to operate only on
the specified workspaces, and not on the root project.
+This value is not exported to the environment for child processes.
+
<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->
@@ -1217,8 +1219,7 @@ The base URL of the npm registry.
#### \`save\`
-* Default: \`true\` unless when using \`npm update\` or \`npm dedupe\` where it
- defaults to \`false\`
+* Default: \`true\` unless when using \`npm update\` where it defaults to \`false\`
* Type: Boolean
Save installed packages to a \`package.json\` file as dependencies.