feat(battle-sim): add battle simulation scripts and refactor schemas

This commit is contained in:
2025-12-30 11:27:37 +00:00
parent 56e662a7db
commit 4de688d642
4 changed files with 103 additions and 96 deletions
+2
View File
@@ -6,6 +6,8 @@
"scripts": {
"build": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/game-api",
"dev": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/game-api --watch",
"worker": "GAME_API_ROLE=battle-sim-worker node dist/index.js",
"worker:dev": "GAME_API_ROLE=battle-sim-worker tsdown -c ../../tsdown.config.ts -F @sammo-ts/game-api --watch",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "vitest run --config vitest.config.ts",
"typecheck": "tsc --noEmit"