Просмотр исходного кода

docs(readme): optimize command and version for rush setup (#396)

WanderWang 6 месяцев назад
Родитель
Сommit
082321bcdb
2 измененных файлов с 4 добавлено и 4 удалено
  1. 2 2
      CONTRIBUTING.md
  2. 2 2
      README.md

+ 2 - 2
CONTRIBUTING.md

@@ -27,13 +27,13 @@ git clone git@github.com:bytedance/flowgram.ai.git
 3. **Install required global dependencies**
 
 ``` bash
-npm i -g pnpm@9.12.0 @microsoft/rush@5.14.0
+npm i -g pnpm@9.12.0 @microsoft/rush@5.140.1
 ```
 
 4. **Install project dependencies**
 
 ``` bash
-rush update
+rush install
 ```
 
 5. **Build the project**

+ 2 - 2
README.md

@@ -92,13 +92,13 @@ git clone git@github.com:bytedance/flowgram.ai.git
 3. **Install required global dependencies**
 
 ``` bash
-npm i -g pnpm@9.12.0 @microsoft/rush@5.140.0
+npm i -g pnpm@9.12.0 @microsoft/rush@5.140.1
 ```
 
 4. **Install project dependencies**
 
 ``` bash
-rush update
+rush install
 ```
 
 5. **Build the project**