Restructure into pnpm monorepo with game shell, docs, and SpacetimeDB backend

- Restructure flat static prototype into pnpm workspace monorepo
- apps/game: playable shell with R3F 3D scene, HUD, SpacetimeDB connection
- apps/docs: design docs and prototypes
- apps/site: landing page
- packages/ui: shared Button and Panel primitives
- services/spacetimedb: backend module (9 tables, 11 reducers)
- Archive legacy static files to archive/legacy-static/
- Game loop: connect, undock, target, approach, dock, mine, sell
- Add pnpm-workspace.yaml, tsconfig.base.json, spacetime.json
This commit is contained in:
2026-05-31 17:56:56 -04:00
parent 436f282fa8
commit 316a44661b
234 changed files with 3717 additions and 101 deletions

View File

@@ -1,29 +1,16 @@
{
"name": "space-game",
"name": "void-nav",
"private": true,
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite --host 0.0.0.0",
"build": "tsc --noEmit && vite build",
"preview": "vite preview --host 0.0.0.0"
},
"dependencies": {
"@react-three/drei": "^9.122.0",
"@react-three/fiber": "^8.17.10",
"@tailwindcss/vite": "^4.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.30.1",
"tailwindcss": "^4.3.0",
"three": "^0.160.0",
"vite": "^7.0.0"
},
"devDependencies": {
"@types/react": "^18.3.23",
"@types/react-dom": "^18.3.7",
"@types/three": "^0.160.0",
"typescript": "^5.8.3"
"dev:docs": "pnpm --filter @void-nav/docs dev --port 5173",
"dev:site": "pnpm --filter @void-nav/site dev --port 5174",
"dev:game": "pnpm --filter @void-nav/game dev --port 5175",
"dev:db": "spacetime dev --server local",
"build": "pnpm -r --if-present build",
"check": "pnpm -r --if-present check",
"generate:bindings": "spacetime generate"
},
"packageManager": "pnpm@9.15.0"
}