修正文档和依赖声明中的 Node 支持范围
This commit is contained in:
1 parent
6e2c114474
commit
28894e0813
3 files changed
+4
-3
No files matched your search
@@ -28,7 +28,8 @@
|
|||||||
|
|
||||||
## 快速开始
|
## 快速开始
|
||||||
|
|
||||||
需要 Node.js **22.12.0 或更高版本**及 npm,团队开发建议统一 Node.js 版本。
|
需要 npm 及满足以下任一范围的 Node.js:**22.22.3–22.x、24.15.0–24.x 或 26.0.0 及以上**。
|
||||||
|
该范围与锁定依赖的引擎要求一致,团队开发应统一使用其中一个受支持版本。
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://git.crash.work/cieanyau/console-dev.git
|
git clone https://git.crash.work/cieanyau/console-dev.git
|
||||||
|
|||||||
Generated
+1
-1
@@ -34,7 +34,7 @@
|
|||||||
"prettier": "^3.8.0"
|
"prettier": "^3.8.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=22.12.0"
|
"node": "^22.22.3 || ^24.15.0 || >=26.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@antfu/install-pkg": {
|
"node_modules/@antfu/install-pkg": {
|
||||||
|
|||||||
+1
-1
@@ -43,6 +43,6 @@
|
|||||||
"minimatch": "11.0.4"
|
"minimatch": "11.0.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=22.12.0"
|
"node": "^22.22.3 || ^24.15.0 || >=26.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user