Commit 219e182
committed
refactor(core): cleanup unused code and improve type safety
Refactor the codebase to remove obsolete logic, improve TypeScript strictness, and clean up configuration.
- Remove unused `createSettingsFromTemplate` and `compareVersions` functions
- Remove unused `MIMO_TOKEN_REGIONS` import
- Remove deprecated `baseUrl` from `tsconfig.json`
- Add explicit type annotations to CLI choices and Ink component callbacks
- Improve null safety in `changelog.ts` parser and `AddInstance` wizard
- Add global declarations for `Bun` and `Deno` in runtime utilities
- Simplify plugin modification logic in `ManagePlugins` screen1 parent e0cfce8 commit 219e182
11 files changed
Lines changed: 52 additions & 726 deletions
File tree
- scripts
- src
- ink
- screens
- util
- web/util
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
| |||
0 commit comments