fix(classes.publishmodule): Fix template string in createPackageJson method for export path

This commit is contained in:
Philipp Kunz 2024-10-23 15:48:32 +02:00
parent a656e3e040
commit 5389034108
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
# Changelog # Changelog
## 2024-10-23 - 1.3.1 - fix(classes.publishmodule)
Fix template string in createPackageJson method for export path
- Corrected the syntax for template string in the exports path of created package.json
## 2024-10-21 - 1.3.0 - feat(core) ## 2024-10-21 - 1.3.0 - feat(core)
Add support for multiple registries in the publish process Add support for multiple registries in the publish process

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@git.zone/tspublish', name: '@git.zone/tspublish',
version: '1.3.0', version: '1.3.1',
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

@ -85,7 +85,7 @@ export class PublishModule {
description: '', description: '',
exports: { exports: {
'.': { '.': {
import: './dist_${this.options.packageSubFolder}/index.js', import: `./dist_${this.options.packageSubFolder}/index.js`,
}, },
}, },
scripts: { scripts: {