fix(smartconfig): migrate project metadata and config handling to .smartconfig.json
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user