Commit cd7f9e1
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
- src
- cli
- generators
- prompts
- types
- utils
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
| |||
0 commit comments