Compare commits

...

4 Commits

Author SHA1 Message Date
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
4 changed files with 11 additions and 3 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: {}

2
package-lock.json generated
View File

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

View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tsdoc",
"version": "1.0.23",
"version": "1.0.25",
"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}`
);
}
}