Files
codetyper.cli/tsconfig.json
Carlos Gutierrez c1b4384890 Remove legacy React/Ink TUI and fix TypeScript errors
- Delete old tui/ React/Ink implementation (App.tsx, components/, hooks/, store.ts)
  - Migrate to tui-solid/ as the sole TUI implementation
  - Update tui/index.ts to re-export from tui-solid and @/types/tui

  TypeScript fixes:
  - Add missing PreCompact to hook event constants
  - Fix path aliases (@src/ -> @/, @constants/)
  - Remove unused imports across service files
  - Add explicit type annotations to callback parameters
  - Replace Bun.file/write with Node.js fs/promises in mcp/registry
  - Fix Map.some() -> Array.from().some() in registry
  - Fix addServer() call signature
  - Add missing description to brain-mcp schema items
  - Fix typo in progress-bar import (@interfactes -> @interfaces)
2026-02-04 01:21:43 -05:00

49 lines
1.4 KiB
JSON

{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"noEmit": true,
"lib": ["ES2022"],
"outDir": "./dist",
"rootDir": "./src",
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@api/*": ["src/api/*"],
"@commands/*": ["src/commands/*"],
"@constants/*": ["src/constants/*"],
"@interfaces/*": ["src/interfaces/*"],
"@prompts/*": ["src/prompts/*"],
"@services/*": ["src/services/*"],
"@stores/*": ["src/stores/*"],
"@providers/*": ["src/providers/*"],
"@tools/*": ["src/tools/*"],
"@tui/*": ["src/tui/*"],
"@tui-solid/*": ["src/tui-solid/*"],
"@ui/*": ["src/ui/*"],
"@utils/*": ["src/utils/*"],
"@types/*": ["src/types/*"]
},
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"removeComments": false,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"allowSyntheticDefaultImports": true,
"jsx": "preserve",
"jsxImportSource": "@opentui/solid"
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "**/*.test.ts"]
}