From c3b68331722656359eb408e8dff7dae830f98b78 Mon Sep 17 00:00:00 2001 From: Hide_D Date: Mon, 5 Jan 2026 15:07:14 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=AA=A8=EB=93=A0=20=ED=8C=A8=ED=82=A4?= =?UTF-8?q?=EC=A7=80=EC=97=90=EC=84=9C=20=ED=83=80=EC=9E=85=20=EC=B2=B4?= =?UTF-8?q?=ED=81=AC=20=EB=AA=85=EB=A0=B9=EC=96=B4=EB=A5=BC=20--noEmit?= =?UTF-8?q?=EC=97=90=EC=84=9C=20-b=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20?= =?UTF-8?q?=EB=B0=8F=20@sammo-ts/game-api=20=EC=9D=98=EC=A1=B4=EC=84=B1=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/game-api/package.json | 2 +- app/game-frontend/package.json | 2 +- app/gateway-api/package.json | 2 +- app/gateway-frontend/package.json | 1 + app/gateway-frontend/tsconfig.json | 14 ++++++++++++-- packages/logic/package.json | 2 +- pnpm-lock.yaml | 3 +++ tools/build-scripts/package.json | 2 +- 8 files changed, 21 insertions(+), 7 deletions(-) diff --git a/app/game-api/package.json b/app/game-api/package.json index 68d4c1c..e85594c 100644 --- a/app/game-api/package.json +++ b/app/game-api/package.json @@ -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", diff --git a/app/game-frontend/package.json b/app/game-frontend/package.json index 63b276d..e3d57c0 100644 --- a/app/game-frontend/package.json +++ b/app/game-frontend/package.json @@ -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", diff --git a/app/gateway-api/package.json b/app/gateway-api/package.json index 9c4f6a9..6f30707 100644 --- a/app/gateway-api/package.json +++ b/app/gateway-api/package.json @@ -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", diff --git a/app/gateway-frontend/package.json b/app/gateway-frontend/package.json index 264b7b7..2fe1963 100644 --- a/app/gateway-frontend/package.json +++ b/app/gateway-frontend/package.json @@ -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", diff --git a/app/gateway-frontend/tsconfig.json b/app/gateway-frontend/tsconfig.json index d1decc0..4d9994f 100644 --- a/app/gateway-frontend/tsconfig.json +++ b/app/gateway-frontend/tsconfig.json @@ -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" } + ] } diff --git a/packages/logic/package.json b/packages/logic/package.json index fb38154..d6b0ecc 100644 --- a/packages/logic/package.json +++ b/packages/logic/package.json @@ -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:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a9ba0c3..277358b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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) diff --git a/tools/build-scripts/package.json b/tools/build-scripts/package.json index d01d6f6..0933e1d 100644 --- a/tools/build-scripts/package.json +++ b/tools/build-scripts/package.json @@ -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" } }