diff --git a/changelog.md b/changelog.md index f9dc1cb..cf8d356 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2024-10-28 - 1.5.2 - fix(core) +Add logging for found publish modules + +- Added console logging to display the count and list of discovered publish modules during the publish process. +- Included a startup log message indicating the beginning of the tspublish process. + ## 2024-10-28 - 1.5.1 - fix(core) Fixes handling of undefined paths in tsconfig generation. diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 0a75f53..de551a7 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/tspublish', - version: '1.5.1', + version: '1.5.2', description: 'A tool to publish multiple, concise, and small packages from monorepos, specifically for TypeScript projects within a git environment.' } diff --git a/ts/classes.tspublish.ts b/ts/classes.tspublish.ts index 509de2f..b47f7e8 100644 --- a/ts/classes.tspublish.ts +++ b/ts/classes.tspublish.ts @@ -9,6 +9,8 @@ export class TsPublish { public async publish (monorepoDirArg: string) { const publishModules = await this.getModuleSubDirs(monorepoDirArg); + console.log(`Found ${publishModules.length} publish modules:`); + console.log(publishModules); for (const publishModule of Object.keys(publishModules)) { const publishModuleInstance = new PublishModule({ monoRepoDir: monorepoDirArg, diff --git a/ts/index.ts b/ts/index.ts index 7942ca6..a51c605 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -4,6 +4,7 @@ import { TsPublish } from './classes.tspublish.js'; export * from './classes.tspublish.js' export const runCli = async () => { + console.log('Starting tspublish...'); const tspublish = new TsPublish(); await tspublish.publish(paths.cwd); }