feat(16-01): create Vite + React + TypeScript project

- packages/web/ with Vite dev server, React 19, TypeScript
- Server proxy /trpc -> http://127.0.0.1:3847 for CORS-free dev
- Root npm workspaces configured (packages/*)
- dev:web script for workspace dev server
This commit is contained in:
Lukas May
2026-02-04 17:10:15 +01:00
parent f5f25c4854
commit 99348e0650
9 changed files with 104 additions and 1 deletions

23
packages/web/package.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "@codewalk-district/web",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
"lint": "tsc --noEmit"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.3.4",
"typescript": "^5.7.3",
"vite": "^6.1.0"
}
}