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
22 lines
378 B
JSON
22 lines
378 B
JSON
{
|
|
"name": "@leetete/shared",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts"
|
|
},
|
|
"scripts": {
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.6.3"
|
|
}
|
|
}
|