Skip to content

Commit

Permalink
chore: add skipLibCheck to examples (#3134)
Browse files Browse the repository at this point in the history
  • Loading branch information
chorobin authored Jan 9, 2025
1 parent 07fc941 commit f44e2a2
Show file tree
Hide file tree
Showing 32 changed files with 64 additions and 32 deletions.
3 changes: 2 additions & 1 deletion e2e/create-start/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"jsx": "react-jsx",
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext"
"module": "ESNext",
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion e2e/react-router/basic/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"moduleResolution": "Bundler",
"module": "ESNext",
"resolveJsonModule": true,
"allowJs": true
"allowJs": true,
"skipLibCheck": true
},
"exclude": ["node_modules", "dist"]
}
3 changes: 2 additions & 1 deletion examples/react/authenticated-routes/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"jsx": "react-jsx",
"target": "ESNext",
"moduleResolution": "Bundler",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/basic-default-search-params/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"jsx": "react-jsx",
"target": "ESNext",
"moduleResolution": "Bundler",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/basic-file-based-codesplitting/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"strict": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/basic-file-based/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"strict": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/basic-react-query-file-based/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"jsx": "react-jsx",
"target": "ESNext",
"moduleResolution": "Bundler",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/basic-react-query/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/basic-ssr-file-based/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"module": "esnext",
"types": ["vite/client"],
"moduleResolution": "Bundler",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/basic-ssr-streaming-file-based/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"module": "esnext",
"types": ["vite/client"],
"moduleResolution": "bundler",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/basic-virtual-file-based/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"module": "Preserve",
"moduleResolution": "Bundler",
"target": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/basic-virtual-inside-file-based/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"module": "Preserve",
"moduleResolution": "Bundler",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/basic/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/deferred-data/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"strict": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/kitchen-sink-file-based/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"strict": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/kitchen-sink-react-query/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/kitchen-sink/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/location-masking/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/navigation-blocking/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"strict": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/quickstart-esbuild-file-based/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"strict": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/quickstart-file-based/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"strict": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/quickstart/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"strict": true,
"esModuleInterop": true,
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"target": "ESNext",
"moduleResolution": "Bundler",
"module": "ESNext",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion examples/react/scroll-restoration/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"jsx": "react-jsx",
"target": "ESNext",
"moduleResolution": "Bundler",
"lib": ["DOM", "DOM.Iterable", "ES2022"]
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"skipLibCheck": true
}
}
3 changes: 2 additions & 1 deletion packages/create-router/templates/core/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"jsx": "react-jsx",
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Bundler"
"moduleResolution": "Bundler",
"skipLibCheck": true
}
}

0 comments on commit f44e2a2

Please sign in to comment.