diff --git a/changelog.md b/changelog.md index 7484631..44b55e2 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2024-11-05 - 1.10.4 - fix(mod_format) +Correct file extension for TypeScript path configuration + +- Fixed the TypeScript configuration to use correct file extensions for module subdirectories. + ## 2024-10-27 - 1.10.3 - fix(mod_format) Reorder TypeScript formatting steps in mod_format module diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index dface4a..2e5df86 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/cli', - version: '1.10.3', + version: '1.10.4', description: 'A CLI toolbelt to streamline local development cycles by using various gitzone utilities.' } diff --git a/ts/mod_format/format.tsconfig.ts b/ts/mod_format/format.tsconfig.ts index 8757d26..c0a10d5 100644 --- a/ts/mod_format/format.tsconfig.ts +++ b/ts/mod_format/format.tsconfig.ts @@ -17,7 +17,7 @@ export const run = async (projectArg: Project) => { const publishModules = await tsPublishInstance.getModuleSubDirs(paths.cwd); for (const publishModule of Object.keys(publishModules)) { const publishConfig = publishModules[publishModule]; - tsconfigObject.compilerOptions.paths[`${publishConfig.name}`] = [`./${publishModule}/index.ts`]; + tsconfigObject.compilerOptions.paths[`${publishConfig.name}`] = [`./${publishModule}/index.js`]; } tsconfigSmartfile.setContentsFromString(JSON.stringify(tsconfigObject, null, 2)); await tsconfigSmartfile.write();