Skip to content

Commit cd7f9e1

Browse files
committed
refactor(core): migrated entire codebase to TypeScript with modular architecture
Converted all JavaScript source code to TypeScript with strict type checking. Decomposed monolithic commit-generator.js into separate modules: - cli/detection.ts - CLI path finding and auto-save logic - cli/execution.ts - CLI and API execution handlers - generators/commit.ts - main generation orchestration - prompts/generation.ts - prompt templates for generation and editing - utils/git.ts - git diff operations - types/index.ts - shared type definitions Added TypeScript configuration and build tooling support.
1 parent 58f3d33 commit cd7f9e1

13 files changed

Lines changed: 1142 additions & 973 deletions

File tree

‎package-lock.json‎

Lines changed: 140 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"activationEvents": [
2424
"onStartupFinished"
2525
],
26-
"main": "./src/extension.js",
26+
"main": "./dist/extension.js",
2727
"contributes": {
2828
"commands": [
2929
{
@@ -118,6 +118,8 @@
118118
"@types/node": "^18.0.0",
119119
"@types/vscode": "^1.75.0",
120120
"eslint": "^8.50.0",
121+
"ts-loader": "^9.5.1",
122+
"typescript": "^5.3.0",
121123
"webpack": "^5.88.0",
122124
"webpack-cli": "^5.1.4"
123125
},

0 commit comments

Comments
 (0)