show typedoc output on error

pull/362/head^2
Cory LaViska 2021-03-04 09:08:43 -05:00
rodzic d4f5a170f5
commit 099dfc93d8
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -59,7 +59,8 @@ function splitText(text) {
console.log(chalk.cyan('Generating type data with TypeDoc'));
mkdirp.sync('./.cache');
execSync(
'typedoc --json .cache/typedoc.json --entryPoints src/shoelace.ts --exclude "**/*+(index|.spec|.e2e).ts" --excludeExternals --excludeProtected --excludeInternal'
'typedoc --json .cache/typedoc.json --entryPoints src/shoelace.ts --exclude "**/*+(index|.spec|.e2e).ts" --excludeExternals --excludeProtected --excludeInternal',
{ stdio: 'inherit' }
);
const data = JSON.parse(fs.readFileSync('.cache/typedoc.json', 'utf8'));