fix CI SPA prerender build
Some checks failed
CI / Typecheck, test & build (push) Failing after 2m3s
CI / Deploy to Cloudflare Workers (push) Has been skipped

This commit is contained in:
2026-08-31 01:22:01 +08:00
parent a0d0bd8b08
commit 848de4e309
5 changed files with 265 additions and 419 deletions

View File

@ -13,14 +13,14 @@
"test": "vitest run",
"gen:api": "node scripts/gen-api.mjs",
"typecheck": "tsc --noEmit",
"cf:build": "vite build && node -e \"require('fs').copyFileSync('.output/public/_shell.html','.output/public/index.html')\"",
"cf:build": "vite build && node -e \"require('fs').copyFileSync('dist/client/_shell.html','dist/client/index.html')\"",
"cf:deploy": "pnpm cf:build && wrangler deploy"
},
"dependencies": {
"@hookform/resolvers": "^5.4.0",
"@tailwindcss/vite": "^4.1.18",
"@tanstack/react-devtools": "latest",
"@tanstack/react-query": "^5.101.2",
"@tanstack/react-query": "^5.102.8",
"@tanstack/react-router": "latest",
"@tanstack/react-router-devtools": "latest",
"@tanstack/react-router-ssr-query": "latest",
@ -33,7 +33,6 @@
"i18next": "^26.3.4",
"lucide-react": "^0.545.0",
"next-themes": "^0.4.6",
"nitro": "npm:nitro-nightly@latest",
"radix-ui": "^1.6.2",
"react": "^19.2.0",
"react-dom": "^19.2.0",