File tree Expand file tree Collapse file tree 4 files changed +20
-6
lines changed
Expand file tree Collapse file tree 4 files changed +20
-6
lines changed Original file line number Diff line number Diff line change 103103 "lint" : " eslint src examples" ,
104104 "test" : " vitest --run --typecheck" ,
105105 "test:watch" : " vitest --watch" ,
106- "type-tests" : " yarn tsc -p tsconfig.json" ,
106+ "type-tests" : " yarn tsc -p tsconfig.test. json --noEmit " ,
107107 "prepack" : " yarn build"
108108 },
109109 "files" : [
Original file line number Diff line number Diff line change 11{
2+ // For building the library.
23 "extends" : " ./tsconfig.base.json" ,
34 "compilerOptions" : {
45 "outDir" : " dist"
Original file line number Diff line number Diff line change 11{
2+ // For general development and intellisense.
3+ // Scans the entire source code against the current TS version
4+ // we are using during development.
25 "extends" : " ./tsconfig.test.json" ,
36 "compilerOptions" : {
4- "skipLibCheck" : true
5- }
7+ "skipLibCheck" : true ,
8+ "rootDir" : " ."
9+ },
10+ "include" : [" ." ]
611}
Original file line number Diff line number Diff line change 11{
2+ // For runtime and type tests during CI.
23 "extends" : " ./tsconfig.base.json" ,
34 "compilerOptions" : {
45 "emitDeclarationOnly" : false ,
56 "noEmit" : true ,
6- "rootDir" : " ." ,
7+ "rootDir" : " ./src " ,
78 "jsx" : " react-jsx" ,
8- "skipLibCheck" : false ,
9+ "skipLibCheck" : true ,
910 "noImplicitReturns" : false
1011 },
11- "exclude" : [" dist" ]
12+ "exclude" : [" dist" ],
13+ "include" : [
14+ " src/**/*.test.ts*" ,
15+ " src/**/*.test-d.ts*" ,
16+ " src/**/*.spec.ts*" ,
17+ " src/**/tests/*" ,
18+ " src/**/*.typetest.ts*"
19+ ]
1220}
You can’t perform that action at this time.
0 commit comments