Skip to content

Commit

Permalink
Merge pull request #35 from MarcioMeier/feat/upgrade-to-node20
Browse files Browse the repository at this point in the history
  • Loading branch information
flaviostutz authored Sep 1, 2024
2 parents 400760d + 150eda4 commit 19baf71
Show file tree
Hide file tree
Showing 11 changed files with 204 additions and 194 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.20.3
20.17.0
2 changes: 1 addition & 1 deletion docs/base-nodejs-lambda.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Based on [AWS Construct NodeJsFunction](https://docs.aws.amazon.com/cdk/api/v2/d
// this can be reused in various lambda definitions
const globalLambdaConfig = {
eventType: EventType.Http,
runtime: Runtime.NODEJS_18_X,
runtime: Runtime.NODEJS_20_X,
extraCaPubCert: 'ABCXxxxyz123123123' // add private CA pub certificate to NodeJS
}

Expand Down
6 changes: 3 additions & 3 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
"license": "MIT",
"devDependencies": {
"@stutzlab/eslint-config": "^3.1.1",
"@tsconfig/node16": "16.1.1",
"@tsconfig/node20": "^20.1.4",
"@types/aws-lambda": "^8.10.131",
"@types/jest": "^29.4.0",
"@types/node": "18.11.18",
"@types/node": "^20.14.8",
"aws-cdk": "2.117.0",
"aws-sdk-client-mock": "^3.0.1",
"esbuild-jest": "^0.5.0",
"eslint": "^8.56.0",
"jest": "^29.4.2",
"ts-node": "^10.9.2",
"typescript": "5.3.3"
"typescript": "^5.5.4"
},
"dependencies": {
"@asteasolutions/zod-to-openapi": "^7.0.0",
Expand Down
Loading

0 comments on commit 19baf71

Please sign in to comment.