build(deps): migrate CDK app ts-node->tsx, adopt TypeScript 7 (INFRA-183) #10

Merged
amoussa1229 merged 1 commit from INFRA-183-tsnode-to-tsx into main 2026-07-08 21:33:56 +00:00
amoussa1229 commented 2026-07-08 21:19:03 +00:00 (Migrated from github.com)

Summary

Migrates the CDK app runner from ts-node to tsx so TypeScript 7 can be adopted. ts-node 10.x is incompatible with the TS7 compiler API — cdk synth fails with "Cannot read properties of undefined (reading 'fileExists')". Mirrors the org's sh-mcp setup.

Changes

  • cdk.json: app command npx ts-node bin/app.ts -> npx tsx bin/app.ts (bin path unchanged)
  • package.json: add tsx pinned to 4.23.0 (same as sh-mcp); bump typescript ~6.0.3 -> ~7.0.2
  • package-lock.json: regenerated

ts-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 0
  • npm run build (tsc) — exit 0
  • npm audit — 0 vulnerabilities
  • pre-push security scanners — RESULT: PASS

INFRA-183

## Summary Migrates the CDK app runner from `ts-node` to `tsx` so TypeScript 7 can be adopted. ts-node 10.x is incompatible with the TS7 compiler API — `cdk synth` fails with "Cannot read properties of undefined (reading 'fileExists')". Mirrors the org's sh-mcp setup. ## Changes - `cdk.json`: app command `npx ts-node bin/app.ts` -> `npx tsx bin/app.ts` (bin path unchanged) - `package.json`: add `tsx` pinned to `4.23.0` (same as sh-mcp); bump `typescript` `~6.0.3` -> `~7.0.2` - `package-lock.json`: regenerated ts-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 0 - `npm run build` (tsc) — exit 0 - `npm audit` — 0 vulnerabilities - pre-push security scanners — RESULT: PASS INFRA-183
seahaven-openswe[bot] (Migrated from github.com) reviewed 2026-07-08 21:20:21 +00:00
seahaven-openswe[bot] (Migrated from github.com) left a comment

✅ Open SWE Review: No issues found

Open SWE reviewed this PR and found no potential bugs to report.

Open in Web

## ✅ Open SWE Review: No issues found Open SWE reviewed this PR and found no potential bugs to report. [Open in Web](https://openswe.seahaven.com/agents/reviews/Sea-Haven-Industries/rustdesk-server/10) <!-- open-swe-reviewer pr=10 -->
This repo is archived. You cannot comment on pull requests.
No description provided.