Compare commits

...

4 Commits

Author SHA1 Message Date
3a6cdf5fb5 1.1.12 2022-09-16 08:22:57 +02:00
2460c89151 fix(core): update 2022-09-16 08:22:57 +02:00
3dae706a67 1.1.11 2022-09-16 08:17:29 +02:00
c150052380 fix(core): update 2022-09-16 08:17:28 +02:00
5 changed files with 4521 additions and 2251 deletions

6739
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tsdoc",
"version": "1.1.10",
"version": "1.1.12",
"private": false,
"description": "a tool for better documentation",
"main": "dist_ts/index.js",
@ -16,21 +16,21 @@
"build": "(tsbuild --web --allowimplicitany)"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.63",
"@gitzone/tstest": "^1.0.71",
"@pushrocks/tapbundle": "^5.0.3",
"@types/node": "^17.0.40"
"@gitzone/tsbuild": "^2.1.65",
"@gitzone/tstest": "^1.0.73",
"@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^18.7.18"
},
"dependencies": {
"@pushrocks/early": "^4.0.3",
"@pushrocks/smartcli": "^3.0.14",
"@pushrocks/smartfile": "^10.0.1",
"@pushrocks/smartlog": "^2.0.44",
"@pushrocks/smartcli": "^4.0.6",
"@pushrocks/smartfile": "^10.0.5",
"@pushrocks/smartlog": "^3.0.1",
"@pushrocks/smartlog-destination-local": "^8.0.8",
"@pushrocks/smartpath": "^5.0.5",
"@pushrocks/smartshell": "^2.0.30",
"typedoc": "^0.22.17",
"typescript": "^4.7.3"
"typedoc": "^0.23.14",
"typescript": "^4.8.3"
},
"files": [
"ts/**/*",

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@gitzone/tsdoc',
version: '1.1.10',
version: '1.1.12',
description: 'a tool for better documentation'
}

View File

@ -26,7 +26,8 @@ export class TypeDoc {
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "nodenext",
"skipLibCheck": true
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
},
include: [],
};

View File

@ -7,12 +7,12 @@ import { TypeDoc } from './tsdoc.classes.typedoc.js';
export const run = async () => {
const tsdocCli = new plugins.smartcli.Smartcli();
tsdocCli.standardTask().subscribe(async (argvArg) => {
tsdocCli.standardCommand().subscribe(async (argvArg) => {
logger.log('warn', `Auto detecting environment!`);
switch (true) {
case await TypeDoc.isTypeDocDir(paths.cwd):
logger.log('ok', `Detected TypeDoc compliant directory at ${paths.cwd}`);
tsdocCli.trigger('typedoc');
tsdocCli.triggerCommand('typedoc', argvArg);
break;
default:
logger.log('error', `Cannot determine docs format at ${paths.cwd}`);
@ -27,7 +27,7 @@ export const run = async () => {
});
tsdocCli.addCommand('test').subscribe((argvArg) => {
tsdocCli.trigger('typedoc');
tsdocCli.triggerCommand('typedoc', argvArg);
process.on('exit', async () => {
await plugins.smartfile.fs.remove(paths.publicDir);
});