Upgrade to TypeScript ~6.0.3 (#19)

* Upgrade to TypeScript ~6.0.3

Adds "types": ["node"] to tsconfig.json — required by TS 6 to resolve
Node globals like path and __dirname. Uses tilde pin since TS doesn't
follow semver.

* 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).
This commit is contained in:
Adam Moussa 2026-05-06 19:25:15 -04:00 • committed by GitHub
parent 7a1a030ded
commit 701bb2d358
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 5 deletions

8
package-lock.json generated
View file

@ -16,7 +16,7 @@
"@types/node": "^25.6.0",
"aws-cdk": "^2.180.0",
"ts-node": "^10.9.2",
"typescript": "~5.7.2"
"typescript": "~6.0.3"
}
},
"node_modules/@aws-cdk/asset-awscli-v1": {
@ -654,9 +654,9 @@
}
},
"node_modules/typescript": {
"version": "5.7.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
"integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
"integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
"dev": true,
"license": "Apache-2.0",
"bin": {

View file

@ -14,7 +14,7 @@
"@types/node": "^25.6.0",
"aws-cdk": "^2.180.0",
"ts-node": "^10.9.2",
"typescript": "~5.7.2"
"typescript": "~6.0.3"
},
"dependencies": {
"@aws-cdk/aws-lambda-python-alpha": "^2.180.0-alpha.0",

View file

@ -2,6 +2,7 @@
"compilerOptions": {
"target": "ES2020",
"lib": ["ES2020"],
"types": ["node"],
"module": "commonjs",
"declaration": true,
"strict": true,