Skip to content

Commit

Permalink
chore: replace EOL Node.js v19 w/ LTS v20 in engine spec (#2080)
Browse files Browse the repository at this point in the history
Update the Node.js engine setting in service/package.json to use LTS v20
instead of the end-of-life v19. This aligns with our Dockerfile that
uses node:lts-alpine, which has been a while without issues. The update
also helps suppress the runtime warnings about engine compatibility:

> WARN  Unsupported engine: wanted: {"node":"^16 || ^18 || ^19"} (current: {"node":"v20.12.2","pnpm":"9.0.4"})
  • Loading branch information
PeterDaveHello committed May 16, 2024
1 parent f257a54 commit e1a3308
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service/package-lock.json

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

2 changes: 1 addition & 1 deletion service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"express"
],
"engines": {
"node": "^16 || ^18 || ^19"
"node": "^16 || ^18 || ^20"
},
"scripts": {
"start": "esno ./src/index.ts",
Expand Down

0 comments on commit e1a3308

Please sign in to comment.