rigjs 2.1.26 → 2.1.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README_CN.md CHANGED
@@ -9,14 +9,25 @@
9
9
 
10
10
 
11
11
  ## 快速开始
12
- **0.必要前提**
13
- 必须安装yarn,rig采用yarn workspaces实现依赖晋升。
12
+ ### 0.必要前提
13
+ #### 0.1必须安装yarn,
14
+ rig采用yarn workspaces实现依赖晋升 。
15
+
16
+ [关于yarn workspaces](https://classic.yarnpkg.com/en/docs/workspaces)
17
+ #### 0.2 node 版本不低于14
18
+ 使用 [n](https://github.com/tj/n) 更新node
19
+ ```shell
20
+ yarn global add n
21
+ sudo n lts
22
+ #或指定版本
23
+ sudo n 14.19.1
24
+ ```
14
25
 
15
- **1.init rig**
26
+ ### 1.在项目中初始化rig配置。
16
27
 
17
28
  ```shell script
18
- npm i -g yarn
19
29
  yarn global add rigjs
30
+ #在你的项目根目录中(和package.json同级)
20
31
  rig init
21
32
  ```
22
33
  package.rig.json5 会被添加到工程根目录