Set up pnpm workspaces with three packages: a shared Zod-schema package, a Hono-based API exported as a library, and a Vite/React/ Tailwind frontend that mounts the API via Cloudflare Pages Functions. Storage is abstracted behind an S3-compatible provider so the project can migrate from R2 to a self-hosted MinIO without code changes. https://claude.ai/code/session_01TPBqgcSJMppgrpiq7fLywL
12 lines
319 B
JSON
12 lines
319 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
"jsx": "react-jsx",
|
|
"noEmit": true,
|
|
"types": ["vite/client", "@cloudflare/workers-types"]
|
|
},
|
|
"include": ["src/**/*", "functions/**/*"],
|
|
"references": [{ "path": "./tsconfig.node.json" }]
|
|
}
|