fix(aidocs_classes): Fix changelog formatting issue in commit class

This commit is contained in:
Philipp Kunz 2024-06-23 22:48:05 +02:00
parent d4903f32f0
commit f819e7b521
3 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,11 @@
# Changelog
## 2024-06-23 - 1.3.4 - fix(aidocs_classes)
Fix changelog formatting issue in commit class
- Adjusted formatting in the template for the changelog in `commit.ts`.
- Ensured proper line spacing for readability and consistency.
## 2024-06-23 - 1.3.3 - fix(aidocs_classes)
Fix minor bugs and update dependencies in aidocs_classes
- Fixed typo in INextCommitObject interface within the aidocs_classes.
@ -45,3 +51,4 @@ Improve commit message generation by handling empty diffs and updating changelog
- Enhanced commit message generation to handle empty diffs.
- Updated instructions for changelog generation for better clarity.

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@git.zone/tsdoc',
version: '1.3.3',
version: '1.3.4',
description: 'An advanced TypeScript documentation tool using AI to generate and enhance documentation for TypeScript projects.'
}

View File

@ -115,6 +115,7 @@ ${JSON.stringify(commitMessages, null, 2)}
let newDateString = new plugins.smarttime.ExtendedDate().exportToHyphedSortableDate();
let newChangelog = `# Changelog\n\n${`## ${newDateString} - {{nextVersion}} - {{nextVersionScope}}
{{nextVersionMessage}}
{{nextVersionDetails}}
`}\n\n${oldChangelog}\n`;
resultObject.changelog = newChangelog;