Skip to content

Commit

Permalink
upgrade node from 16 to 20 and therefore also stop excluding `aws-sdk…
Browse files Browse the repository at this point in the history
…` from the bundle/zip since v2 sdk is no longer provided at runtime (v3 is, upgrading to which is beyond the scope of this change)
  • Loading branch information
twrichards committed Dec 3, 2024
1 parent 5e2003b commit 037f5ee
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.20.0
v20.18.1
2 changes: 1 addition & 1 deletion image-counter-lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "jest",
"compile": "ncc build src/handler.ts -o dist -m -e aws-sdk -s && (cd dist; zip image-counter-lambda.zip *)"
"compile": "ncc build src/handler.ts -o dist -m -s && (cd dist; zip image-counter-lambda.zip *)"
},
"keywords": [],
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion s3watcher/lambda/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"test": "jest --coverage",
"test:watch": "jest --watch",
"lint": "eslint index.ts lib",
"build": "rm -f target/* && ncc build index.ts -o target -e aws-sdk && (cd target; zip s3watcher.zip index.js)",
"build": "rm -f target/* && ncc build index.ts -o target && (cd target; zip s3watcher.zip index.js)",
"tsc": "tsc"
},
"author": "",
Expand Down

0 comments on commit 037f5ee

Please sign in to comment.