aiot-toolkit 1.0.18-beta.0 → 1.0.18-beta.2
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/bin/index.js +8 -0
- package/package.json +11 -12
package/bin/index.js
CHANGED
|
@@ -90,6 +90,7 @@ program
|
|
|
90
90
|
'custom output rpk file name',
|
|
91
91
|
validateBuildNameFormat
|
|
92
92
|
)
|
|
93
|
+
.option('--enable-protobuf', 'use protobuf gen binary.bin file')
|
|
93
94
|
.action(options => {
|
|
94
95
|
// 必备参数:当开发者不传递该参数时,要解析为默认
|
|
95
96
|
const signModeTmp = options.disableSign && compileOptionsMeta.signModeEnum.NULL
|
|
@@ -131,11 +132,17 @@ program
|
|
|
131
132
|
.option('--enable-jsc', 'bundle to jsc if the projectType is vela')
|
|
132
133
|
.option('--enable-ops-wrap', 'inject performance log in code')
|
|
133
134
|
.option('--disable-build-rpk', 'disable build rpk')
|
|
135
|
+
.option('--enable-protobuf', 'use protobuf gen binary.bin file')
|
|
134
136
|
.option(
|
|
135
137
|
'--build-name-format <build-name-format>',
|
|
136
138
|
'custom output rpk file name',
|
|
137
139
|
validateBuildNameFormat
|
|
138
140
|
)
|
|
141
|
+
.option(
|
|
142
|
+
'--split-chunks-mode <value>',
|
|
143
|
+
'extract js module to single files',
|
|
144
|
+
validateSplitChunksMode
|
|
145
|
+
)
|
|
139
146
|
.action(options => {
|
|
140
147
|
const { launchServer } = require('@aiot-toolkit/server')
|
|
141
148
|
const { compile } = require('../lib/commands/compile')
|
|
@@ -212,6 +219,7 @@ program
|
|
|
212
219
|
.option('--enable-jsc', 'bundle to jsc if the projectType is vela')
|
|
213
220
|
.option('--enable-ops-wrap', 'inject performance log in code')
|
|
214
221
|
.option('--disable-build-rpk', 'disable build rpk')
|
|
222
|
+
.option('--enable-protobuf', 'use protobuf gen binary.bin file')
|
|
215
223
|
.option(
|
|
216
224
|
'--split-chunks-mode <value>',
|
|
217
225
|
'extract js module to single files',
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "aiot-toolkit",
|
|
3
|
-
"version": "1.0.18-beta.
|
|
3
|
+
"version": "1.0.18-beta.2",
|
|
4
4
|
"description": "A command line toolkit for developing Aiot Quick Apps.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=8.0.0"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@aiot-toolkit/compiler": "1.0.18-beta.
|
|
10
|
-
"@aiot-toolkit/debugger": "1.0.18-beta.
|
|
11
|
-
"@aiot-toolkit/dsl-vue": "1.0.18-beta.
|
|
12
|
-
"@aiot-toolkit/dsl-xvm": "1.0.18-beta.
|
|
13
|
-
"@aiot-toolkit/packager": "1.0.18-beta.
|
|
14
|
-
"@aiot-toolkit/server": "1.0.18-beta.
|
|
15
|
-
"@aiot-toolkit/shared-utils": "1.0.18-beta.
|
|
9
|
+
"@aiot-toolkit/compiler": "1.0.18-beta.2",
|
|
10
|
+
"@aiot-toolkit/debugger": "1.0.18-beta.2",
|
|
11
|
+
"@aiot-toolkit/dsl-vue": "1.0.18-beta.2",
|
|
12
|
+
"@aiot-toolkit/dsl-xvm": "1.0.18-beta.2",
|
|
13
|
+
"@aiot-toolkit/packager": "1.0.18-beta.2",
|
|
14
|
+
"@aiot-toolkit/server": "1.0.18-beta.2",
|
|
15
|
+
"@aiot-toolkit/shared-utils": "1.0.18-beta.2",
|
|
16
16
|
"@babel/core": "^7.9.6",
|
|
17
17
|
"@babel/plugin-syntax-jsx": "^7.8.3",
|
|
18
18
|
"@babel/preset-env": "^7.9.6",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"adb-commander": "^0.1.9",
|
|
22
22
|
"ajv": "^6.12.6",
|
|
23
23
|
"ajv-errors": "^1.0.1",
|
|
24
|
-
"babel-loader": "^8.
|
|
24
|
+
"babel-loader": "^8.3.0",
|
|
25
25
|
"chalk": "^2.3.0",
|
|
26
26
|
"commander": "~2.14.1",
|
|
27
27
|
"fs-extra": "^7.0.1",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"request": "^2.88.2",
|
|
31
31
|
"semver": "^5.7.1",
|
|
32
32
|
"socket.io": "^2.3.0",
|
|
33
|
-
"webpack": "5.
|
|
33
|
+
"webpack": "5.88.1"
|
|
34
34
|
},
|
|
35
35
|
"bin": {
|
|
36
36
|
"aiot": "bin/index.js"
|
|
@@ -42,7 +42,6 @@
|
|
|
42
42
|
],
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@babel/cli": "^7.8.4",
|
|
45
|
-
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
|
|
46
45
|
"chai": "^4.2.0",
|
|
47
46
|
"del": "^3.0.0",
|
|
48
47
|
"glob": "^7.1.6",
|
|
@@ -52,5 +51,5 @@
|
|
|
52
51
|
"supertest": "^3.3.0",
|
|
53
52
|
"webpack-cli": "^4.3.0"
|
|
54
53
|
},
|
|
55
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "432f69ef989e6017a4d5d74b4b44c576b794b4a9"
|
|
56
55
|
}
|