feat: 모든 패키지에서 타입 체크 명령어를 --noEmit에서 -b로 변경 및 @sammo-ts/game-api 의존성 추가

This commit is contained in:
2026-01-05 15:07:14 +00:00
parent 1861cbc9c6
commit c3b6833172
8 changed files with 21 additions and 7 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
"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"
"typecheck": "tsc -b"
},
"devDependencies": {
"tsdown": "^0.18.4",
+1 -1
View File
@@ -8,7 +8,7 @@
"dev": "node -e \"console.log('dev not configured')\"",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "node -e \"console.log('test not configured')\"",
"typecheck": "tsc --noEmit"
"typecheck": "tsc -b"
},
"dependencies": {
"@vueuse/core": "^13.9.0",
+1 -1
View File
@@ -9,7 +9,7 @@
"orchestrator": "GATEWAY_ROLE=orchestrator node dist/index.js",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "vitest run --config vitest.config.ts",
"typecheck": "tsc --noEmit"
"typecheck": "tsc -b"
},
"devDependencies": {
"tsdown": "^0.18.4",
+1
View File
@@ -12,6 +12,7 @@
},
"dependencies": {
"@sammo-ts/common": "workspace:*",
"@sammo-ts/game-api": "workspace:*",
"@trpc/client": "^11.8.1",
"@trpc/server": "^11.8.1",
"@vueuse/core": "^13.9.0",
+12 -2
View File
@@ -31,9 +31,19 @@
"@sammo-ts/logic": ["../../packages/logic/src/index.ts"],
"@sammo-ts/logic/*": ["../../packages/logic/src/*"],
"@sammo-ts/game-engine": ["../../app/game-engine/src/index.ts"],
"@sammo-ts/game-engine/*": ["../../app/game-engine/src/*"]
"@sammo-ts/game-engine/*": ["../../app/game-engine/src/*"],
"@sammo-ts/game-api": ["../../app/game-api/src/index.ts"],
"@sammo-ts/game-api/*": ["../../app/game-api/src/*"]
}
},
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
"references": [{ "path": "./tsconfig.node.json" }]
"references": [
{ "path": "./tsconfig.node.json" },
{ "path": "../../packages/common" },
{ "path": "../../packages/infra" },
{ "path": "../../packages/logic" },
{ "path": "../../app/game-engine" },
{ "path": "../../app/game-api" },
{ "path": "../../app/gateway-api" }
]
}
+1 -1
View File
@@ -16,7 +16,7 @@
"dev": "tsdown -c ../../tsdown.config.ts -F @sammo-ts/logic --watch",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "vitest run --config vitest.config.ts",
"typecheck": "tsc --noEmit"
"typecheck": "tsc -b"
},
"dependencies": {
"@sammo-ts/common": "workspace:*",
+3
View File
@@ -164,6 +164,9 @@ importers:
'@sammo-ts/common':
specifier: workspace:*
version: link:../../packages/common
'@sammo-ts/game-api':
specifier: workspace:*
version: link:../game-api
'@trpc/client':
specifier: ^11.8.1
version: 11.8.1(@trpc/server@11.8.1(typescript@5.9.3))(typescript@5.9.3)
+1 -1
View File
@@ -8,7 +8,7 @@
"dev": "node -e \"console.log('dev not configured')\"",
"lint": "node -e \"console.log('lint not configured')\"",
"test": "node -e \"console.log('test not configured')\"",
"typecheck": "tsc -p tsconfig.json --noEmit",
"typecheck": "tsc -b",
"build:server": "node ./build-server.mjs"
}
}