mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-01 19:42:03 +00:00
The producer's tsconfig.json included all src/**/* which caused tsc to fail on test files that import vitest (not a producer dependency). Exclude *.test.ts from the declaration build — vitest handles its own tsconfig for running tests. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
19 lines
436 B
JSON
19 lines
436 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"esModuleInterop": true,
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"skipLibCheck": true,
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist", "src/**/*.test.ts"]
|
|
}
|