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
+3 -3
View File
@@ -26,7 +26,7 @@ export class ProjectContext {
plugins.path.join(this.projectDir, 'readme.hints.md'),
this.projectDir,
);
const smartfilesNpmextraJSON = await plugins.smartfileFactory.fromFilePath(
const smartfilesSmartconfigJSON = await plugins.smartfileFactory.fromFilePath(
plugins.path.join(this.projectDir, '.smartconfig.json'),
this.projectDir,
);
@@ -40,7 +40,7 @@ export class ProjectContext {
smartfilePackageJSON,
smartfilesReadme,
smartfilesReadmeHints,
smartfilesNpmextraJSON,
smartfilesSmartconfigJSON,
smartfilesMod,
smartfilesTest,
};
@@ -80,7 +80,7 @@ ${smartfile.contents.toString()}
files.smartfilePackageJSON,
files.smartfilesReadme,
files.smartfilesReadmeHints,
files.smartfilesNpmextraJSON,
files.smartfilesSmartconfigJSON,
...files.smartfilesMod,
...files.smartfilesTest,
]);