aiot-toolkit 1.0.18-ide-beta.1 → 1.0.18-n62-beta.1
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 +5 -12
- package/package.json +9 -9
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,7 +132,7 @@ 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')
|
|
134
|
-
.option('--
|
|
135
|
+
.option('--enable-protobuf', 'use protobuf gen binary.bin file')
|
|
135
136
|
.option(
|
|
136
137
|
'--build-name-format <build-name-format>',
|
|
137
138
|
'custom output rpk file name',
|
|
@@ -140,23 +141,14 @@ program
|
|
|
140
141
|
.action(options => {
|
|
141
142
|
const { launchServer } = require('@aiot-toolkit/server')
|
|
142
143
|
const { compile } = require('../lib/commands/compile')
|
|
143
|
-
const {
|
|
144
|
-
port,
|
|
145
|
-
watch,
|
|
146
|
-
clearRecords,
|
|
147
|
-
chromePath,
|
|
148
|
-
disableAdb,
|
|
149
|
-
openBrowser,
|
|
150
|
-
disableOpenDebugger
|
|
151
|
-
} = options
|
|
144
|
+
const { port, watch, clearRecords, chromePath, disableAdb, openBrowser } = options
|
|
152
145
|
launchServer({
|
|
153
146
|
port,
|
|
154
147
|
watch,
|
|
155
148
|
clearRecords,
|
|
156
149
|
chromePath,
|
|
157
150
|
disableADB: disableAdb,
|
|
158
|
-
openBrowser
|
|
159
|
-
disableOpenDebugger
|
|
151
|
+
openBrowser
|
|
160
152
|
})
|
|
161
153
|
if (options.watch) {
|
|
162
154
|
compile('native', 'dev', true, options)
|
|
@@ -222,6 +214,7 @@ program
|
|
|
222
214
|
.option('--enable-jsc', 'bundle to jsc if the projectType is vela')
|
|
223
215
|
.option('--enable-ops-wrap', 'inject performance log in code')
|
|
224
216
|
.option('--disable-build-rpk', 'disable build rpk')
|
|
217
|
+
.option('--enable-protobuf', 'use protobuf gen binary.bin file')
|
|
225
218
|
.option(
|
|
226
219
|
'--split-chunks-mode <value>',
|
|
227
220
|
'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-
|
|
3
|
+
"version": "1.0.18-n62-beta.1",
|
|
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-
|
|
10
|
-
"@aiot-toolkit/debugger": "1.0.18-
|
|
11
|
-
"@aiot-toolkit/dsl-vue": "1.0.18-
|
|
12
|
-
"@aiot-toolkit/dsl-xvm": "1.0.18-
|
|
13
|
-
"@aiot-toolkit/packager": "1.0.18-
|
|
14
|
-
"@aiot-toolkit/server": "1.0.18-
|
|
15
|
-
"@aiot-toolkit/shared-utils": "1.0.18-
|
|
9
|
+
"@aiot-toolkit/compiler": "1.0.18-n62-beta.1",
|
|
10
|
+
"@aiot-toolkit/debugger": "1.0.18-n62-beta.1",
|
|
11
|
+
"@aiot-toolkit/dsl-vue": "1.0.18-n62-beta.1",
|
|
12
|
+
"@aiot-toolkit/dsl-xvm": "1.0.18-n62-beta.1",
|
|
13
|
+
"@aiot-toolkit/packager": "1.0.18-n62-beta.1",
|
|
14
|
+
"@aiot-toolkit/server": "1.0.18-n62-beta.1",
|
|
15
|
+
"@aiot-toolkit/shared-utils": "1.0.18-n62-beta.1",
|
|
16
16
|
"@babel/core": "^7.9.6",
|
|
17
17
|
"@babel/plugin-syntax-jsx": "^7.8.3",
|
|
18
18
|
"@babel/preset-env": "^7.9.6",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"supertest": "^3.3.0",
|
|
52
52
|
"webpack-cli": "^4.3.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "5b47715cef4ab09858eb332bf774b893618c0c86"
|
|
55
55
|
}
|