File tree Expand file tree Collapse file tree
packages/json-table-schema-visualizer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.eslintrc.
2- vite.config.js
2+ vite.config.js
3+ .lintstagedrc.js
Original file line number Diff line number Diff line change 2222 "husky" : " ^9.0.11" ,
2323 "lint-staged" : " ^15.2.2" ,
2424 "prettier" : " 3.2.5" ,
25- "typescript" : " * "
25+ "typescript" : " ^5.4.3 "
2626 },
2727 "scripts" : {
2828 "prepare" : " husky"
Original file line number Diff line number Diff line change 1- vite.config.js
1+ vite.config.js
2+ node_modules
Original file line number Diff line number Diff line change 11module . exports = {
2- "*.(tsx|ts)" : "tsc" ,
2+ // because of lint-stages is installed as deps of root
3+ // we need to cd to `packages/json-table-schema-visualizer` before running tsc
4+ // otherwise it will not use the right tsconfig and context
5+ "*.(tsx|ts)" : ( ) =>
6+ "cd packages/json-table-schema-visualizer && yarn tsc --noEmit" ,
37 "*.(tsx|ts|js)" : [ "eslint --fix" , "prettier --write" ] ,
48 "*.(md|json)" : "prettier --write" ,
59} ;
Original file line number Diff line number Diff line change 11{
2+ "extends" : " ../../tsconfig.json" ,
23 "compilerOptions" : {
34 "target" : " es2016" ,
45 "module" : " commonjs" ,
78 "@/*" : [" ./*" ]
89 },
910 "allowJs" : true ,
10- "checkJs" : true ,
11- "noEmit" : true ,
12- "esModuleInterop" : true ,
13- "forceConsistentCasingInFileNames" : true ,
14- "strict" : true ,
15- "noImplicitAny" : true ,
16- "strictNullChecks" : true ,
17- "strictFunctionTypes" : true ,
18- "strictBindCallApply" : true ,
19- "strictPropertyInitialization" : true ,
20- "noUnusedLocals" : true ,
21- "noUnusedParameters" : true ,
22- "noImplicitReturns" : true ,
23- "noFallthroughCasesInSwitch" : true ,
24- "skipLibCheck" : true ,
25- "jsx" : " react-jsx" ,
26- "composite" : true
11+ "checkJs" : true
2712 },
28- "include" : [" ./src" ]
13+ "exclude" : [" node_modules" , " vite.config.js" ],
14+ "include" : [" **/*.ts" , " **/*.tsx" ]
2915}
Original file line number Diff line number Diff line change 1+ {
2+ "compilerOptions" : {
3+ "noEmit" : true ,
4+ "esModuleInterop" : true ,
5+ "forceConsistentCasingInFileNames" : true ,
6+ "strict" : true ,
7+ "noImplicitAny" : true ,
8+ "strictNullChecks" : true ,
9+ "strictFunctionTypes" : true ,
10+ "strictBindCallApply" : true ,
11+ "strictPropertyInitialization" : true ,
12+ "noUnusedLocals" : true ,
13+ "noUnusedParameters" : true ,
14+ "noImplicitReturns" : true ,
15+ "noFallthroughCasesInSwitch" : true ,
16+ "skipLibCheck" : true ,
17+ "jsx" : " react-jsx"
18+ },
19+ "exclude" : [" node_modules" ],
20+ "include" : [" **/*.ts" , " **/*.tsx" ]
21+ }
Original file line number Diff line number Diff line change @@ -10458,7 +10458,7 @@ typedarray@^0.0.6:
1045810458 resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
1045910459 integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==
1046010460
10461- typescript@*, "typescript@>=3 < 6", typescript@^5.4.3 :
10461+ " typescript@>=3 < 6" , typescript@^5.4.3:
1046210462 version "5.4.3"
1046310463 resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.3.tgz#5c6fedd4c87bee01cd7a528a30145521f8e0feff"
1046410464 integrity sha512-KrPd3PKaCLr78MalgiwJnA25Nm8HAmdwN3mYUYZgG/wizIo9EainNVQI9/yDavtVFRN2h3k8uf3GLHuhDMgEHg==
You can’t perform that action at this time.
0 commit comments