Repository navigation
Expand file tree
/
Copy pathtsconfig.json
More file actions
51 lines (50 loc) · 1.59 KB
/
Copy pathtsconfig.json
File metadata and controls
51 lines (50 loc) · 1.59 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
45
46
47
48
49
50
51
{
// 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 (docs/plans/npm-partial-content-launch.md: release.yml on a
// v* tag, npm tokens revoked everywhere else). 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.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__/**"
]
}