Compare commits

..

6 Commits

Author SHA1 Message Date
9a0dfd11ce 1.0.26 2019-10-14 14:05:39 +02:00
de5c5a25bf fix(core): update 2019-10-14 14:05:39 +02:00
5a833bb288 1.0.25 2019-10-14 13:13:04 +02:00
aae3bfc7f2 fix(core): update 2019-10-14 13:13:04 +02:00
642914539a 1.0.24 2019-10-14 12:59:26 +02:00
faf7a774c5 fix(core): update 2019-10-14 12:59:25 +02:00
5 changed files with 13 additions and 4 deletions

4
.snyk
View File

@ -10,4 +10,8 @@ ignore:
- typedoc > shelljs:
reason: None given
expires: '2019-06-13T06:50:33.594Z'
SNYK-JS-HANDLEBARS-469063:
- typedoc > handlebars:
reason: None given
expires: '2019-11-13T11:12:56.134Z'
patch: {}

View File

@ -2,6 +2,7 @@
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"esModuleInterop": true
"esModuleInterop": true,
"experimentalDecorators": true
}
}

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tsdoc",
"version": "1.0.23",
"version": "1.0.26",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tsdoc",
"version": "1.0.23",
"version": "1.0.26",
"private": false,
"description": "a tool for better documentation",
"main": "dist/index.js",

View File

@ -22,8 +22,12 @@ export class TypeDoc {
}
public async compile() {
let tsDir: 'ts' | 'ts_web';
plugins.smartfile.fs.isDirectory(plugins.path.join(this.typedocDirectory, 'ts')) ? tsDir = 'ts' : null;
plugins.smartfile.fs.isDirectory(plugins.path.join(this.typedocDirectory, 'ts_web')) ? tsDir = 'ts_web' : null;
await this.smartshellInstance.exec(
`typedoc --tsconfig ${paths.tsconfigFile} --out public/ ts/`
`typedoc --tsconfig ${paths.tsconfigFile} --out public/ ${tsDir}`
);
}
}