Compare commits

...

8 Commits

Author SHA1 Message Date
066401c474 1.0.18 2019-05-28 12:11:11 +02:00
972681834f fix(core): update 2019-05-28 12:11:11 +02:00
44b81bb478 1.0.17 2019-05-28 11:32:39 +02:00
e1eb88e298 fix(core): update 2019-05-28 11:32:38 +02:00
50da9a5ce7 1.0.16 2019-05-27 16:11:11 +02:00
a2fd6998ee fix(core): update 2019-05-27 16:11:10 +02:00
d5908d4bc6 1.0.15 2019-05-27 15:50:10 +02:00
a34b77f469 fix(core): update 2019-05-27 15:50:10 +02:00
6 changed files with 48 additions and 17 deletions

7
assets/tsconfig.json Normal file
View File

@ -0,0 +1,7 @@
{
"compilerOptions": {
"target": "es2017",
"module": "commonjs",
"esModuleInterop": true
}
}

37
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tsdoc",
"version": "1.0.14",
"version": "1.0.18",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -61,9 +61,9 @@
}
},
"@gitzone/tstest": {
"version": "1.0.21",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftstest/-/tstest-1.0.21.tgz",
"integrity": "sha512-bYdU0+H2ZZZtIq5mxM6wql2E/kP33x9okNjU0SVuGi/NuyKLpM04MnGH3n0VaaC+kU2bEz80DL1AkmDMrYCK/w==",
"version": "1.0.24",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftstest/-/tstest-1.0.24.tgz",
"integrity": "sha512-HFHLxhXFhhY7nn7H7dxfjy/6WiUGCw35L5Do/ZajCAn/xAWiqnppW1aIp0LOOaWeZ7J5fH7xP88TjsGpwR+MRA==",
"dev": true,
"requires": {
"@gitzone/tsrun": "^1.2.6",
@ -71,7 +71,7 @@
"@pushrocks/smartfile": "^7.0.2",
"@pushrocks/smartlog": "^2.0.19",
"@pushrocks/smartpromise": "^3.0.2",
"@pushrocks/smartshell": "^2.0.16",
"@pushrocks/smartshell": "^2.0.22",
"@types/figures": "^3.0.1",
"figures": "^3.0.0"
}
@ -166,12 +166,13 @@
}
},
"@pushrocks/smartexit": {
"version": "1.0.10",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexit/-/smartexit-1.0.10.tgz",
"integrity": "sha512-ngPeF3T2KtgT0a3Vmm1S9J6Ksw452fPyJzQwYu2Fn/iWGzuDgykz68fiq2F++EqDHu7Djbrun54ubXVjkuU+1g==",
"version": "1.0.15",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexit/-/smartexit-1.0.15.tgz",
"integrity": "sha512-pvJBmF13spcDN+O8rSpYlKBOObyfW+omZKQr3hhSMT1VHMEYV8e/njsA19Cg4C2DfLPv+cRFFgPn27zJpleRsQ==",
"requires": {
"@pushrocks/lik": "^3.0.5",
"@pushrocks/smartdelay": "^2.0.3"
"@pushrocks/smartdelay": "^2.0.3",
"@pushrocks/smartlog-source-ora": "^1.0.7"
}
},
"@pushrocks/smartfile": {
@ -221,6 +222,15 @@
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartlog-interfaces/-/smartlog-interfaces-2.0.5.tgz",
"integrity": "sha512-eLNlRpDwy3E+6v/B6fo/NiAo+UxBO3SxKgIIsgUGbWfVpsyUi0PG2xfVCdhJlhL1AsRRvKglfHSOB8qKE+XCLw=="
},
"@pushrocks/smartlog-source-ora": {
"version": "1.0.7",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartlog-source-ora/-/smartlog-source-ora-1.0.7.tgz",
"integrity": "sha512-lgpZ2rBLt9UGIdMb43cB9rxwtbu4RaNmdQnAYfNGxizGPuNtXw3WAzdHyS5tEJFZAbvMOiwNguQ6Bk1i2gaedw==",
"requires": {
"@pushrocks/smartlog-interfaces": "^2.0.5",
"ora": "^3.4.0"
}
},
"@pushrocks/smartparam": {
"version": "1.0.4",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartparam/-/smartparam-1.0.4.tgz",
@ -277,11 +287,12 @@
}
},
"@pushrocks/smartshell": {
"version": "2.0.17",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartshell/-/smartshell-2.0.17.tgz",
"integrity": "sha512-hPQD0Hk9x0FdhggrtBpDH+mb018oVveNOILaCSiVdOuBXb4UnS2WeNixHiGWWRwppH3anpUJ5iW+3Lo/VFUzOQ==",
"version": "2.0.22",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartshell/-/smartshell-2.0.22.tgz",
"integrity": "sha512-ChlRBOAhvSmxA6xfNoc1BHISV78IjvKwBP3w70r80rpQ09Bw/9ajlmGLmCDqe9aDqlaHe9HNTEPp68gNg69NBA==",
"requires": {
"@pushrocks/smartexit": "^1.0.10",
"@pushrocks/smartdelay": "^2.0.3",
"@pushrocks/smartexit": "^1.0.15",
"@pushrocks/smartpromise": "^3.0.2",
"@types/which": "^1.3.1",
"which": "^1.3.1"

View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tsdoc",
"version": "1.0.14",
"version": "1.0.18",
"private": false,
"description": "a tool for better documentation",
"main": "dist/index.js",
@ -18,7 +18,7 @@
},
"devDependencies": {
"@gitzone/tsbuild": "^2.0.22",
"@gitzone/tstest": "^1.0.21",
"@gitzone/tstest": "^1.0.24",
"@pushrocks/tapbundle": "^3.0.7",
"@types/node": "^12.0.2",
"tslint": "^5.11.0",
@ -30,7 +30,7 @@
"@pushrocks/smartfile": "^7.0.2",
"@pushrocks/smartlog": "^2.0.19",
"@pushrocks/smartlog-destination-local": "^7.0.5",
"@pushrocks/smartshell": "^2.0.17",
"@pushrocks/smartshell": "^2.0.22",
"typedoc": "^0.14.2",
"typescript": "^3.4.5"
}

View File

@ -23,7 +23,7 @@ export class TypeDoc {
public async compile() {
await this.smartshellInstance.exec(
`typedoc --module "commonjs" --target "ES2016" --out public/ ts/`
`typedoc --tsconfig ${paths.tsconfigFile} --out public/ ts/`
);
}
}

View File

@ -32,5 +32,12 @@ export const run = async () => {
}
});
tsdocCli.addCommand('test').subscribe(argvArg => {
tsdocCli.trigger('typedoc');
process.on('exit', async () => {
await plugins.smartfile.fs.remove(paths.publicDir);
});
});
tsdocCli.startParse();
};

View File

@ -1,5 +1,11 @@
import * as plugins from './tsdoc.plugins';
// dirs
export const packageDir = plugins.path.join(__dirname, '../');
export const cwd = process.cwd();
export const binDir = plugins.path.join(packageDir, './node_modules/.bin');
export const assetsDir = plugins.path.join(packageDir, './assets');
export const publicDir = plugins.path.join(packageDir, './public');
// files
export const tsconfigFile = plugins.path.join(assetsDir, './tsconfig.json');