7b5af2dd9f
- 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
27 lines
867 B
JSON
27 lines
867 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"noEmit": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"$ai/*": ["./src/*"],
|
|
"$c/*": ["../coding-agent/src/*"],
|
|
"$tui/*": ["../tui/src/*"],
|
|
"$agent/*": ["../agent/src/*"],
|
|
"$stats/*": ["../omp-stats/src/*"],
|
|
"@oh-my-pi/pi-ai": ["./src/index.ts"],
|
|
"@oh-my-pi/pi-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": ["../coding-agent/src/index.ts"],
|
|
"@oh-my-pi/pi-coding-agent/*": ["../coding-agent/src/*"],
|
|
"@oh-my-pi/pi-tui": ["../tui/src/index.ts"],
|
|
"@oh-my-pi/pi-tui/*": ["../tui/src/*"]
|
|
}
|
|
},
|
|
"include": ["src/**/*.ts"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|