Files
Colin McDonnell cc1ab823e2 fix(docs): drop deprecated baseUrl from tsconfig
TypeScript 6.0 marks `baseUrl` as deprecated, which Vitest's typecheck
turns into a hard CI failure. The docs `paths` already use relative
`./` notation, so removing `baseUrl` is a no-op for resolution.

The landmine sat dormant until commit 29695716 added the first
`*.test.ts` under `packages/docs/`, which caused Vitest to actually
load the docs `tsconfig.test.json` for typechecking on every run.
2026-05-01 12:43:27 -07:00

31 lines
793 B
JSON

{
"compilerOptions": {
"target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"paths": {
"@/.source": ["./.source/index.ts"],
"@/*": ["./*"]
},
"plugins": [
{
"name": "next"
}
],
"types": ["mdx", "node", "react", "react-dom", "@vercel/og"]
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "components/if.tsx", "types/**/*.d.ts"],
"exclude": ["node_modules"]
}