Skip to content

Commit 01ab770

Browse files
committed
Revert "Fix tsconfig files for react-vite-clerk-shadcn"
This reverts commit 8bdeae3.
1 parent 8bdeae3 commit 01ab770

File tree

3 files changed

+30
-53
lines changed

3 files changed

+30
-53
lines changed

template-react-vite-clerk-shadcn/tsconfig.app.json

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,29 @@
11
{
2-
"files": [],
3-
"references": [
4-
{ "path": "./tsconfig.app.json" },
5-
{ "path": "./tsconfig.node.json" }
6-
]
2+
"compilerOptions": {
3+
"target": "ES2020",
4+
"useDefineForClassFields": true,
5+
"lib": ["ES2020", "DOM", "DOM.Iterable", "ESNext.Array"],
6+
"module": "ESNext",
7+
"skipLibCheck": true,
8+
9+
/* Bundler mode */
10+
"moduleResolution": "bundler",
11+
"allowImportingTsExtensions": true,
12+
"resolveJsonModule": true,
13+
"isolatedModules": true,
14+
"noEmit": true,
15+
"jsx": "react-jsx",
16+
17+
/* Linting */
18+
"strict": true,
19+
"noUnusedLocals": true,
20+
"noUnusedParameters": true,
21+
"noFallthroughCasesInSwitch": true,
22+
23+
"types": ["vite/client"],
24+
"paths": {
25+
"@/*": ["./src/*"]
26+
}
27+
},
28+
"references": [{ "path": "./tsconfig.node.json" }]
729
}
Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,10 @@
11
{
22
"compilerOptions": {
3-
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
4-
"target": "ES2022",
5-
"lib": ["ES2023"],
6-
"module": "ESNext",
3+
"composite": true,
74
"skipLibCheck": true,
8-
9-
/* Bundler mode */
5+
"module": "ESNext",
106
"moduleResolution": "bundler",
11-
"allowImportingTsExtensions": true,
12-
"isolatedModules": true,
13-
"moduleDetection": "force",
14-
"noEmit": true,
15-
16-
/* Linting */
17-
"strict": true,
18-
"noUnusedLocals": true,
19-
"noUnusedParameters": true,
20-
"noFallthroughCasesInSwitch": true,
21-
"noUncheckedSideEffectImports": true
7+
"allowSyntheticDefaultImports": true
228
},
239
"include": ["vite.config.ts"]
2410
}

0 commit comments

Comments
 (0)