kn-cli 1.0.8 → 1.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kn-cli",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/readme.md CHANGED
@@ -16,6 +16,12 @@
16
16
 
17
17
 
18
18
  # 更新日志
19
+
20
+ * 1.0.9
21
+ 1. 移动端模板内增加build.sh用于测试环境打包用
22
+ 2. 移动端模板内pluginjs文件夹内放一个空的文件,因为在打包时webpack会复制pluginjs和statics内的内容,如果内容为空容易引起报错
23
+
24
+
19
25
  * 1.0.8
20
26
  1. 关闭编译过程中--progress参数
21
27
  2. build时如果build_env不存在才强行设置为prod
@@ -0,0 +1,2 @@
1
+ export build_env=dev
2
+ sh build.sh
File without changes
@@ -9,6 +9,9 @@ sh dev.sh
9
9
  ### 安装新的库
10
10
  npm i 库名称 --save
11
11
 
12
+ ### 测试环境部署
13
+ 1. sh build.sh
14
+
12
15
  ### 生产环境部署
13
16
  1. 向运维申请CICD环境,申请模板如下:
14
17
  ```