diff --git a/changelog.md b/changelog.md index cbf6738..4d16c73 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 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 diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 70e66de..b032de2 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/tsdoc', - version: '1.3.6', + version: '1.3.7', description: 'An advanced TypeScript documentation tool using AI to generate and enhance documentation for TypeScript projects.' } diff --git a/ts/aidocs_classes/commit.ts b/ts/aidocs_classes/commit.ts index 85e0b4a..7a6f95d 100644 --- a/ts/aidocs_classes/commit.ts +++ b/ts/aidocs_classes/commit.ts @@ -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 = `