build(deps): migrate CDK app ts-node->tsx, adopt TypeScript 7 (INFRA-183) #10
No reviewers
Labels
No labels
bug
ci
dependencies
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/rustdesk-server#10
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?
Summary
Migrates the CDK app runner from
ts-nodetotsxso TypeScript 7 can be adopted. ts-node 10.x is incompatible with the TS7 compiler API —cdk synthfails with "Cannot read properties of undefined (reading 'fileExists')". Mirrors the org's sh-mcp setup.Changes
cdk.json: app commandnpx ts-node bin/app.ts->npx tsx bin/app.ts(bin path unchanged)package.json: addtsxpinned to4.23.0(same as sh-mcp); bumptypescript~6.0.3->~7.0.2package-lock.json: regeneratedts-node was never a real devDependency here — it was only ever npx-installed, so nothing to remove from
devDependencies.Verification
npx cdk synth --quiet— exit 0npm run build(tsc) — exit 0npm audit— 0 vulnerabilitiesINFRA-183
✅ Open SWE Review: No issues found
Open SWE reviewed this PR and found no potential bugs to report.
Open in Web