chore: switch web to port 9000 (test.04080616.xyz) + exclude test files from bot tsc build

- Local dev WEB_PORT now 9000 to match the planned dev/staging domain
  test.04080616.xyz. Production deployment uses port 8100 mapped to
  rexwa.04080616.xyz (configured in plan 4).
- apps/bot/tsconfig.json: exclude src/**/*.test.ts from the production
  build (vitest types only present at dev time, mirrors the same fix we
  made earlier for packages/shared).
This commit is contained in:
yiekheng 2026-05-09 23:07:29 +08:00
parent 17f9ee179f
commit c9960aae24
3 changed files with 7 additions and 4 deletions

View File

@ -6,5 +6,5 @@ BOT_HEALTH_PORT=8081
BOT_LOG_LEVEL=debug BOT_LOG_LEVEL=debug
SEED_OPERATOR_TELEGRAM_ID=818380985 SEED_OPERATOR_TELEGRAM_ID=818380985
SEED_OPERATOR_NAME="yiekheng (dev)" SEED_OPERATOR_NAME="yiekheng (dev)"
WEB_PORT=8100 WEB_PORT=9000
AUTH_SECRET=86f656580a58f03b6ccb43d257e0e801ecd5356e042e8886b3c7c569e29ff13c AUTH_SECRET=86f656580a58f03b6ccb43d257e0e801ecd5356e042e8886b3c7c569e29ff13c

View File

@ -4,5 +4,6 @@
"outDir": "./dist", "outDir": "./dist",
"rootDir": "./src" "rootDir": "./src"
}, },
"include": ["src/**/*"] "include": ["src/**/*"],
"exclude": ["src/**/*.test.ts"]
} }

View File

@ -14,6 +14,8 @@ BOT_LOG_LEVEL=info
SEED_OPERATOR_TELEGRAM_ID= SEED_OPERATOR_TELEGRAM_ID=
SEED_OPERATOR_NAME=Operator SEED_OPERATOR_NAME=Operator
# === Web (placeholder for plan 3) === # === Web ===
WEB_PORT=8100 # Port the Next.js container exposes on the host. Production deployment
# (rexwa.04080616.xyz) uses 8100; dev/staging (test.04080616.xyz) uses 9000.
WEB_PORT=9000
AUTH_SECRET= AUTH_SECRET=