fix(smartconfig): migrate project metadata and config handling to .smartconfig.json

This commit is contained in:
2026-03-24 18:56:18 +00:00
parent a2b596e5db
commit abdc2f2534
14 changed files with 357 additions and 272 deletions

View File

@@ -22,9 +22,9 @@ export class Readme {
const smartconfigJson = JSON.parse(
(await projectContext.gatherFiles()).smartfilesNpmextraJSON.contents.toString()
);
const legalInfo = smartconfigJson?.['@git.zone/tsdoc']?.legal;
const legalInfo = smartconfigJson?.['tsdoc']?.legal;
if (!legalInfo) {
const error = new Error(`No legal information found in smartconfig.json`);
const error = new Error(`No legal information found in .smartconfig.json`);
console.log(error);
}