File tree Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Expand file tree Collapse file tree 3 files changed +19
-4
lines changed Original file line number Diff line number Diff line change 7
7
"scripts" : {
8
8
"postinstall" : " husky install" ,
9
9
"dev" : " vite" ,
10
- "build" : " tsc && vite build" ,
10
+ "build" : " tsc -b && vite build" ,
11
11
"start" : " vite preview" ,
12
12
"build:staging" : " tsc && vite build --mode staging" ,
13
13
"start:staging" : " vite preview" ,
16
16
"format" : " prettier --write src/ index.html --ignore-unknown --no-error-on-unmatched-pattern" ,
17
17
"tsr:watch" : " tsr watch" ,
18
18
"tsr:generate" : " tsr generate" ,
19
- "typecheck" : " tsc"
19
+ "typecheck" : " tsc -b "
20
20
},
21
21
"dependencies" : {
22
22
"@tanstack/react-query" : " ^5.66.11" ,
Original file line number Diff line number Diff line change 10
10
/* Bundler mode */
11
11
"moduleResolution" : " bundler" ,
12
12
"allowImportingTsExtensions" : true ,
13
+ "resolveJsonModule" : true ,
13
14
"isolatedModules" : true ,
14
15
"moduleDetection" : " force" ,
15
16
"noEmit" : true ,
16
17
"jsx" : " react-jsx" ,
17
18
18
19
/* Linting */
19
20
"strict" : true ,
21
+ "noImplicitAny" : true ,
20
22
"noUnusedLocals" : true ,
23
+ "strictNullChecks" : true ,
21
24
"noUnusedParameters" : true ,
22
25
"noFallthroughCasesInSwitch" : true ,
23
- "noUncheckedSideEffectImports" : true
26
+ "noUncheckedSideEffectImports" : true ,
27
+ "forceConsistentCasingInFileNames" : true ,
28
+
29
+ "baseUrl" : " ." ,
30
+ "paths" : {
31
+ "@/*" : [" ./src/*" ]
32
+ }
24
33
},
25
34
"include" : [" src" ]
26
35
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"files" : [],
3
- "references" : [{ "path" : " ./tsconfig.app.json" }, { "path" : " ./tsconfig.node.json" }]
3
+ "references" : [{ "path" : " ./tsconfig.app.json" }, { "path" : " ./tsconfig.node.json" }],
4
+ "compilerOptions" : {
5
+ "baseUrl" : " ." ,
6
+ "paths" : {
7
+ "@/*" : [" ./src/*" ]
8
+ }
9
+ }
4
10
}
You can’t perform that action at this time.
0 commit comments