fix(publishmodule): Fix bug in package.json creation for publish module

This commit is contained in:
2024-10-21 14:28:42 +02:00
parent 1017cb84a6
commit 1653e48714
5 changed files with 45 additions and 39 deletions

View File

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

View File

@ -104,6 +104,7 @@ export class PublishModule {
await this.createPackageJson(),
'utf8'
);
await packageJson.write();
// ts folder
await plugins.smartfile.fs.copy(this.options.packageSubFolderFullPath, plugins.path.join(this.options.publishModDirFullPath, this.options.packageSubFolder))