This commit is contained in:
Philipp Kunz 2024-10-21 14:37:23 +02:00
parent 76a1da6ca5
commit fda3204cfb
3 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,15 @@
# Changelog # 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) ## 2024-10-21 - 1.2.2 - fix(publishmodule)
Fix bug in package.json creation for publish module Fix bug in package.json creation for publish module

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@git.zone/tspublish', 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.' description: 'A tool to publish multiple, concise, and small packages from monorepos, specifically for TypeScript projects within a git environment.'
} }

View File

@ -74,6 +74,7 @@ export class PublishModule {
const packageJson = { const packageJson = {
name: this.options.name, name: this.options.name,
version: this.options.version, version: this.options.version,
type: 'module',
description: '', description: '',
exports: { exports: {
'.': { '.': {