Chanzhaoyu / chatgpt-web

用 Express 和 Vue3 搭建的 ChatGPT 演示网页
MIT License
31.55k stars 11.21k forks source link

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

Closed PeterDaveHello closed 6 months ago

PeterDaveHello commented 6 months ago

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"})