-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathtsconfig.json
More file actions
49 lines (49 loc) · 1.52 KB
/
Copy pathtsconfig.json
File metadata and controls
49 lines (49 loc) · 1.52 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
{
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
// `baseUrl` is deprecated in TS6 but kept on purpose: Cypress's webpack
// preprocessor resolves the `@/*` alias from baseUrl+paths, so removing it
// breaks e2e module resolution. `ignoreDeprecations` silences the warning.
"baseUrl": ".",
"jsx": "preserve",
"target": "ES6",
"module": "esnext",
"moduleResolution": "bundler",
// `bundler` resolution is correct for the Vite app + vue-tsc. Cypress's
// ts-node compiles e2e files as CommonJS, which falls back to the now-
// deprecated `node10` resolution; under TypeScript 6 that is a hard error
// (TS5107). Acknowledging the deprecation keeps both toolchains working.
"ignoreDeprecations": "6.0",
"paths": {
"@/*": ["src/*"]
},
"strict": true,
"strictFunctionTypes": false,
"skipLibCheck": true,
"sourceMap": true,
// Explicit rootDir: TypeScript 6 (TS5011) requires it when `outDir` is set
// during an emitting compile. vue-tsc runs with --noEmit so never hits this,
// but Cypress's webpack ts-loader emits and does. "." covers src/ + tests/.
"rootDir": ".",
"typeRoots": [
"node_modules/@types",
"node_modules/@aeternity/aepp-sdk/src/typings"
],
"outDir": "dist",
},
"include": [
"src/**/*.ts",
"src/**/*.vue",
],
"exclude": [
"node_modules",
"dist/**/*",
"**/*.svg",
],
"files": [
"window.d.ts",
"shims.d.ts",
]
}