aiot-toolkit 2.0.3-beta.3 → 2.0.3-beta.5
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.
|
@@ -116,7 +116,7 @@ class UxBuilderBase {
|
|
|
116
116
|
const uxProjectConfig = new aiotpack_1.UxConfig(projectPath);
|
|
117
117
|
// 编译配置
|
|
118
118
|
const mode = options.mode || aiotpack_1.CompileMode.DEVELOPMENT;
|
|
119
|
-
const compilerOption = lodash_1.default.merge(aiotpack_1.JavascriptDefaultCompileOption, Object.assign(Object.assign({}, options), { projectPath: path_1.default.join(projectPath, uxProjectConfig.output), mode }), otherConfig);
|
|
119
|
+
const compilerOption = lodash_1.default.merge({}, aiotpack_1.JavascriptDefaultCompileOption, Object.assign(Object.assign({}, options), { projectPath: path_1.default.join(projectPath, uxProjectConfig.output), mode }), otherConfig);
|
|
120
120
|
return compilerOption;
|
|
121
121
|
}
|
|
122
122
|
readQuickAppConfig(projectPath) {
|
|
@@ -3,7 +3,7 @@ import IBuilder from './IBuilder';
|
|
|
3
3
|
import UxBuilderBase, { IUxBuildOption } from './UxBuilderBase';
|
|
4
4
|
interface IVelaUxBuilderOption extends IUxBuildOption {
|
|
5
5
|
watch?: boolean;
|
|
6
|
-
enableJsc
|
|
6
|
+
enableJsc?: boolean;
|
|
7
7
|
enableE2e?: boolean;
|
|
8
8
|
enableStats?: boolean;
|
|
9
9
|
optimizeCssAttr?: boolean;
|
|
@@ -17,6 +17,7 @@ interface IVelaUxBuilderOption extends IUxBuildOption {
|
|
|
17
17
|
* @see https://www.webpackjs.com/configuration/devtool/#devtool
|
|
18
18
|
*/
|
|
19
19
|
devtool?: string;
|
|
20
|
+
enableProtobuf?: boolean;
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
22
23
|
* VelaUxBuilder
|
|
@@ -56,6 +56,20 @@ class VelaUxBuilder extends UxBuilderBase_1.default {
|
|
|
56
56
|
name: 'complete-feature',
|
|
57
57
|
description: 'auto complete the features are used in the code into the features field of the manifest.json file',
|
|
58
58
|
defaultValue: false
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
type: 'confirm',
|
|
62
|
+
name: 'enable-custom-component',
|
|
63
|
+
description: 'deprecated',
|
|
64
|
+
deprecated: 'please remove it now',
|
|
65
|
+
deprecatedVersion: '2.1.0'
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
type: 'confirm',
|
|
69
|
+
name: 'stats',
|
|
70
|
+
description: 'deprecated',
|
|
71
|
+
deprecated: 'please use `enable-stats` instead',
|
|
72
|
+
deprecatedVersion: '2.1.0'
|
|
59
73
|
}
|
|
60
74
|
];
|
|
61
75
|
}
|
|
@@ -66,6 +66,13 @@ class VelaUxStarter extends IStarter_1.default {
|
|
|
66
66
|
defaultValue: false,
|
|
67
67
|
type: 'confirm'
|
|
68
68
|
},
|
|
69
|
+
{
|
|
70
|
+
type: 'confirm',
|
|
71
|
+
name: 'open-nuttx',
|
|
72
|
+
description: 'deprecated',
|
|
73
|
+
deprecated: 'please remove it now',
|
|
74
|
+
deprecatedVersion: '2.1.0'
|
|
75
|
+
},
|
|
69
76
|
...this.builder.params
|
|
70
77
|
];
|
|
71
78
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiot-toolkit",
|
|
3
|
-
"version": "2.0.3-beta.
|
|
3
|
+
"version": "2.0.3-beta.5",
|
|
4
4
|
"description": "Tools for creating, developing, and packaging aiot applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aiot"
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"test": "node ./__tests__/aiot-toolkit.test.js"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aiot-toolkit/aiotpack": "2.0.3-beta.
|
|
26
|
-
"@aiot-toolkit/commander": "2.0.3-beta.
|
|
27
|
-
"@aiot-toolkit/emulator": "2.0.3-beta.
|
|
28
|
-
"@aiot-toolkit/shared-utils": "2.0.3-beta.
|
|
25
|
+
"@aiot-toolkit/aiotpack": "2.0.3-beta.5",
|
|
26
|
+
"@aiot-toolkit/commander": "2.0.3-beta.5",
|
|
27
|
+
"@aiot-toolkit/emulator": "2.0.3-beta.5",
|
|
28
|
+
"@aiot-toolkit/shared-utils": "2.0.3-beta.5",
|
|
29
29
|
"@inquirer/prompts": "^5.3.0",
|
|
30
30
|
"@miwt/adb": "^0.9.0",
|
|
31
31
|
"adm-zip": "^0.5.10",
|
|
32
32
|
"axios": "^1.7.4",
|
|
33
33
|
"cli-progress": "^3.12.0",
|
|
34
34
|
"dayjs": "^1.11.10",
|
|
35
|
-
"file-lane": "2.0.3-beta.
|
|
35
|
+
"file-lane": "2.0.3-beta.5",
|
|
36
36
|
"fs-extra": "^11.2.0",
|
|
37
37
|
"koa-router": "^13.0.1",
|
|
38
38
|
"lodash": "^4.17.21",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"@types/semver": "^7.5.8",
|
|
50
50
|
"@types/ws": "^8.5.10"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "d1772d1a3e1e3943deab519f2f1c03540cfd683b"
|
|
53
53
|
}
|