chore(deps): add @rolldown/plugin-babel and update dependencies

- Add @rolldown/plugin-babel for React compiler support
- Update TypeScript to 6.0.2
- Update TanStack packages (@tanstack/react-query, @tanstack/react-router, @tanstack/react-start)
- Update @vitejs/plugin-react to 6.0.1
- Update Vite to 8.0.2 and Nitro nightly
- Refactor vite.config.ts to use separate babel plugin with reactCompilerPreset
This commit is contained in:
2026-03-25 09:44:13 +08:00
parent 9d1beab2e1
commit 3663f3d010
4 changed files with 120 additions and 130 deletions
+17 -16
View File
@@ -24,28 +24,29 @@
"devDependencies": {
"@biomejs/biome": "^2.4.8",
"turbo": "^2.8.20",
"typescript": "^6.0.0"
"typescript": "^6.0.2"
},
"catalog": {
"@orpc/client": "^1.13.9",
"@orpc/contract": "^1.13.9",
"@orpc/openapi": "^1.13.9",
"@orpc/server": "^1.13.9",
"@orpc/tanstack-query": "^1.13.9",
"@orpc/zod": "^1.13.9",
"@t3-oss/env-core": "^0.13.10",
"@orpc/client": "^1.13.10",
"@orpc/contract": "^1.13.10",
"@orpc/openapi": "^1.13.10",
"@orpc/server": "^1.13.10",
"@orpc/tanstack-query": "^1.13.10",
"@orpc/zod": "^1.13.10",
"@rolldown/plugin-babel": "^0.2.2",
"@t3-oss/env-core": "^0.13.11",
"@tailwindcss/vite": "^4.2.2",
"@tanstack/devtools-vite": "^0.5.5",
"@tanstack/react-devtools": "^0.9.13",
"@tanstack/react-query": "^5.94.4",
"@tanstack/react-query-devtools": "^5.94.4",
"@tanstack/react-router": "^1.168.1",
"@tanstack/react-router-devtools": "^1.166.10",
"@tanstack/react-query": "^5.95.2",
"@tanstack/react-query-devtools": "^5.95.2",
"@tanstack/react-router": "^1.168.3",
"@tanstack/react-router-devtools": "^1.166.11",
"@tanstack/react-router-ssr-query": "^1.166.10",
"@tanstack/react-start": "^1.167.2",
"@tanstack/react-start": "^1.167.6",
"@types/bun": "^1.3.11",
"@types/node": "^24.12.0",
"@vitejs/plugin-react": "^5.2.0",
"@vitejs/plugin-react": "^6.0.1",
"babel-plugin-react-compiler": "^1.0.0",
"drizzle-kit": "1.0.0-beta.15-859cf75",
"drizzle-orm": "1.0.0-beta.15-859cf75",
@@ -53,14 +54,14 @@
"electron-builder": "^26.8.1",
"electron-vite": "^5.0.0",
"motion": "^12.38.0",
"nitro": "npm:nitro-nightly@3.0.1-20260320-182900-2218d454",
"nitro": "npm:nitro-nightly@3.0.1-20260324-103046-9ce219ca",
"postgres": "^3.4.8",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"tailwindcss": "^4.2.2",
"tree-kill": "^1.2.2",
"uuid": "^13.0.0",
"vite": "^8.0.1",
"vite": "^8.0.2",
"zod": "^4.3.6"
},
"overrides": {