Files
copilotkit__copilotkit/packages/angular/tsconfig.json
Austin Merrick 081e076659 fix(angular): resolve workspace paths to dist first in typecheck
The paths entries pointed at sibling package sources, so the Angular
package's tsc run typechecked core and shared sources under Angular's
compiler settings — surfacing errors in files outside any Angular
change (reported on #5321). Resolve to the built declarations first,
same pattern as the Vue package; the src fallback remains for cold
checkouts.
2026-06-10 11:54:21 -07:00

37 lines
1.0 KiB
JSON

{
"extends": "@copilotkit/typescript-config/base.json",
"compilerOptions": {
"outDir": "./dist",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"lib": ["ES2022", "DOM"],
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"types": ["node"],
"paths": {
"@copilotkit/core": ["../core/dist/index.d.mts", "../core/src/index.ts"],
"@copilotkit/shared": [
"../shared/dist/index.d.mts",
"../shared/src/index.ts"
]
}
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "**/*.spec.ts", "**/*.test.ts"],
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
}
}