fix(core): Fix issues with path keys in tsconfig and logger setup in logging.ts.

This commit is contained in:
2024-10-28 01:36:24 +01:00
parent a3226efd9a
commit ff365ee508
5 changed files with 14 additions and 5 deletions

View File

@@ -9,8 +9,10 @@ export class TsPublish {
public async publish (monorepoDirArg: string) {
const publishModules = await this.getModuleSubDirs(monorepoDirArg);
console.log(`Found ${Object.keys(publishModules).length} publish modules:`);
console.log(Object.keys(publishModules));
logger.log('info', `Found ${Object.keys(publishModules).length} publish modules:`);
for (const publishModule of Object.keys(publishModules)) {
logger.log('info', `Publishing module: ${publishModule} -> ${publishModules[publishModule].name}`);
}
for (const publishModule of Object.keys(publishModules)) {
const publishModuleInstance = new PublishModule({
monoRepoDir: monorepoDirArg,