fix: 指定 Node.js 18.x 版本

- 添加 engines 字段指定 Node.js 18.x
- 修复 Vercel 部署版本不匹配错误

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
golc 2026-03-04 09:43:44 +00:00
parent 444037a50f
commit d94b5f5895
1 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,9 @@
"author": "", "author": "",
"private": true, "private": true,
"license": "UNLICENSED", "license": "UNLICENSED",
"engines": {
"node": "18.x"
},
"scripts": { "scripts": {
"build": "npx nest build", "build": "npx nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"", "format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",