Commit caf2899
committed
fix(ci): generate tfstate stub before server build in integration script
app:test:integration called `npm run build -w @gsd/server` directly,
bypassing the game-server-manager prebuild hook that runs
embed-tfstate.mjs. Since generated/tfstate.ts is in .gitignore and
only created by that hook, tsc -b failed with "Cannot find module
'../generated/tfstate.js'". Prepend the embed script so the stub
(null in CI) is written before tsc runs.
https://claude.ai/code/session_01UAVwJvuBtUaDYFXtJRheww1 parent 27022d1 commit caf2899
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
0 commit comments