build(deps): migrate CDK app ts-node->tsx, adopt typescript 7 (INFRA-183) (#75)
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.
This commit is contained in:
parent
d10480b005
commit
b7f0fc7318
3 changed files with 843 additions and 151 deletions
2
cdk.json
2
cdk.json
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"app": "npx ts-node --prefer-ts-exts bin/exec-aide.ts",
|
"app": "npx tsx bin/exec-aide.ts",
|
||||||
"watch": {
|
"watch": {
|
||||||
"include": ["**"],
|
"include": ["**"],
|
||||||
"exclude": [
|
"exclude": [
|
||||||
|
|
|
||||||
988
package-lock.json
generated
988
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -13,8 +13,8 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^25.9.2",
|
"@types/node": "^25.9.2",
|
||||||
"aws-cdk": "^2.1125.0",
|
"aws-cdk": "^2.1125.0",
|
||||||
"ts-node": "^10.9.2",
|
"tsx": "4.23.0",
|
||||||
"typescript": "~6.0.3"
|
"typescript": "~7.0.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-cdk/aws-lambda-python-alpha": "^2.180.0-alpha.0",
|
"@aws-cdk/aws-lambda-python-alpha": "^2.180.0-alpha.0",
|
||||||
|
|
|
||||||
Reference in a new issue