rigjs 3.0.19 → 3.0.21
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 +6 -1
- package/built/index.js +103 -103
- package/lib/info/index.ts +8 -5
- package/lib/init/index.ts +21 -18
- package/lib/preinstall/index.ts +3 -1
- package/package.json +1 -1
package/README_CN.md
CHANGED
|
@@ -36,6 +36,8 @@ package.rig.json5 会被添加到工程根目录。
|
|
|
36
36
|
yarn add axios -W
|
|
37
37
|
```
|
|
38
38
|
### 2.使用rig安装现有的代码库
|
|
39
|
+
修改package.rig.json5:
|
|
40
|
+
|
|
39
41
|
version是git的tag
|
|
40
42
|
|
|
41
43
|
如下:
|
|
@@ -54,6 +56,9 @@ version是git的tag
|
|
|
54
56
|
yarn install
|
|
55
57
|
```
|
|
56
58
|
### 3. 前端开发工具配置
|
|
59
|
+
#### 3.1 vite
|
|
60
|
+
#### 3.2 webpack
|
|
61
|
+
#### 3.3 vue-cli
|
|
57
62
|
|
|
58
63
|
### 4.开发一个新的rig库或改造现有仓库为rig库
|
|
59
64
|
rig库指在rig管理下的仓库
|
|
@@ -81,7 +86,7 @@ rig库指在rig管理下的仓库
|
|
|
81
86
|
### rig init
|
|
82
87
|
初始化rig管理工具,在项目根目录执行.
|
|
83
88
|
|
|
84
|
-
### rig env [mode]
|
|
89
|
+
### rig --env [mode]
|
|
85
90
|
从env.rig.json5中指定一组环境变量,并覆盖到.env.rig文件中
|
|
86
91
|
|
|
87
92
|
### rig tag
|