fix(aidocs): correct smartconfig file handling and tighten TypeScript typings

This commit is contained in:
2026-05-09 12:34:16 +00:00
parent 5eed13258a
commit abe7717eed
11 changed files with 1027 additions and 881 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export class Readme {
// First check legal info before introducing any cost
const projectContext = new ProjectContext(this.projectDir);
const smartconfigJson = JSON.parse(
(await projectContext.gatherFiles()).smartfilesNpmextraJSON.contents.toString()
(await projectContext.gatherFiles()).smartfilesSmartconfigJSON.contents.toString()
);
const legalInfo = smartconfigJson?.['tsdoc']?.legal;
if (!legalInfo) {