agenthub/tsconfig.build.json
Paperclip FoundingEngineer c84de0f4f4
Some checks are pending
CI / lint + typecheck + tests (push) Waiting to run
CI / docker build + push (push) Blocked by required conditions
fix(agenthub): Compile migrations and expose postgres port for diagnosis
Fixes BARAAA-64 DB migration and auth issues:

- Update tsconfig.build.json to compile scripts/migrate.ts (was excluded)
- Create entrypoint.sh to run migrations before server start
- Update Dockerfile to build migrate.ts and use migration entrypoint
- Expose postgres port 15432 temporarily for password diagnosis

This ensures tables are created before app starts and allows connecting
to postgres from host to diagnose 28P01 auth errors.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-02 10:41:21 +00:00

13 lines
329 B
JSON

{
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": false,
"outDir": "dist",
"module": "ESNext",
"moduleResolution": "Bundler",
"declaration": false,
"sourceMap": true
},
"include": ["src/**/*", "scripts/migrate.ts"],
"exclude": ["node_modules", "dist", "test", "vitest.config.ts"]
}