Some checks failed
Deploy to Production / test (push) Failing after 35s
Backend: - Fix session never being attached to ws.data at upgrade time - Add GameServer class: connection registry, per-connection room tracking, automatic room cleanup on disconnect via ws.data.rooms - Replace ws-handler.ts with typed event-driven architecture using mitt - Remove redundant subscription tracking from RoomManager - Add JOIN_RESULT with player/spectator lists replacing error-as-control-flow - Add SESSION_REPLACED for multi-tab same-account detection - Add FILL_ROOM command for admin solo testing (fills empty slots with host) - Fix dual-schema routing; remove game types from WsMessageSchema - Per-player personalized views sent directly after each action Chess plugin: - Allow same-player (solo) mode: skip color/turn ownership checks - Fix forfeit and disconnect handling in solo mode (winner: null) Frontend: - Click-to-move with legal move dots and last-move highlight - Auto-scroll move history, forfeit confirmation, turn-reactive board border - JOIN_RESULT initialises player/spectator lists immediately on join - Contextual connecting state, player slot cards in waiting room - Copy-invite button with Copied! flash, Back to Lobby CTA on finish - Session-replaced warning banner with Rejoin here action - Lobby passes preferAs intent through route state - Admin waiting room shows Start Solo Test button Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
51 lines
2.0 KiB
JSON
51 lines
2.0 KiB
JSON
{
|
|
"name": "app",
|
|
"version": "1.1.5",
|
|
"module": "bot/index.ts",
|
|
"type": "module",
|
|
"private": true,
|
|
"workspaces": ["panel"],
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"drizzle-kit": "^0.31.8"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"scripts": {
|
|
"dev": "bun --watch bot/index.ts",
|
|
"logs": "bash shared/scripts/logs.sh",
|
|
"remote": "bash shared/scripts/remote.sh",
|
|
"db:generate": "docker compose run --rm app drizzle-kit generate",
|
|
"db:migrate": "docker compose run --rm app drizzle-kit migrate",
|
|
"generate": "bun run db:generate",
|
|
"migrate": "bun run db:migrate",
|
|
"db:push": "docker compose run --rm app drizzle-kit push",
|
|
"db:push:local": "drizzle-kit push",
|
|
"db:studio": "drizzle-kit studio --port 4983 --host 0.0.0.0",
|
|
"db:backup": "bash shared/scripts/db-backup.sh",
|
|
"db:restore": "bash shared/scripts/db-restore.sh",
|
|
"db:migrate-config": "docker compose run --rm app bun shared/scripts/migrate-config-to-db.ts",
|
|
"db:migrate-game-config": "docker compose run --rm app bun shared/scripts/migrate-game-settings-to-db.ts",
|
|
"db:migrate-all": "docker compose run --rm app sh -c 'bun shared/scripts/migrate-config-to-db.ts && bun shared/scripts/migrate-game-settings-to-db.ts'",
|
|
"test": "bash shared/scripts/test-sequential.sh",
|
|
"test:ci": "bash shared/scripts/test-sequential.sh --integration",
|
|
"test:simulate-ci": "bash shared/scripts/simulate-ci.sh",
|
|
"panel:dev": "cd panel && bun run dev",
|
|
"panel:build": "cd panel && bun run build",
|
|
"deploy": "bash shared/scripts/deploy.sh",
|
|
"deploy:remote": "bash shared/scripts/deploy-remote.sh",
|
|
"setup-server": "bash shared/scripts/setup-server.sh",
|
|
"docker:cleanup": "bash shared/scripts/docker-cleanup.sh"
|
|
},
|
|
"dependencies": {
|
|
"@napi-rs/canvas": "^0.1.89",
|
|
"chess.js": "^1.4.0",
|
|
"discord.js": "^14.25.1",
|
|
"dotenv": "^17.2.3",
|
|
"drizzle-orm": "^0.44.7",
|
|
"mitt": "^3.0.1",
|
|
"postgres": "^3.4.8",
|
|
"zod": "^4.3.6"
|
|
}
|
|
} |