ts-node 10.x is incompatible with the TypeScript 7 compiler API (cdk synth fails with "Cannot read properties of undefined (reading 'fileExists')"). Swap the cdk.json app runner from ts-node to tsx, drop ts-node, pin tsx to 4.23.0 (matching sh-mcp), and bump typescript to ~7.0.2. Verified via cdk synth (exit 0) and tsc build.
24 lines
502 B
JSON
24 lines
502 B
JSON
{
|
|
"name": "exec-aide",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"watch": "tsc -w",
|
|
"cdk": "cdk",
|
|
"deploy": "cdk deploy",
|
|
"diff": "cdk diff",
|
|
"synth": "cdk synth"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.9.2",
|
|
"aws-cdk": "^2.1125.0",
|
|
"tsx": "4.23.0",
|
|
"typescript": "~7.0.2"
|
|
},
|
|
"dependencies": {
|
|
"@aws-cdk/aws-lambda-python-alpha": "^2.180.0-alpha.0",
|
|
"aws-cdk-lib": "2.258.0",
|
|
"constructs": "^10.4.2"
|
|
}
|
|
}
|