diff options
Diffstat (limited to 'deps/npm/lib/config/defaults.js')
-rw-r--r-- | deps/npm/lib/config/defaults.js | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/deps/npm/lib/config/defaults.js b/deps/npm/lib/config/defaults.js index a79c8a0fa0..96499d1718 100644 --- a/deps/npm/lib/config/defaults.js +++ b/deps/npm/lib/config/defaults.js @@ -108,6 +108,7 @@ Object.defineProperty(exports, 'defaults', {get: function () { access: null, 'always-auth': false, also: null, + 'auth-type': 'legacy', 'bin-links': true, browser: null, @@ -148,6 +149,7 @@ Object.defineProperty(exports, 'defaults', {get: function () { 'global-style': false, group: process.platform === 'win32' ? 0 : process.env.SUDO_GID || (process.getgid && process.getgid()), + 'ham-it-up': false, heading: 'npm', 'if-present': false, 'ignore-scripts': false, @@ -168,7 +170,7 @@ Object.defineProperty(exports, 'defaults', {get: function () { long: false, maxsockets: 50, message: '%s', - 'metrics-registry': 'https://registry.npmjs.org/', + 'metrics-registry': null, 'node-version': process.version, 'onload-script': false, only: null, @@ -203,6 +205,8 @@ Object.defineProperty(exports, 'defaults', {get: function () { shell: osenv.shell(), shrinkwrap: true, 'sign-git-tag': false, + 'sso-poll-frequency': 500, + 'sso-type': 'oauth', 'strict-ssl': true, tag: 'latest', 'tag-version-prefix': 'v', @@ -231,6 +235,7 @@ exports.types = { access: [null, 'restricted', 'public'], 'always-auth': Boolean, also: [null, 'dev', 'development'], + 'auth-type': ['legacy', 'sso', 'saml', 'oauth'], 'bin-links': Boolean, browser: [null, String], ca: [null, String, Array], @@ -262,6 +267,7 @@ exports.types = { group: [Number, String], 'https-proxy': [null, url], 'user-agent': String, + 'ham-it-up': Boolean, 'heading': String, 'if-present': Boolean, 'ignore-scripts': Boolean, @@ -284,7 +290,7 @@ exports.types = { long: Boolean, maxsockets: Number, message: String, - 'metrics-registry': String, + 'metrics-registry': [null, String], 'node-version': [null, semver], 'onload-script': [null, String], only: [null, 'dev', 'development', 'prod', 'production'], @@ -314,6 +320,8 @@ exports.types = { shell: String, shrinkwrap: Boolean, 'sign-git-tag': Boolean, + 'sso-poll-frequency': Number, + 'sso-type': [null, 'oauth', 'saml'], 'strict-ssl': Boolean, tag: String, tmp: path, |