aiot-toolkit 2.0.5-beta.15 → 2.0.5-beta.17
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.md
CHANGED
|
@@ -67,6 +67,7 @@ aiot-toolkit2.0目前支持的打包格式如下:
|
|
|
67
67
|
| *start-page* | string | 启动页面,示例:`--start-page 'pages/index?a=1&b=2'` | | |
|
|
68
68
|
| *e2e-config-path* | string | e2e 配置文件的路径, 示例:--e2e-config-path ./test2/autoTestConfig.json | | |
|
|
69
69
|
| *enable-image-png8* | confirm | 压缩png文件为png8 | | |
|
|
70
|
+
| *drop-console* | string | 删除 console. <br/>+ `true`: 全部删除 <br/>+ `false`: 不删除. <br/>+ string: 自定义. <br/>示例:`--drop-console=warn,error` ,`--drop-console=true` | `false` | |
|
|
70
71
|
| *~~enable-custom-component~~* | confirm | **已废弃** | | |
|
|
71
72
|
| *~~stats~~* | confirm | **已废弃** | | |
|
|
72
73
|
|
|
@@ -58,6 +58,10 @@ interface IVelaUxBuilderOption extends IUxBuildOption {
|
|
|
58
58
|
* 压缩png文件为png8
|
|
59
59
|
*/
|
|
60
60
|
enableImagePng8?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* 删除 console. <br/>+ `true`: 全部删除 <br/>+ `false`: 不删除. <br/>+ string: 自定义. <br/>示例:`--drop-console=warn,error` ,`--drop-console=true`
|
|
63
|
+
*/
|
|
64
|
+
dropConsole?: string;
|
|
61
65
|
}
|
|
62
66
|
declare const velaUxBuilderParams: IParam[];
|
|
63
67
|
export { velaUxBuilderParams };
|
|
@@ -70,4 +70,9 @@ const velaUxBuilderParams = exports.velaUxBuilderParams = [{
|
|
|
70
70
|
"type": "confirm",
|
|
71
71
|
"name": "enable-image-png8",
|
|
72
72
|
"description": "translate image to png8"
|
|
73
|
+
}, {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"name": "drop-console",
|
|
76
|
+
"description": "drop console. true: drop all, false: do nothing, string: custom. example: --drop-console warn,error",
|
|
77
|
+
"defaultValue": false
|
|
73
78
|
}];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiot-toolkit",
|
|
3
|
-
"version": "2.0.5-beta.
|
|
3
|
+
"version": "2.0.5-beta.17",
|
|
4
4
|
"description": "Tools for creating, developing, and packaging aiot applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aiot"
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"test": "node ./__tests__/aiot-toolkit.test.js"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aiot-toolkit/aiotpack": "2.0.5-beta.
|
|
26
|
-
"@aiot-toolkit/commander": "2.0.5-beta.
|
|
27
|
-
"@aiot-toolkit/emulator": "2.0.5-beta.
|
|
28
|
-
"@aiot-toolkit/shared-utils": "2.0.5-beta.
|
|
25
|
+
"@aiot-toolkit/aiotpack": "2.0.5-beta.17",
|
|
26
|
+
"@aiot-toolkit/commander": "2.0.5-beta.17",
|
|
27
|
+
"@aiot-toolkit/emulator": "2.0.5-beta.17",
|
|
28
|
+
"@aiot-toolkit/shared-utils": "2.0.5-beta.17",
|
|
29
29
|
"@inquirer/prompts": "^5.3.0",
|
|
30
30
|
"@miwt/adb": "^0.9.0",
|
|
31
31
|
"axios": "^1.7.4",
|
|
32
|
-
"file-lane": "2.0.5-beta.
|
|
32
|
+
"file-lane": "2.0.5-beta.17",
|
|
33
33
|
"fs-extra": "^11.2.0",
|
|
34
34
|
"koa-router": "^13.0.1",
|
|
35
35
|
"lodash": "^4.17.21",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@types/qr-image": "^3.2.9",
|
|
44
44
|
"@types/semver": "^7.5.8"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "1cff047e2550e845444857b475d63a01b8705768"
|
|
47
47
|
}
|