Skip to content

Commit

Permalink
feat: update to Node.js v20 (#82)
Browse files Browse the repository at this point in the history
* chore(husky): migrate husky hook

* chore(renovate): update renovate configuration

* chore(deps): update outdated actions

* ci(github): use active lts version by default in CI environment

* chore(deps): update TypeScript to v5

* chore(deps): update `@types/node` to v20

* feat(deps): update Node.js runtime of handler to v20

* chore(deps): update `@types/node` to v20

* test(construct): align updated Node.js runtime version
  • Loading branch information
mooyoul committed Jan 13, 2024
1 parent 5f7be2a commit dbb14bb
Show file tree
Hide file tree
Showing 9 changed files with 171 additions and 169 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: 'lts/*'
- name: Setup (Module)
run: npm ci
- name: Setup (Lambda Package)
Expand Down
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit "$1"

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
"description": "Lambda handler for provisioning AWS SES Domain Identity",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {},
"devDependencies": {
"@prescott/tslint-preset": "1.0.1",
"@types/aws-lambda": "8.10.131",
"@types/jest": "29.5.11",
"@types/nock": "11.1.0",
"@types/node": "12.20.55",
"@types/node": "^20.11.0",
"@types/sinon": "17.0.3",
"aws-sdk": "2.1535.0",
"jest": "29.7.0",
Expand All @@ -19,7 +18,7 @@
"ts-jest": "29.1.1",
"ts-node": "10.9.2",
"tslint": "6.1.3",
"typescript": "4.8.4"
"typescript": "^5.3.3"
},
"scripts": {
"clean": "rm -rf dist",
Expand All @@ -45,5 +44,10 @@
"bugs": {
"url": "https://github.com/mooyoul/aws-cdk-ses-domain-identity/issues"
},
"homepage": "https://github.com/mooyoul/aws-cdk-ses-domain-identity#readme"
"homepage": "https://github.com/mooyoul/aws-cdk-ses-domain-identity#readme",
"overrides": {
"@prescott/tslint-preset": {
"typescript": "$typescript"
}
}
}
Loading

0 comments on commit dbb14bb

Please sign in to comment.