claude-code-best/tsconfig.json
James Feng 0aa22d680d fix(ci): add @ant/model-provider to tsconfig paths
Bun workspace resolution fails on macOS CI for @ant/model-provider
when imported from root src/. Add explicit paths mapping in tsconfig
to match existing @claude-code-best/* pattern.
2026-06-03 12:29:33 +08:00

38 lines
1.3 KiB
JSON

{
"compilerOptions": {
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "bundler",
"jsx": "react-jsx",
"strict": false,
"skipLibCheck": true,
"noEmit": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"types": ["bun"],
"paths": {
"src/*": ["./src/*"],
"@claude-code-best/builtin-tools/*": ["./packages/builtin-tools/src/*"],
"@claude-code-best/builtin-tools": [
"./packages/builtin-tools/src/index.ts"
],
"@claude-code-best/mcp-client/*": ["./packages/mcp-client/src/*"],
"@claude-code-best/mcp-client": ["./packages/mcp-client/src/index.ts"],
"@claude-code-best/agent-tools/*": ["./packages/agent-tools/src/*"],
"@claude-code-best/agent-tools": ["./packages/agent-tools/src/index.ts"],
"@claude-code-best/weixin/*": ["./packages/weixin/src/*"],
"@claude-code-best/weixin": ["./packages/weixin/src/index.ts"],
"@ant/model-provider": ["./packages/@ant/model-provider/src/index.ts"],
"@ant/model-provider/*": ["./packages/@ant/model-provider/src/*"]
}
},
"include": [
"src/**/*.ts",
"src/**/*.tsx",
"packages/**/*.ts",
"packages/**/*.tsx"
],
"exclude": ["node_modules", "dist"]
}