From 3353e7ff6722146afd57782968f0c740952c9e23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=87=8E=E5=A3=B0?= Date: Wed, 10 Jul 2024 10:33:08 +0800 Subject: [PATCH] chore: update how-to-contribute (#144) --- docs/develop/how-to-contribute.en.md | 2 +- docs/develop/how-to-contribute.zh.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/develop/how-to-contribute.en.md b/docs/develop/how-to-contribute.en.md index b90cd3bb7..576f3268a 100644 --- a/docs/develop/how-to-contribute.en.md +++ b/docs/develop/how-to-contribute.en.md @@ -18,7 +18,7 @@ Before developing the code, you need to install some necessary development tools You may need the following development tools: - [Git](https://git-scm.com) -- [Node.JS](https://nodejs.org/en/), version number `>= 12.x`, `<= 14.x` +- [Node.JS](https://nodejs.org/en/), version number `>= 16.x`, `<= 18.x` - [Python](https://www.python.org/downloads/) \(pre-dependency of node-gyp library; view [node-gyp readme](https://github.com/nodejs/node-gyp#installation) and find a suitable version currently supported\) - **Note:** Windows users install Python automatically when installing the npm module of `windows-build-tools`. It can be quickly installed in this way as follows: - A C/C++ compilation tool suitable for your system: diff --git a/docs/develop/how-to-contribute.zh.md b/docs/develop/how-to-contribute.zh.md index 304aefbc3..72ae8cdf8 100644 --- a/docs/develop/how-to-contribute.zh.md +++ b/docs/develop/how-to-contribute.zh.md @@ -27,7 +27,7 @@ yarn config set -H npmRegistryServer "https://registry.npmmirror.com" 你可能需要下面一些开发工具: - [Git](https://git-scm.com) -- [Node.JS](https://nodejs.org/en/), 版本号 `>= 12.x`, `<= 14.x` +- [Node.JS](https://nodejs.org/en/), 版本号 `>= 16.x`, `<= 18.x` - [Python](https://www.python.org/downloads/) (node-gyp 库的前置依赖; 查看 [node-gyp readme](https://github.com/nodejs/node-gyp#installation) 找到当前支持的合适版本) - **注意:** Windows 用户通过安装 `windows-build-tools` 的 npm 模块将会自动安装 Python,可以通过这种方式进行快速安装。(见下方) - 一个适合你系统的 C/C++ 编译工具: