fix(aidoc): Update to include package-lock.json in uncommitted changes check
This commit is contained in:
		| @@ -1,5 +1,11 @@ | |||||||
| # Changelog | # 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) | ## 2024-06-23 - 1.3.6 - fix(commit) | ||||||
| Fixed issue with retrieving uncommitted diffs in git repository | Fixed issue with retrieving uncommitted diffs in git repository | ||||||
|  |  | ||||||
|   | |||||||
| @@ -3,6 +3,6 @@ | |||||||
|  */ |  */ | ||||||
| export const commitinfo = { | export const commitinfo = { | ||||||
|   name: '@git.zone/tsdoc', |   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.' |   description: 'An advanced TypeScript documentation tool using AI to generate and enhance documentation for TypeScript projects.' | ||||||
| } | } | ||||||
|   | |||||||
| @@ -27,7 +27,7 @@ export class Commit { | |||||||
|       smartgitInstance, |       smartgitInstance, | ||||||
|       this.projectDir |       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); |     const projectContext = new ProjectContext(this.projectDir); | ||||||
|     let contextString = await projectContext.update(); |     let contextString = await projectContext.update(); | ||||||
|     contextString = ` |     contextString = ` | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user