瀏覽代碼

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

WanderWang 6 月之前
父節點
當前提交
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**
 3. **Install required global dependencies**
 
 
 ``` bash
 ``` 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**
 4. **Install project dependencies**
 
 
 ``` bash
 ``` bash
-rush update
+rush install
 ```
 ```
 
 
 5. **Build the project**
 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**
 3. **Install required global dependencies**
 
 
 ``` bash
 ``` 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**
 4. **Install project dependencies**
 
 
 ``` bash
 ``` bash
-rush update
+rush install
 ```
 ```
 
 
 5. **Build the project**
 5. **Build the project**