Upgrade to TypeScript ~6.0.3 (#19)
* Upgrade to TypeScript 6.0.3 and @types/node 25.6.0 TS 6 requires explicit node type resolution — added "types": ["node"] to tsconfig.json to resolve path and __dirname globals. * Pin typescript to ~6.0.3 and @types/node to ^22 TS doesn't follow semver — use tilde to avoid surprise minor-release breakage. Keep @types/node on v22 to match Lambda NODEJS_22_X runtime. * Regenerate lockfile with npm 11.14.0 Fixes corrupted peer:true flags on direct dependencies caused by npm <11.6.3 bug (npm/cli#8690). * Trigger CI * Trigger CI * Trigger CI * Add id-token: write permission for claude-code-action * Trigger CI
This commit is contained in:
parent
a2477f4c57
commit
77e7dcfe46
3 changed files with 8 additions and 7 deletions
10
package-lock.json
generated
10
package-lock.json
generated
|
|
@ -18,11 +18,11 @@
|
||||||
"@aws-sdk/client-dynamodb": "^3.1030.0",
|
"@aws-sdk/client-dynamodb": "^3.1030.0",
|
||||||
"@aws-sdk/lib-dynamodb": "^3.1041.0",
|
"@aws-sdk/lib-dynamodb": "^3.1041.0",
|
||||||
"@types/aws-lambda": "^8.10.149",
|
"@types/aws-lambda": "^8.10.149",
|
||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.19.17",
|
||||||
"aws-cdk": "^2.1120.0",
|
"aws-cdk": "^2.1120.0",
|
||||||
"esbuild": "^0.25.0",
|
"esbuild": "^0.25.0",
|
||||||
"ts-node": "^10.9.2",
|
"ts-node": "^10.9.2",
|
||||||
"typescript": "~5.7.2"
|
"typescript": "~6.0.3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@aws-cdk/asset-awscli-v1": {
|
"node_modules/@aws-cdk/asset-awscli-v1": {
|
||||||
|
|
@ -2780,9 +2780,9 @@
|
||||||
"license": "0BSD"
|
"license": "0BSD"
|
||||||
},
|
},
|
||||||
"node_modules/typescript": {
|
"node_modules/typescript": {
|
||||||
"version": "5.7.3",
|
"version": "6.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
|
||||||
"integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
|
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,11 @@
|
||||||
"@aws-sdk/client-dynamodb": "^3.1030.0",
|
"@aws-sdk/client-dynamodb": "^3.1030.0",
|
||||||
"@aws-sdk/lib-dynamodb": "^3.1041.0",
|
"@aws-sdk/lib-dynamodb": "^3.1041.0",
|
||||||
"@types/aws-lambda": "^8.10.149",
|
"@types/aws-lambda": "^8.10.149",
|
||||||
"@types/node": "^22.0.0",
|
"@types/node": "^22.19.17",
|
||||||
"aws-cdk": "^2.1120.0",
|
"aws-cdk": "^2.1120.0",
|
||||||
"esbuild": "^0.25.0",
|
"esbuild": "^0.25.0",
|
||||||
"ts-node": "^10.9.2",
|
"ts-node": "^10.9.2",
|
||||||
"typescript": "~5.7.2"
|
"typescript": "~6.0.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cdklabs/generative-ai-cdk-constructs": "^0.1.0",
|
"@cdklabs/generative-ai-cdk-constructs": "^0.1.0",
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ES2020",
|
"target": "ES2020",
|
||||||
"lib": ["ES2020"],
|
"lib": ["ES2020"],
|
||||||
|
"types": ["node"],
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"declaration": true,
|
"declaration": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
|
|
||||||
Reference in a new issue