tsconfig.json1.1 KBView on GitHub {
"extends": "@zero/tsconfig/base",
// apps/server is a project reference: mail consumes its emitted AppRouter declaration rather
// than compiling its sources. `tsc -b` rebuilds the server first when it is stale, so no watch
// process is needed; the editor still reads server SOURCE live via TypeScript's
// project-reference redirect. See docs/design/typecheck-build-boundary.md
"references": [{ "path": "../server" }],
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"types": ["node", "vite/client", "jest"],
"paths": {
"@/*": ["./*", "./modules/cedar-os/src/*", "./modules/cedar-os/src/cedar-os-components/*"],
"react": ["./node_modules/@types/react"]
},
"rootDirs": [".", "./.react-router/types"]
},
"include": ["**/*.ts", "**/*.tsx", "**/*.d.ts", "runtime-configuration.d.ts"],
// Tests live in tsconfig.test.json (run via `pnpm types:test`). Keep them off the default
// `types` / `tsc -b` path so agent + CI gates don't pay for ~170 test files on every check.
"exclude": [
"node_modules",
"**/*.test.ts",
"**/*.test.tsx",
"**/__tests__/**",
"tests/**"
]
}