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

Merged
amoussa1229 merged 1 commit from INFRA-183-tsnode-to-tsx into main 2026-07-08 21:48:14 +00:00
amoussa1229 commented 2026-07-08 21:22:32 +00:00 (Migrated from github.com)

Completes the TypeScript 7 adoption for seahaven-slack-bot. PR #88 merged the dependency bumps but held back typescript 6->7 because 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.ts
  • package.json: remove ts-node, add tsx@4.23.0, bump typescript ~6.0.3 -> ~7.0.2

Verification

  • cdk synth exit 0 (the exact path that failed under ts-node+TS7).
  • npm run build (tsc 7.0.2) exit 0.
  • npm audit 0 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.

Completes the TypeScript 7 adoption for seahaven-slack-bot. PR #88 merged the dependency bumps but held back `typescript 6->7` because 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.ts` - `package.json`: remove `ts-node`, add `tsx@4.23.0`, bump `typescript` ~6.0.3 -> ~7.0.2 ## Verification - `cdk synth` exit 0 (the exact path that failed under ts-node+TS7). - `npm run build` (tsc 7.0.2) exit 0. - `npm audit` 0 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.
This repo is archived. You cannot comment on pull requests.
No description provided.