vue-docgen-cli
Advanced tools
Comparing version 4.26.2 to 4.26.3
@@ -6,2 +6,10 @@ # Change Log | ||
## [4.26.3](https://github.com/vue-styleguidist/vue-styleguidist/compare/v4.26.2...v4.26.3) (2020-07-16) | ||
**Note:** Version bump only for package vue-docgen-cli | ||
## [4.26.2](https://github.com/vue-styleguidist/vue-styleguidist/compare/v4.26.1...v4.26.2) (2020-07-14) | ||
@@ -8,0 +16,0 @@ |
@@ -69,3 +69,3 @@ "use strict"; | ||
conf = _a.sent(); | ||
prettyMd = function (cont) { return prettier_1.default.format(cont, Object.assign(conf, { parser: 'markdown' })); }; | ||
prettyMd = function (cont) { return prettier_1.default.format(cont, Object.assign(conf || {}, { parser: 'markdown' })); }; | ||
destFolder = path.dirname(destFilePath); | ||
@@ -72,0 +72,0 @@ return [4 /*yield*/, mkdirp(destFolder)]; |
{ | ||
"name": "vue-docgen-cli", | ||
"version": "4.26.2", | ||
"version": "4.26.3", | ||
"scripts": { | ||
@@ -25,3 +25,3 @@ "compile": "tsc -p ./tsconfig.build.json", | ||
}, | ||
"gitHead": "aef52784d18458bd0f1abecd5768df4a1b676662" | ||
"gitHead": "eaa2844fd0e4345a470bde24da4388f604b7fa46" | ||
} |
@@ -42,3 +42,3 @@ import * as path from 'path' | ||
mockPrettierFormat = jest.fn(() => PRETTY_MD) | ||
mockResolveConfig = jest.fn(() => ({})) | ||
mockResolveConfig = jest.fn(() => null) | ||
return { | ||
@@ -45,0 +45,0 @@ format: mockPrettierFormat, |
@@ -17,3 +17,3 @@ import * as path from 'path' | ||
const conf = await prettier.resolveConfig(destFilePath) | ||
const prettyMd = (cont: string) => prettier.format(cont, Object.assign(conf, { parser: 'markdown' })) | ||
const prettyMd = (cont: string) => prettier.format(cont, Object.assign(conf || {}, { parser: 'markdown' })) | ||
const destFolder = path.dirname(destFilePath) | ||
@@ -20,0 +20,0 @@ await mkdirp(destFolder) |
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
138986