diff --git a/changelog.md b/changelog.md index 24e2774..b39d4e9 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,15 @@ # Changelog +## 2024-10-21 - 1.2.3 - fix(classes.publishmodule) +Add missing 'type: module' to dynamically generated package.json + +- Ensure that the 'type: module' field is included in each dynamically generated package.json file for consistent module handling. + +## 2024-10-21 - 1.2.3 - fix(classes.publishmodule) +Add missing 'type: module' to dynamically generated package.json + +- Ensure that the 'type: module' field is included in each dynamically generated package.json file for consistent module handling. + ## 2024-10-21 - 1.2.2 - fix(publishmodule) Fix bug in package.json creation for publish module diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 9d3519d..0333077 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.2.2', + version: '1.2.3', 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.publishmodule.ts b/ts/classes.publishmodule.ts index c753bbd..6ff9dfb 100644 --- a/ts/classes.publishmodule.ts +++ b/ts/classes.publishmodule.ts @@ -74,6 +74,7 @@ export class PublishModule { const packageJson = { name: this.options.name, version: this.options.version, + type: 'module', description: '', exports: { '.': {