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:
authornlf <quitlahok@gmail.com>2020-10-06 20:05:44 +0300
committernlf <quitlahok@gmail.com>2020-10-07 17:58:34 +0300
commit4d28bb7101d5e272561bac923a15899b802c69ab (patch)
treee54e949fac84d6fb76dd3df15d9340cd4316a741 /lib/utils
parent95144929cf7bc41d0d6af92d7f3c7ded407e7c9e (diff)
remove unused group config type, add some comments
Diffstat (limited to 'lib/utils')
-rw-r--r--lib/utils/config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/utils/config.js b/lib/utils/config.js
index 59241bbae..e505810da 100644
--- a/lib/utils/config.js
+++ b/lib/utils/config.js
@@ -88,6 +88,7 @@ const defaults = {
'git-tag-version': true,
global: false,
'global-style': false,
+ // `globalconfig` has its default defined outside of this module
heading: 'npm',
'https-proxy': null,
'if-present': false,
@@ -128,6 +129,7 @@ const defaults = {
parseable: false,
'prefer-offline': false,
'prefer-online': false,
+ // `prefix` has its default defined outside of this module
preid: '',
production: process.env.NODE_ENV === 'production',
progress: !ciName,
@@ -223,7 +225,6 @@ const types = {
global: Boolean,
'global-style': Boolean,
globalconfig: path,
- group: [Number, String],
heading: String,
'https-proxy': [null, url],
'if-present': Boolean,