Commit 962ef26a authored by hewenhao's avatar hewenhao

chore: relax node version constraints for jenkins

parent da3edc54
......@@ -4,7 +4,7 @@ Vue 3 + Vue CLI + TypeScript 的奖励金 H5 项目。
## Setup
- Node.js:`^22.16.0`,以 `package.json#engines.node` 为准;安装依赖和启动前用 `node -v` 确认版本。
- Node.js:`18.x || 22.x`,以 `package.json#engines.node` 为准;安装依赖和启动前用 `node -v` 确认版本。
- 使用 `package.json` 指定的 Yarn 1.22.22;先用 `yarn --version` 确认版本。
- 安装现有依赖:`yarn install --frozen-lockfile`;有意变更依赖时使用 Yarn 并同步 `yarn.lock`。
- 仓库虽有 `package-lock.json`,且旧 README 示例使用 npm,当前以 `packageManager` 的 Yarn 1 配置为准。
......
{
"engines": {
"node": "^22.16.0"
"node": "18.x || 22.x"
},
"packageManager": "yarn@1.22.22",
"name": "mall-webview",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment