vue-docgen-cli
Advanced tools
Comparing version 3.22.0 to 3.22.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [3.22.1](https://github.com/vue-styleguidist/vue-styleguidist/compare/v3.22.0...v3.22.1) (2019-08-19) | ||
### Bug Fixes | ||
* if cwd is specified in cmd use to find config ([2bf97a1](https://github.com/vue-styleguidist/vue-styleguidist/commit/2bf97a1)) | ||
# [3.22.0](https://github.com/vue-styleguidist/vue-styleguidist/compare/v3.21.0...v3.22.0) (2019-08-19) | ||
@@ -8,0 +19,0 @@ |
@@ -32,6 +32,6 @@ "use strict"; | ||
}), pathArray = _a._, configFileFromCmd = _a.configFile, watch = _a.watch, cwdFromCommand = _a.cwd; | ||
var cwd = cwdFromCommand || processCwd; | ||
var configFilePath = configFileFromCmd | ||
? path.resolve(processCwd, configFileFromCmd) | ||
: path.join(processCwd, 'docgen.config.js'); | ||
var cwd = cwdFromCommand || processCwd; | ||
? path.resolve(cwd, configFileFromCmd) | ||
: path.join(cwd, 'docgen.config.js'); | ||
var componentsFromCmd = pathArray[0], outDirFromCmd = pathArray[1]; | ||
@@ -38,0 +38,0 @@ var config = __assign({ cwd: cwd, |
{ | ||
"name": "vue-docgen-cli", | ||
"version": "3.22.0", | ||
"version": "3.22.1", | ||
"scripts": { | ||
@@ -25,3 +25,3 @@ "compile": "tsc -p ./tsconfig.build.json", | ||
}, | ||
"gitHead": "3a575040584ddca9c5a3db777026f98854a675b3" | ||
"gitHead": "e5ebaaecaff9ca6c446b129c90a7b48aa4b0869d" | ||
} |
@@ -37,6 +37,6 @@ import minimist from 'minimist' | ||
) | ||
const cwd = cwdFromCommand || processCwd | ||
const configFilePath = configFileFromCmd | ||
? path.resolve(processCwd, configFileFromCmd) | ||
: path.join(processCwd, 'docgen.config.js') | ||
const cwd = cwdFromCommand || processCwd | ||
? path.resolve(cwd, configFileFromCmd) | ||
: path.join(cwd, 'docgen.config.js') | ||
const [componentsFromCmd, outDirFromCmd] = pathArray | ||
@@ -43,0 +43,0 @@ |
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
91005