fix(deploy): configure pnpm allowBuilds and add Cloudflare deployment setup
This commit is contained in:
+5
-8
@@ -12,7 +12,9 @@
|
||||
"preview": "vite preview",
|
||||
"test": "vitest run",
|
||||
"gen:api": "node scripts/gen-api.mjs",
|
||||
"typecheck": "tsc --noEmit"
|
||||
"typecheck": "tsc --noEmit",
|
||||
"cf:build": "vite build && node -e \"require('fs').copyFileSync('.output/public/_shell.html','.output/public/index.html')\"",
|
||||
"cf:deploy": "pnpm cf:build && wrangler deploy"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hookform/resolvers": "^5.4.0",
|
||||
@@ -58,12 +60,7 @@
|
||||
"openapi-typescript": "^7.13.0",
|
||||
"typescript": "^6.0.2",
|
||||
"vite": "^8.0.0",
|
||||
"vitest": "^4.1.5"
|
||||
},
|
||||
"pnpm": {
|
||||
"onlyBuiltDependencies": [
|
||||
"esbuild",
|
||||
"lightningcss"
|
||||
]
|
||||
"vitest": "^4.1.5",
|
||||
"wrangler": "^4.111.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user