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
path: root/lib/utils
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 /lib/utils
parent2a26e5e21af788f025a5731d88f15f6dc88b4c0c (diff)
fix: do not export npm_config_include_workspace_root
Diffstat (limited to 'lib/utils')
-rw-r--r--lib/utils/config/definitions.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js
index efc1f72a0..316e73709 100644
--- a/lib/utils/config/definitions.js
+++ b/lib/utils/config/definitions.js
@@ -938,6 +938,7 @@ define('include-staged', {
define('include-workspace-root', {
default: false,
type: Boolean,
+ envExport: false,
description: `
Include the workspace root when workspaces are enabled for a command.
@@ -1605,8 +1606,8 @@ define('registry', {
define('save', {
default: true,
- defaultDescription: `\`true\` unless when using \`npm update\` or
- \`npm dedupe\` where it defaults to \`false\``,
+ defaultDescription: `\`true\` unless when using \`npm update\` where it
+ defaults to \`false\``,
usage: '-S|--save|--no-save|--save-prod|--save-dev|--save-optional|--save-peer|--save-bundle',
type: Boolean,
short: 'S',