f6b6edee23
@tanstack/start-plugin-core@1.168.0 的 dist/esm/index.js 在 Vite 场景 下也会静态导入 ./rsbuild/planning.js,而后者硬依赖被标为 optional peer 的 @rsbuild/core,导致 vite build 启动阶段 ERR_MODULE_NOT_FOUND。 引入 bun patch 只保留 vite 相关导出(删掉 RSBUILD_ENVIRONMENT_NAMES 和 tanStackStartRsbuild),不安装 rsbuild 全家桶(rspack 很重)。 等上游修复再移除本补丁。
66 lines
2.3 KiB
JSON
66 lines
2.3 KiB
JSON
{
|
|
"name": "fullstack-starter",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "bunx --bun vite build",
|
|
"cli": "bun bin.ts",
|
|
"compile": "bun compile.ts",
|
|
"compile:darwin": "bun run compile:darwin:arm64 && bun run compile:darwin:x64",
|
|
"compile:darwin:arm64": "bun compile.ts --target bun-darwin-arm64",
|
|
"compile:darwin:x64": "bun compile.ts --target bun-darwin-x64",
|
|
"compile:linux": "bun run compile:linux:x64 && bun run compile:linux:arm64",
|
|
"compile:linux:arm64": "bun compile.ts --target bun-linux-arm64",
|
|
"compile:linux:x64": "bun compile.ts --target bun-linux-x64",
|
|
"compile:windows": "bun run compile:windows:x64",
|
|
"compile:windows:x64": "bun compile.ts --target bun-windows-x64",
|
|
"db:generate": "drizzle-kit generate",
|
|
"db:migrate": "drizzle-kit migrate",
|
|
"db:push": "drizzle-kit push",
|
|
"db:studio": "drizzle-kit studio",
|
|
"dev": "bunx --bun vite dev",
|
|
"fix": "biome check --write",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@orpc/client": "^1.14.0",
|
|
"@orpc/contract": "^1.14.0",
|
|
"@orpc/openapi": "^1.14.0",
|
|
"@orpc/server": "^1.14.0",
|
|
"@orpc/tanstack-query": "^1.14.0",
|
|
"@orpc/zod": "^1.14.0",
|
|
"@t3-oss/env-core": "^0.13.11",
|
|
"@tanstack/react-query": "^5.100.1",
|
|
"@tanstack/react-router": "^1.168.23",
|
|
"@tanstack/react-router-ssr-query": "^1.166.11",
|
|
"@tanstack/react-start": "^1.167.43",
|
|
"citty": "^0.2.2",
|
|
"drizzle-orm": "0.45.2",
|
|
"drizzle-zod": "^0.8.3",
|
|
"postgres": "^3.4.9",
|
|
"react": "^19.2.5",
|
|
"react-dom": "^19.2.5",
|
|
"uuid": "^14.0.0",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.4.13",
|
|
"@tailwindcss/vite": "^4.2.4",
|
|
"@tanstack/devtools-vite": "^0.6.0",
|
|
"@tanstack/react-devtools": "^0.10.2",
|
|
"@tanstack/react-query-devtools": "^5.100.1",
|
|
"@tanstack/react-router-devtools": "^1.166.13",
|
|
"@types/bun": "^1.3.13",
|
|
"@vitejs/plugin-react": "^6.0.1",
|
|
"drizzle-kit": "0.31.10",
|
|
"nitro": "npm:nitro-nightly@3.0.1-20260423-183501-f92fb7b7",
|
|
"tailwindcss": "^4.2.4",
|
|
"typescript": "^6.0.3",
|
|
"vite": "^8.0.10"
|
|
},
|
|
"patchedDependencies": {
|
|
"@tanstack/start-plugin-core@1.168.0": "patches/@tanstack%2Fstart-plugin-core@1.168.0.patch"
|
|
}
|
|
}
|