feat(games): register chess plugin on server startup

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
syntaxbullet
2026-04-02 13:30:57 +02:00
parent 3bdb720e4a
commit 3b53c9cb5f

View File

@@ -3,9 +3,14 @@ import { env } from "@shared/lib/env";
import { join } from "node:path";
import { initializeConfig } from "@shared/lib/config";
import { registerDomainEventListeners } from "@shared/lib/eventWiring";
import { gameRegistry } from "@shared/games/registry";
import { chessPlugin } from "@shared/games/chess/plugin";
import { startWebServerFromRoot } from "../api/src/server";
// Register game plugins
gameRegistry.register(chessPlugin);
// Initialize config from database
await initializeConfig();