fix(npmextra.json): update to new format

This commit is contained in:
2025-12-13 11:44:03 +00:00
parent 9e6b91b891
commit 5bfe60927e
11 changed files with 1646 additions and 3560 deletions

View File

@@ -63,7 +63,9 @@ export class TsBuild {
// Try to read tsconfig.json, but don't fail if it doesn't exist
try {
tsconfig = plugins.smartfile.fs.toObjectSync(plugins.path.join(paths.cwd, 'tsconfig.json'));
const tsconfigPath = plugins.path.join(paths.cwd, 'tsconfig.json');
const tsconfigContent = plugins.fs.readFileSync(tsconfigPath, 'utf8');
tsconfig = JSON.parse(tsconfigContent);
} catch (error) {
// tsconfig.json doesn't exist or is invalid - use defaults
return {};