diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2026-11-08 21:56:29 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2026-11-08 21:56:29 +0100 |
| commit | f6955e34489c79f6d5b764cb6a39b1387366b433 (patch) | |
| tree | 83dad99ad81964036820468ad23fdc9ebe5c20a5 /server/pubspec.yaml | |
| parent | 0578ed0e5a08e6790a2e02416c4bf79f8c471f2d (diff) | |
Phase 0: project scaffolding
- server/: Dart game-server package (shelf + WebSocket) with the
hello/welcome handshake, ping/pong, error responses, healthz,
static SPA serving with SPA fallback, and smoke tests (5/5)
- web/: Svelte 5 + TypeScript SPA with the protocol client,
connection-status page, vitest and svelte-check; Vite dev
server proxies /ws to the Dart server
- game data assets copied from the read-only reference app into
server/assets/ (data, images, i18n, fonts, testData)
- PLAN.md implementation plan and progress tracker; README
rewritten for the web app; AGPLv3 LICENSE inherited from the
reference app; .gitignore; scripts/ci.sh (full pipeline)
- CLAUDE.md project guidance
Verified: scripts/ci.sh passes end-to-end; live smoke confirms the
server serves the built SPA at / and answers a WebSocket hello with
a welcome message.
Diffstat (limited to 'server/pubspec.yaml')
| -rw-r--r-- | server/pubspec.yaml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/server/pubspec.yaml b/server/pubspec.yaml new file mode 100644 index 0000000..b020c1d --- /dev/null +++ b/server/pubspec.yaml @@ -0,0 +1,20 @@ +name: x_haven_server +description: X-Haven web server — owns all game state and serves the game page. +publish_to: 'none' +version: 0.1.0 + +environment: + sdk: '>=3.11.0 <4.0.0' + +dependencies: + logging: ^1.3.0 + path: ^1.9.0 + shelf: ^1.4.0 + shelf_router: ^1.1.0 + shelf_static: ^1.1.2 + shelf_web_socket: ^2.0.1 + web_socket_channel: ^3.0.0 + +dev_dependencies: + lints: ^5.0.0 + test: ^1.25.0 |
