This repository has been archived on 2026-06-09. You can view files and clone it, but cannot push or open issues or pull requests.
wedding-app/apps/web/package.json
Claude 89b1221706
fix: web build typescript errors
- Drop tsconfig.node.json: composite + noEmit conflict, and the
  vite.config.ts doesn't need its own project / node types.
- Inline vite.config.ts in the main tsconfig include list.
- Switch web build from `tsc -b` to `tsc --noEmit` since there are
  no project references anymore.
- Make b64urlDecode return Uint8Array<ArrayBuffer> so its output
  is accepted by crypto.subtle.verify under stricter lib types.
- Cast the Pages EventContext to ExecutionContext when forwarding
  to Hono; props is unused at runtime.

https://claude.ai/code/session_01TPBqgcSJMppgrpiq7fLywL
2026-05-03 23:56:44 +00:00

35 lines
945 B
JSON

{
"name": "@leetete/web",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc --noEmit && vite build",
"preview": "vite preview",
"typecheck": "tsc --noEmit",
"deploy": "wrangler pages deploy dist --project-name stefanieeleandro",
"pages:dev": "wrangler pages dev dist --compatibility-flags=nodejs_compat"
},
"dependencies": {
"@leetete/api": "workspace:*",
"@leetete/shared": "workspace:*",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.28.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20241218.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.4",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.17",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"wrangler": "^3.95.0"
}
}