-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtsconfig.test.json
More file actions
51 lines (45 loc) · 1.5 KB
/
tsconfig.test.json
File metadata and controls
51 lines (45 loc) · 1.5 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
{
"extends": "./tsconfig.json",
"compilerOptions": {
// Base configuration
"baseUrl": "./",
// Speed optimizations for testing
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "node",
// Performance optimizations
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"incremental": true,
"tsBuildInfoFile": "./.vitest-cache/tsbuildinfo.json",
// Faster compilation (moved from jest config to fix deprecation warning)
"isolatedModules": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": false,
// Test-specific relaxed settings
"noUnusedLocals": false,
"noUnusedParameters": false,
"exactOptionalPropertyTypes": false,
// Path mapping for fast resolution
"paths": {
"@core/*": ["src/core/*"],
"@core": ["src/core/index.ts"],
"@types": ["src/types.ts"],
"@extensions/*": ["src/extensions/*"],
"@extensions": ["src/extensions/index.ts"],
"@cli/*": ["src/cli/*"],
"@lib": ["src/lib/index.ts"],
"@constants": ["src/constants/index.ts"],
"@errors": ["src/errors/index.ts"],
"@utils/*": ["src/utils/*"],
"@utils": ["src/utils/index.ts"],
"@plugins/*": ["src/plugins/*"],
"@plugins": ["src/plugins/index.ts"]
},
// Types for Vitest
"types": ["vitest/globals", "node"]
},
"include": ["src/**/*", "tests/**/*", "scripts/**/*"],
"exclude": ["node_modules", "dist", "coverage", "examples"]
}