Files
oh-my-pi/packages/coding-agent/tsconfig.json
T
can1357 7b5af2dd9f refactor(build): migrated imports to path aliases with per-package tsconfig support
- converted relative imports to path aliases ($c/*, $ai/*, $tui/*, etc.) across all packages
- added per-package tsconfig.json with complete path mappings for runtime resolution
- set importModuleSpecifier to non-relative for IDE auto-import preferences
- updated dev script to run from monorepo root for consistent path resolution
2026-01-23 11:56:32 +01:00

30 lines
1.0 KiB
JSON

{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"noEmit": true,
"baseUrl": ".",
"paths": {
"$c/*": ["./src/*"],
"$ai/*": ["../ai/src/*"],
"$tui/*": ["../tui/src/*"],
"$agent/*": ["../agent/src/*"],
"$stats/*": ["../omp-stats/src/*"],
"@oh-my-pi/pi-ai": ["../ai/src/index.ts"],
"@oh-my-pi/pi-ai/*": ["../ai/src/*"],
"@oh-my-pi/pi-agent-core": ["../agent/src/index.ts"],
"@oh-my-pi/pi-agent-core/*": ["../agent/src/*"],
"@oh-my-pi/pi-utils": ["../pi-utils/src/index.ts"],
"@oh-my-pi/pi-utils/*": ["../pi-utils/src/*"],
"@oh-my-pi/pi-coding-agent": ["./src/index.ts"],
"@oh-my-pi/pi-coding-agent/hooks": ["./src/core/hooks/index.ts"],
"@oh-my-pi/pi-coding-agent/*": ["./src/*"],
"@oh-my-pi/pi-tui": ["../tui/src/index.ts"],
"@oh-my-pi/pi-tui/*": ["../tui/src/*"],
"@oh-my-pi/pi-mom": ["../mom/src/index.ts"],
"@oh-my-pi/pi-mom/*": ["../mom/src/*"]
}
},
"include": ["src/**/*.ts", "src/bun-imports.d.ts"],
"exclude": ["node_modules", "dist", "**/*.test.ts", "test/**"]
}