@zkochan/npm-conf
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -8,3 +8,3 @@ 'use strict'; | ||
module.exports = (opts, types, defaults) => { | ||
const conf = new Conf(Object.assign({}, defaults || _defaults.defaults), types); | ||
const conf = new Conf(Object.assign({}, _defaults.defaults, defaults), types); | ||
@@ -26,3 +26,3 @@ conf.add(Object.assign({}, opts), 'cli'); | ||
if (conf.get('workspace-prefix')) { | ||
if (conf.get('workspace-prefix')) { | ||
const workspaceConf = path.resolve(conf.get('workspace-prefix'), '.npmrc'); | ||
@@ -29,0 +29,0 @@ conf.addFile(workspaceConf, 'workspace'); |
{ | ||
"name": "@zkochan/npm-conf", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Get the npm config", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21472