Compare commits

..

4 Commits

4 changed files with 16 additions and 4 deletions

View File

@ -1,5 +1,17 @@
# Changelog
## 2024-06-23 - 1.3.8 - fix(changelog)
Fix changelog generation by properly stripping markdown code fences
- Corrected the changelog generation code to ensure markdown code fences are properly stripped.
## 2024-06-23 - 1.3.7 - fix(aidoc)
Update to include package-lock.json in uncommitted changes check
- Modified the getUncommittedDiff method call in commit.ts to include package-lock.json along with pnpm-lock.yaml
## 2024-06-23 - 1.3.6 - fix(commit)
Fixed issue with retrieving uncommitted diffs in git repository

View File

@ -1,6 +1,6 @@
{
"name": "@git.zone/tsdoc",
"version": "1.3.6",
"version": "1.3.8",
"private": false,
"description": "An advanced TypeScript documentation tool using AI to generate and enhance documentation for TypeScript projects.",
"type": "module",

View File

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

View File

@ -27,7 +27,7 @@ export class Commit {
smartgitInstance,
this.projectDir
);
const diffStringArray = await gitRepo.getUncommittedDiff(['pnpm-lock.json']);
const diffStringArray = await gitRepo.getUncommittedDiff(['pnpm-lock.yaml', 'package-lock.json']);
const projectContext = new ProjectContext(this.projectDir);
let contextString = await projectContext.update();
contextString = `
@ -110,7 +110,7 @@ ${JSON.stringify(commitMessages, null, 2)}
previousChangelog = await plugins.smartfile.SmartFile.fromString(
previousChangelogPath,
result2.message,
result2.message.replace('```markdown', '').replace('```', ''),
'utf8'
);
}