Scaffold monorepo: engine, server, and web packages

npm workspaces with three TypeScript packages: @wizwar/engine (pure
game logic), @wizwar/server (Node websocket authority), @wizwar/web
(Svelte 5 + Vite client). Server handshake and client build verified.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Eric Wagoner
2026-08-15 18:20:16 -04:00
co-authored by Claude Fable 5
commit 34ede9c44c
17 changed files with 2644 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
{
"name": "@wizwar/web",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"typecheck": "svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
"@wizwar/engine": "*"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^4.0.0",
"svelte": "^5.0.0",
"svelte-check": "^4.0.0",
"typescript": "^5.6.0",
"vite": "^5.4.0"
}
}