Commit 32354bb
fix(templates): fix 7 type-check bugs in NestJS/AdonisJS/Elysia/Drizzle templates
- NestJS tsconfig: add experimentalDecorators + emitDecoratorMetadata
- NestJS: guard AI, oRPC, tRPC files behind feature-flag conditionals
- NestJS: rename unused `res` → `_res` to satisfy noUnusedLocals
- AdonisJS: replace router.options() with router.route() (method doesn't exist)
- AdonisJS: fix better-auth handler to 2-arg (req, res) signature
- Elysia: remove unused `const app` variable
- Drizzle: use ./schema/index.js imports (works with both bundler and node16)
- Drizzle: add .js extension to auth barrel re-export
- Update 30 template snapshots and add batch 3 combo ledgers (30 combos, all PASS)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 82ea918 commit 32354bb
23 files changed
Lines changed: 45111 additions & 44544 deletions
File tree
- apps/cli/test/__snapshots__
- packages/template-generator
- src
- templates
- backend/server
- adonisjs/start
- base
- elysia/src
- nestjs/src
- ai
- orpc
- trpc
- db
- drizzle
- base/src/schema
- mysql/src
- postgres/src
- sqlite/src
- mikroorm/base/src/entities
- sequelize/base/src/models
- typeorm/base/src/entities
- testing
Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1267 | 1267 | | |
1268 | 1268 | | |
1269 | 1269 | | |
1270 | | - | |
| 1270 | + | |
1271 | 1271 | | |
1272 | 1272 | | |
1273 | 1273 | | |
| |||
1967 | 1967 | | |
1968 | 1968 | | |
1969 | 1969 | | |
1970 | | - | |
| 1970 | + | |
1971 | 1971 | | |
1972 | 1972 | | |
1973 | 1973 | | |
| |||
2078 | 2078 | | |
2079 | 2079 | | |
2080 | 2080 | | |
2081 | | - | |
| 2081 | + | |
2082 | 2082 | | |
2083 | 2083 | | |
2084 | 2084 | | |
| |||
2499 | 2499 | | |
2500 | 2500 | | |
2501 | 2501 | | |
2502 | | - | |
| 2502 | + | |
2503 | 2503 | | |
2504 | 2504 | | |
2505 | 2505 | | |
| |||
2999 | 2999 | | |
3000 | 3000 | | |
3001 | 3001 | | |
3002 | | - | |
| 3002 | + | |
3003 | 3003 | | |
3004 | 3004 | | |
3005 | 3005 | | |
| |||
4525 | 4525 | | |
4526 | 4526 | | |
4527 | 4527 | | |
4528 | | - | |
| 4528 | + | |
4529 | 4529 | | |
4530 | 4530 | | |
4531 | 4531 | | |
| |||
5418 | 5418 | | |
5419 | 5419 | | |
5420 | 5420 | | |
5421 | | - | |
| 5421 | + | |
5422 | 5422 | | |
5423 | 5423 | | |
5424 | 5424 | | |
| |||
5529 | 5529 | | |
5530 | 5530 | | |
5531 | 5531 | | |
5532 | | - | |
| 5532 | + | |
5533 | 5533 | | |
5534 | 5534 | | |
5535 | 5535 | | |
| |||
8642 | 8642 | | |
8643 | 8643 | | |
8644 | 8644 | | |
8645 | | - | |
| 8645 | + | |
8646 | 8646 | | |
8647 | 8647 | | |
8648 | 8648 | | |
| |||
0 commit comments