fix(tspublish): Fix the logging of the number of found publish modules
This commit is contained in:
parent
910cb4c8bf
commit
f8ceff48b2
@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2024-11-05 - 1.7.6 - fix(tspublish)
|
||||||
|
Fix the logging of the number of found publish modules
|
||||||
|
|
||||||
|
- Corrected the way the number of publish modules is logged by using Object.keys(publishModules).length instead of publishModules.length.
|
||||||
|
|
||||||
## 2024-11-05 - 1.7.5 - fix(core)
|
## 2024-11-05 - 1.7.5 - fix(core)
|
||||||
Fix issue with tspublish.json name validation in TsPublish class
|
Fix issue with tspublish.json name validation in TsPublish class
|
||||||
|
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tspublish',
|
name: '@git.zone/tspublish',
|
||||||
version: '1.7.5',
|
version: '1.7.6',
|
||||||
description: 'A tool to publish multiple, concise, and small packages from monorepos, specifically for TypeScript projects within a git environment.'
|
description: 'A tool to publish multiple, concise, and small packages from monorepos, specifically for TypeScript projects within a git environment.'
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,7 @@ export class TsPublish {
|
|||||||
plugins.smartfile.fs.toStringSync(plugins.path.join(subDir, 'tspublish.json')),
|
plugins.smartfile.fs.toStringSync(plugins.path.join(subDir, 'tspublish.json')),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
logger.log('ok', `found ${publishModules.length} publish modules`);
|
logger.log('ok', `found ${Object.keys(publishModules).length} publish modules`);
|
||||||
logger.log('info', `Ordering publish modules...`);
|
logger.log('info', `Ordering publish modules...`);
|
||||||
|
|
||||||
return publishModules;
|
return publishModules;
|
||||||
|
Loading…
Reference in New Issue
Block a user