Browse Source

docs: update engine version

pointhalo 1 year ago
parent
commit
5c37117b7a
2 changed files with 3 additions and 3 deletions
  1. 1 1
      CONTRIBUTING.md
  2. 2 2
      package.json

+ 1 - 1
CONTRIBUTING.md

@@ -15,7 +15,7 @@ Semi 团队会维护两个常驻分支:`main` 和 `release`,根据我们的[
 Semi Design 团队会认真对待每一个 Pull Request。我们会 review 并合并你的代码。也有可能对你的代码提出一些修改意见。
 Semi Design 团队会认真对待每一个 Pull Request。我们会 review 并合并你的代码。也有可能对你的代码提出一些修改意见。
 
 
 要提交一个 Pull Request,请遵循以下步骤:
 要提交一个 Pull Request,请遵循以下步骤:
- - Node.js > v16
+ - Node.js > v20
  - Fork 项目并克隆下来
  - Fork 项目并克隆下来
 ```bash
 ```bash
 git clone https://github.com/<your-username>/semi-design.git
 git clone https://github.com/<your-username>/semi-design.git

+ 2 - 2
package.json

@@ -43,12 +43,12 @@
         "coverage:merge": "npx istanbul-combine -d test/merged -p detail -r lcov -r json cypress/coverage/coverage-final.json test/coverage/coverage-final.json"
         "coverage:merge": "npx istanbul-combine -d test/merged -p detail -r lcov -r json cypress/coverage/coverage-final.json test/coverage/coverage-final.json"
     },
     },
     "engines": {
     "engines": {
-        "node": ">= 16.0.0"
+        "node": ">= 20.0.0"
     },
     },
     "dependencies": {
     "dependencies": {
         "@dnd-kit/modifiers": "^7.0.0",
         "@dnd-kit/modifiers": "^7.0.0",
         "@douyinfe/semi-site-banner": "^0.1.5",
         "@douyinfe/semi-site-banner": "^0.1.5",
-        "@douyinfe/semi-site-doc-style": "0.0.4",
+        "@douyinfe/semi-site-doc-style": "0.0.5",
         "@douyinfe/semi-site-header": "^0.0.29",
         "@douyinfe/semi-site-header": "^0.0.29",
         "@douyinfe/semi-site-markdown-blocks": "^0.0.18",
         "@douyinfe/semi-site-markdown-blocks": "^0.0.18",
         "@mdx-js/mdx": "1.6.22",
         "@mdx-js/mdx": "1.6.22",