Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
529297bd09 | |||
4c16cb9c3e | |||
3a6cdf5fb5 | |||
2460c89151 | |||
3dae706a67 | |||
c150052380 | |||
1d00a95885 | |||
d9bfba1b5f |
6813
package-lock.json
generated
6813
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
22
package.json
22
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@gitzone/tsdoc",
|
||||
"version": "1.1.9",
|
||||
"version": "1.1.13",
|
||||
"private": false,
|
||||
"description": "a tool for better documentation",
|
||||
"main": "dist_ts/index.js",
|
||||
@ -16,23 +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",
|
||||
"tslint": "^6.1.3",
|
||||
"tslint-config-prettier": "^1.15.0"
|
||||
"@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/**/*",
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@gitzone/tsdoc',
|
||||
version: '1.1.9',
|
||||
version: '1.1.13',
|
||||
description: 'a tool for better documentation'
|
||||
}
|
||||
|
@ -26,7 +26,8 @@ export class TypeDoc {
|
||||
"target": "ES2022",
|
||||
"module": "ES2022",
|
||||
"moduleResolution": "nodenext",
|
||||
"skipLibCheck": true
|
||||
"skipLibCheck": true,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
},
|
||||
include: [],
|
||||
};
|
||||
|
@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user