From 53890341085f53ea9de55b995721e0f13374e091 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 23 Oct 2024 15:48:32 +0200 Subject: [PATCH] fix(classes.publishmodule): Fix template string in createPackageJson method for export path --- changelog.md | 5 +++++ ts/00_commitinfo_data.ts | 2 +- ts/classes.publishmodule.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 294ac63..6259951 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # 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) Add support for multiple registries in the publish process diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index d96c3f4..b299bbb 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.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.' } diff --git a/ts/classes.publishmodule.ts b/ts/classes.publishmodule.ts index cf7ee43..117c623 100644 --- a/ts/classes.publishmodule.ts +++ b/ts/classes.publishmodule.ts @@ -85,7 +85,7 @@ export class PublishModule { description: '', exports: { '.': { - import: './dist_${this.options.packageSubFolder}/index.js', + import: `./dist_${this.options.packageSubFolder}/index.js`, }, }, scripts: {