Commit 52f8eb3
fix(webhooks): split webhook-ingest tsconfig so Docker build has rootDir
TS 6 requires explicit rootDir when the inferred common source directory
collapses to a single subtree. In the Docker build context only src/ is
COPYed (no test/), so tsc infers rootDir=./src and refuses to emit unless
told so explicitly.
Split: tsconfig.json now only includes src/ (compilation entry), and a new
tsconfig.test.json overlays src/ + test/ + *.config.ts for tsc --noEmit.
The typecheck script points at the test config so test code keeps being
checked at PR time.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent bec650d commit 52f8eb3
3 files changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | | - | |
37 | | - | |
| 36 | + | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments