mirror of
https://github.com/upstash/context7.git
synced 2026-09-14 19:09:34 +08:00
ca9404236c
The deprecated baseUrl only exists inside tsup's dts build, so pass ignoreDeprecations through dts.compilerOptions there instead of blanket- suppressing deprecations in the tsconfigs the honest typecheck uses. Verified: dist output byte-identical, and removing the suppression still reproduces TS5101. Claude-Session: https://claude.ai/code/session_01J52VdzVuzuU9KXaeNb1viD
22 lines
501 B
JSON
22 lines
501 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"lib": ["ES2022"],
|
|
"types": ["node"],
|
|
"outDir": "./dist",
|
|
"rootDir": "./src",
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"resolveJsonModule": true
|
|
},
|
|
"include": ["src/**/*"],
|
|
"exclude": ["node_modules", "dist"]
|
|
}
|