build(deps): migrate CDK app ts-node->tsx, adopt typescript 7 (INFRA-183) #89
No reviewers
Labels
No labels
app
bug
ci
compliance
dependencies
docker
docs
documentation
duplicate
enhancement
good first issue
help wanted
infra
invalid
javascript
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: adam/seahaven-slack-bot#89
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "INFRA-183-tsnode-to-tsx"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Completes the TypeScript 7 adoption for seahaven-slack-bot. PR #88 merged the dependency bumps but held back
typescript 6->7because the CDK app ran via ts-node, which is incompatible with the TS7 compiler API (cdk synth: 'Cannot read properties of undefined (reading fileExists)').This migrates the toolchain (matching sh-mcp, the one org CDK repo already on tsx):
cdk.json:npx ts-node --prefer-ts-exts bin/seahaven-slack-bot.ts->npx tsx bin/seahaven-slack-bot.tspackage.json: removets-node, addtsx@4.23.0, bumptypescript~6.0.3 -> ~7.0.2Verification
cdk synthexit 0 (the exact path that failed under ts-node+TS7).npm run build(tsc 7.0.2) exit 0.npm audit0 vulnerabilities.Part of the org-wide ts-node->tsx migration (INFRA-183): also door-unlock #54, syslog #11, exec-aide #75, rustdesk #10, file-share #22, account-baseline #39.