Browse Source

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

WanderWang 6 months ago
parent
commit
082321bcdb
2 changed files with 4 additions and 4 deletions
  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**