Repository navigation
Expand file tree
/
Copy pathtsconfig.json
More file actions
41 lines (40 loc) · 1.54 KB
/
Copy pathtsconfig.json
File metadata and controls
41 lines (40 loc) · 1.54 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
{
// SELF-CONTAINED on purpose: no `extends`. This directory is synced verbatim
// to the standalone public repo, which is the ONLY place the package can
// publish from (CONTRIBUTING.md, "Releases": the release workflow on a v*
// tag, no manual npm publish path). There the package root IS the
// repo root, so a relative extends points outside the repository and tsc
// fails with TS5083; an earlier revision made exactly that mistake.
//
// The strictness block below must MIRROR packages/typescript-config/base.json
// (minus its noEmit, since this package really builds dist/). The mirror is
// enforced, not remembered: scripts/ci/__tests__/partial-content-tsconfig-mirror.sweep.test.ts
// fails the monorepo suite when base.json gains or changes a flag this file
// does not carry.
"compilerOptions": {
"strict": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"skipLibCheck": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"target": "ES2025",
"module": "NodeNext",
"moduleResolution": "nodenext",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "dist",
"rootDir": "src",
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"verbatimModuleSyntax": true,
"types": ["node"],
"lib": ["ES2025"],
"allowImportingTsExtensions": true,
"rewriteRelativeImportExtensions": true
},
"include": ["src"],
"exclude": ["node_modules", "dist", "**/__tests__/**"]
}