mirror of
https://github.com/Sea-Haven-Industries/proposal-system.git
synced 2026-09-30 11:13:14 +00:00
TypeScript 7.0.2 (the native-port build) no longer exposes the internal compiler API (ts.sys) that ts-node@10.9.2 depends on, so `npx ts-node bin/app.ts` fails during `cdk synth` with "Cannot read properties of undefined (reading 'fileExists')". Switch the CDK app runner to tsx (esbuild-based, version-agnostic — it does not consume the typescript package's programmatic API), and pin tsx as an infra devDependency. Verified `cdk synth` succeeds locally with typescript 7.0.2 installed.
22 lines
467 B
JSON
22 lines
467 B
JSON
{
|
|
"name": "proposal-system-infra",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"watch": "tsc -w",
|
|
"cdk": "cdk",
|
|
"synth": "cdk synth",
|
|
"deploy": "cdk deploy --all --require-approval broadening"
|
|
},
|
|
"dependencies": {
|
|
"aws-cdk-lib": "2.261.0",
|
|
"constructs": "^10.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.9.5",
|
|
"aws-cdk": "^2.1129.0",
|
|
"tsx": "^4.23.0",
|
|
"typescript": "~7.0.2"
|
|
}
|
|
}
|