-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtsconfig.base.json
More file actions
44 lines (44 loc) · 1.92 KB
/
Copy pathtsconfig.base.json
File metadata and controls
44 lines (44 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
// Doubles as the resolution facade for vite-tsconfig-paths (vitest points
// here). NEVER add include/files: it would leak into every extending package
// project and narrow the facade's match-all scope.
"compilerOptions": {
"target": "es2024",
"module": "esnext",
"moduleResolution": "bundler",
"declaration": true,
"sourceMap": true,
"declarationMap": true,
"composite": true,
"incremental": true,
"skipLibCheck": true,
"esModuleInterop": true,
// Sources import siblings with an explicit `.ts` suffix; both flags are
// required to keep that working and still emit `.js` specifiers.
"allowImportingTsExtensions": true,
"rewriteRelativeImportExtensions": true,
"verbatimModuleSyntax": false,
"strict": true,
"noUncheckedIndexedAccess": true,
// The sources build optional fields with conditional spreads and never
// assign `key: undefined`; turning this off would silently allow both.
"exactOptionalPropertyTypes": true,
"noImplicitOverride": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"types": ["node"],
// Source-to-source resolution across this workspace, so a test never loads
// a second copy of a module singleton through built `lib/`.
"paths": {
"dsh-plugin-codegraph-service": ["./packages/service/src"],
"dsh-plugin-codegraph-service/invariant": ["./packages/service/src/invariant.ts"],
"dsh-plugin-codegraph-sqlite": ["./packages/sqlite/src"],
"dsh-plugin-codegraph-sqlite/invariant": ["./packages/sqlite/src/invariant.ts"],
"dsh-plugin-codegraph-tree-sitter": ["./packages/tree-sitter/src"],
"dsh-plugin-codegraph-tree-sitter/invariant": ["./packages/tree-sitter/src/invariant.ts"],
"dsh-plugin-codegraph-tool": ["./packages/tool/src"],
"dsh-plugin-codegraph-tool/invariant": ["./packages/tool/src/invariant.ts"]
}
}
}