Commit b38bea4
Fix Render deployment TypeScript build errors
**Problem**: Render builds failed because TypeScript dependencies were in devDependencies,
which aren't installed in NODE_ENV=production builds.
**Solutions**:
- Move TypeScript and @types/* packages to dependencies for production builds
- Update tsconfig.json to only include production source files (exclude test files)
- Ensures clean production builds without test/vitest dependencies
**Fixed errors**:
- Cannot find module 'vitest'
- Could not find declaration files for express, cors, body-parser
- Implicit 'any' type errors
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 1b16b54 commit b38bea4
2 files changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 20 | + | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
26 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
0 commit comments