Repository navigation
Expand file tree
/
Copy pathtsconfig.json
More file actions
63 lines (63 loc) · 1.94 KB
/
Copy pathtsconfig.json
File metadata and controls
63 lines (63 loc) · 1.94 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
52
53
54
55
56
57
58
59
60
61
62
63
{
"compilerOptions": {
"target": "ES2017",
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
"allowJs": false,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "react-jsx",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"],
"@holoscript/core": ["../core/dist/index.d.ts"],
"@holoscript/core/*": ["../core/dist/*"],
"@holoscript/engine": ["../engine/src/index.ts"],
"@holoscript/engine/*": ["../engine/src/*"],
"@holoscript/std": ["../std/dist/index.d.ts"],
"@holoscript/std/*": ["../std/src/*"],
// Narrow source-maps for the specific subpath modules studio imports whose
// packages are Docker-built with `tsup --dts-only` and therefore ship NO
// subpath .d.ts in dist (implicit-any typecheck failures). Map ONLY the exact
// modules imported — NOT a `/*` wildcard, which would drag the whole package's
// type surface (e.g. r3f-renderer's R3F .tsx) into studio's typecheck and fail
// on JSX.IntrinsicElements it doesn't augment.
"@holoscript/r3f-renderer": ["../r3f-renderer/dist/index.d.ts"],
"@holoscript/r3f-renderer/hooks/useWebcamGaze": [
"../r3f-renderer/src/hooks/useWebcamGaze.ts"
],
"@holoscript/studio-plugin-sdk/sandbox": ["../studio-plugin-sdk/dist/sandbox/index.d.ts"]
}
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx",
".next/types/**/*.ts",
".next/dev/types/**/*.ts"
],
"exclude": [
"node_modules",
"e2e",
"playwright.config.ts",
"drizzle.config.ts",
"scripts",
"**/__tests__/**",
"**/__benchmarks__/**",
"**/*.test.ts",
"**/*.test.tsx",
"**/*.spec.ts",
"**/*.spec.tsx",
"src/lib/scenarios/**"
]
}