Skip to content

Commit

Permalink
feat: typescript upgraded to v5 (refinedev#5754)
Browse files Browse the repository at this point in the history
* chore: upgrade typescript to v5

* test(e2e): disable sourcemaps for cypress builds

* test(e2e): update tsconfig for cypress

* chore(mern-dashboard-client): fix fallback values

---------

Co-authored-by: Ali Emir Şen <[email protected]>
  • Loading branch information
alicanerdurmaz and aliemir authored Mar 20, 2024
1 parent ae7e593 commit 56ed144
Show file tree
Hide file tree
Showing 312 changed files with 19,048 additions and 4,069 deletions.
7 changes: 7 additions & 0 deletions .changeset/fast-grapes-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@refinedev/airtable": patch
---

chore: TypeScript upgraded to [v5.x.x](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html). #5752

fixed: Some type errors are fixed due to the TypeScript upgrade.
7 changes: 7 additions & 0 deletions .changeset/five-emus-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@refinedev/react-hook-form": patch
---

chore: TypeScript upgraded to [v5.x.x](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html). #5752

fixed: Some type errors are fixed due to the TypeScript upgrade.
7 changes: 7 additions & 0 deletions .changeset/little-dingos-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"create-refine-app": patch
---

chore: TypeScript upgraded to [v5.x.x](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html). #5752

fixed: Some type errors are fixed due to the TypeScript upgrade.
35 changes: 35 additions & 0 deletions .changeset/perfect-planets-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
"@refinedev/simple-rest": patch
"@refinedev/strapi-v4": patch
"@refinedev/supabase": patch
"@refinedev/ui-tests": patch
"@refinedev/ui-types": patch
"@refinedev/strapi": patch
"@refinedev/react-table": patch
"@refinedev/nextjs-router": patch
"@refinedev/react-router-v6": patch
"@refinedev/remix-router": patch
"@refinedev/nestjsx-crud": patch
"@refinedev/nestjs-query": patch
"@refinedev/mui": patch
"@refinedev/medusa": patch
"@refinedev/mantine": patch
"@refinedev/kbar": patch
"@refinedev/inferencer": patch
"@refinedev/hasura": patch
"@refinedev/graphql": patch
"@refinedev/devtools-ui": patch
"@refinedev/devtools-internal": patch
"@refinedev/devtools-server": patch
"@refinedev/devtools-shared": patch
"@refinedev/devtools": patch
"@refinedev/demo-sidebar": patch
"@refinedev/core": patch
"@refinedev/codemod": patch
"@refinedev/cli": patch
"@refinedev/chakra-ui": patch
"@refinedev/appwrite": patch
"@refinedev/ably": patch
---

chore: TypeScript upgraded to [v5.x.x](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html). #5752
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
}
},
"typescript.tsdk": "node_modules/typescript/lib"
}
25 changes: 25 additions & 0 deletions cypress/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"include": [
"../**/cypress/**/*.ts",
"../**/cypress.config.ts"
],
"compilerOptions": {
"resolveJsonModule": true,
"esModuleInterop": false,
"sourceMap": false,
"types": ["cypress", "chai"],
"target": "ESNext",
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "ESNext",
"moduleResolution": "Node",
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
}
}
Loading

0 comments on commit 56ed144

Please sign in to comment.