Compare commits

..

6 Commits

Author SHA1 Message Date
529297bd09 1.1.13 2022-09-16 08:24:42 +02:00
4c16cb9c3e fix(core): update 2022-09-16 08:24:41 +02:00
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", "name": "@gitzone/tsdoc",
"version": "1.1.10", "version": "1.1.13",
"private": false, "private": false,
"description": "a tool for better documentation", "description": "a tool for better documentation",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@ -16,21 +16,21 @@
"build": "(tsbuild --web --allowimplicitany)" "build": "(tsbuild --web --allowimplicitany)"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.63", "@gitzone/tsbuild": "^2.1.65",
"@gitzone/tstest": "^1.0.71", "@gitzone/tstest": "^1.0.73",
"@pushrocks/tapbundle": "^5.0.3", "@pushrocks/tapbundle": "^5.0.4",
"@types/node": "^17.0.40" "@types/node": "^18.7.18"
}, },
"dependencies": { "dependencies": {
"@pushrocks/early": "^4.0.3", "@pushrocks/early": "^4.0.3",
"@pushrocks/smartcli": "^3.0.14", "@pushrocks/smartcli": "^4.0.6",
"@pushrocks/smartfile": "^10.0.1", "@pushrocks/smartfile": "^10.0.5",
"@pushrocks/smartlog": "^2.0.44", "@pushrocks/smartlog": "^3.0.1",
"@pushrocks/smartlog-destination-local": "^8.0.8", "@pushrocks/smartlog-destination-local": "^8.0.8",
"@pushrocks/smartpath": "^5.0.5", "@pushrocks/smartpath": "^5.0.5",
"@pushrocks/smartshell": "^2.0.30", "@pushrocks/smartshell": "^2.0.30",
"typedoc": "^0.22.17", "typedoc": "^0.23.14",
"typescript": "^4.7.3" "typescript": "^4.8.3"
}, },
"files": [ "files": [
"ts/**/*", "ts/**/*",

View File

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

View File

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

View File

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