From eec33e29d31e8cf1778b067cf50313b09e7cbc1d Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Fri, 12 Apr 2024 15:35:09 +0200 Subject: [PATCH] fix(core): update --- package.json | 3 ++- ts/00_commitinfo_data.ts | 2 +- ts/cli.ts | 6 ++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3792814..6b01ab7 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "tsdoc": "cli.js" }, "scripts": { - "test": "(tstest test/) && (node ./cli.ts.js)", + "test": "(tstest test/) && npm run testCli", + "testCli": "(node ./cli.ts.js) && (node ./cli.ts.js aidocs)", "build": "(tsbuild --web --allowimplicitany)" }, "devDependencies": { diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 79c25d5..0c20e2e 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/tsdoc', - version: '1.1.17', + version: '1.1.18', description: 'An advanced TypeScript documentation tool leveraging AI for enhanced insights and automated documentation generation, with capabilities for automated and enhanced documentation creation tailor-made for TypeScript projects.' } diff --git a/ts/cli.ts b/ts/cli.ts index def195f..f2c6f88 100644 --- a/ts/cli.ts +++ b/ts/cli.ts @@ -28,7 +28,13 @@ export const run = async () => { }); tsdocCli.addCommand('aidocs').subscribe(async (argvArg) => { + logger.log('info', `Generating new readme...`); + logger.log('info', `This may take some time...`); const aidocs = new AiDoc(); + aidocs.buildReadme(paths.cwd); + logger.log('info', `Generating new keywords...`); + logger.log('info', `This may take some time...`); + aidocs.buildDescription(paths.cwd); }) tsdocCli.addCommand('test').subscribe((argvArg) => {