build(deps): migrate CDK app ts-node->tsx, adopt typescript 7 (INFRA-183) (#39)
Some checks failed
Deploy / deploy (push) Has been cancelled

ts-node 10.x is incompatible with the TypeScript 7 compiler API (cdk synth
fails with "Cannot read properties of undefined (reading 'fileExists')").
Switch the cdk.json app runner to tsx (pinned 4.23.0, matching sh-mcp) and
bump typescript to ~7.0.2. Synthesized templates are byte-identical across
all six stacks; toolchain-only change.
This commit is contained in:
Adam Moussa 2026-07-08 17:48:30 -04:00 • committed by GitHub
parent 142e221c47
commit 46394f7c75
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 843 additions and 151 deletions

View file

@ -1,5 +1,5 @@
{
"app": "npx ts-node bin/app.ts",
"app": "npx tsx bin/app.ts",
"watch": {
"include": ["**"],
"exclude": [

988
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -16,8 +16,8 @@
"@types/source-map-support": "^0.5.10",
"aws-cdk": "^2.1129.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2",
"typescript": "~6.0.3"
"tsx": "4.23.0",
"typescript": "~7.0.2"
},
"dependencies": {
"aws-cdk-lib": "2.261.0",