mirror of
https://github.com/Sea-Haven-Industries/forgejo.git
synced 2026-10-07 04:01:56 +00:00
TypeScript 7's native port is incompatible with ts-node, so cdk.json was switched to tsx — but it was invoked via `npx`, which fetches an unpinned copy from the registry at synth/deploy time with no lockfile entry or integrity check. Declare tsx as a pinned devDependency (~4.23.0) and invoke the local bin instead of npx. Update the README's cdk.json section to match. Verified with `npm run build` (tsc 7.0.2) and `cdk synth` — both green.
21 lines
418 B
JSON
21 lines
418 B
JSON
{
|
|
"app": "tsx bin/app.ts",
|
|
"watch": {
|
|
"include": ["**"],
|
|
"exclude": [
|
|
"README.md",
|
|
"cdk*.json",
|
|
"**/*.d.ts",
|
|
"**/*.js",
|
|
"tsconfig.json",
|
|
"package*.json",
|
|
"node_modules",
|
|
"cdk.out"
|
|
]
|
|
},
|
|
"context": {
|
|
"@aws-cdk/aws-lambda:recognizeLayerVersion": true,
|
|
"@aws-cdk/core:checkSecretUsage": true,
|
|
"@aws-cdk/core:target-partitions": ["aws"]
|
|
}
|
|
}
|