chore: replace EOL Node.js v19 w/ LTS v20 in engine spec (#2080)

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"})
This commit is contained in:
Peter Dave Hello 2024-05-16 09:40:06 +08:00 committed by GitHub
parent f257a54604
commit e1a3308355
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
"typescript": "^4.9.5" "typescript": "^4.9.5"
}, },
"engines": { "engines": {
"node": "^16 || ^18 || ^19" "node": "^16 || ^18 || ^20"
} }
}, },
"node_modules/@aashutoshrathi/word-wrap": { "node_modules/@aashutoshrathi/word-wrap": {

View File

@ -11,7 +11,7 @@
"express" "express"
], ],
"engines": { "engines": {
"node": "^16 || ^18 || ^19" "node": "^16 || ^18 || ^20"
}, },
"scripts": { "scripts": {
"start": "esno ./src/index.ts", "start": "esno ./src/index.ts",