fix(core): update

This commit is contained in:
2024-04-12 15:28:55 +02:00
parent cf1cfbd647
commit 084b321e6a
7 changed files with 107 additions and 78 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tsdoc',
version: '1.1.16',
description: 'An advanced TypeScript documentation tool leveraging AI for enhanced insights and automated documentation generation.'
version: '1.1.17',
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.'
}

View File

@ -19,6 +19,11 @@ export class ProjectContext {
plugins.path.join(this.projectDir, 'readme.md'),
this.projectDir
);
const smartfilesReadmeHints = await plugins.smartfile.SmartFile.fromFilePath(
plugins.path.join(this.projectDir, 'readme.hints.md'),
this.projectDir
);
const smartfilesNpmextraJSON = await plugins.smartfile.SmartFile.fromFilePath(
plugins.path.join(this.projectDir, 'npmextra.json'),
this.projectDir
@ -34,6 +39,7 @@ export class ProjectContext {
return {
smartfilePackageJSON,
smartfilesReadme,
smartfilesReadmeHints,
smartfilesNpmextraJSON,
smartfilesMod,
smartfilesTest,
@ -59,6 +65,7 @@ ${smartfile.contents.toString()}
let context = await this.convertFilesToContext([
files.smartfilePackageJSON,
files.smartfilesReadme,
files.smartfilesReadmeHints,
files.smartfilesNpmextraJSON,
...files.smartfilesMod,
...files.smartfilesTest,

View File

@ -59,7 +59,9 @@ The Readme should follow the following template:
Don't include any licensing information. This will be added in a later step.
Avoid "in conclusions".
npmextra.json has a tsdocs section that provides valuable information about module ideas.
Good to know:
* npmextra.json contains overall module information.
* readme.hints.md provides valuable hints about module ideas.
]
`,
contextString,