aiot-toolkit 1.0.18-ide-beta.1 → 1.0.18-jsc-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 +7 -12
- package/package.json +9 -9
package/bin/index.js
CHANGED
|
@@ -131,32 +131,27 @@ program
|
|
|
131
131
|
.option('--enable-jsc', 'bundle to jsc if the projectType is vela')
|
|
132
132
|
.option('--enable-ops-wrap', 'inject performance log in code')
|
|
133
133
|
.option('--disable-build-rpk', 'disable build rpk')
|
|
134
|
-
.option('--disable-open-debugger', 'disable open debugger')
|
|
135
134
|
.option(
|
|
136
135
|
'--build-name-format <build-name-format>',
|
|
137
136
|
'custom output rpk file name',
|
|
138
137
|
validateBuildNameFormat
|
|
139
138
|
)
|
|
139
|
+
.option(
|
|
140
|
+
'--split-chunks-mode <value>',
|
|
141
|
+
'extract js module to single files',
|
|
142
|
+
validateSplitChunksMode
|
|
143
|
+
)
|
|
140
144
|
.action(options => {
|
|
141
145
|
const { launchServer } = require('@aiot-toolkit/server')
|
|
142
146
|
const { compile } = require('../lib/commands/compile')
|
|
143
|
-
const {
|
|
144
|
-
port,
|
|
145
|
-
watch,
|
|
146
|
-
clearRecords,
|
|
147
|
-
chromePath,
|
|
148
|
-
disableAdb,
|
|
149
|
-
openBrowser,
|
|
150
|
-
disableOpenDebugger
|
|
151
|
-
} = options
|
|
147
|
+
const { port, watch, clearRecords, chromePath, disableAdb, openBrowser } = options
|
|
152
148
|
launchServer({
|
|
153
149
|
port,
|
|
154
150
|
watch,
|
|
155
151
|
clearRecords,
|
|
156
152
|
chromePath,
|
|
157
153
|
disableADB: disableAdb,
|
|
158
|
-
openBrowser
|
|
159
|
-
disableOpenDebugger
|
|
154
|
+
openBrowser
|
|
160
155
|
})
|
|
161
156
|
if (options.watch) {
|
|
162
157
|
compile('native', 'dev', true, options)
|
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-jsc-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-jsc-beta.1",
|
|
10
|
+
"@aiot-toolkit/debugger": "1.0.18-jsc-beta.1",
|
|
11
|
+
"@aiot-toolkit/dsl-vue": "1.0.18-jsc-beta.1",
|
|
12
|
+
"@aiot-toolkit/dsl-xvm": "1.0.18-jsc-beta.1",
|
|
13
|
+
"@aiot-toolkit/packager": "1.0.18-jsc-beta.1",
|
|
14
|
+
"@aiot-toolkit/server": "1.0.18-jsc-beta.1",
|
|
15
|
+
"@aiot-toolkit/shared-utils": "1.0.18-jsc-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": "7224fa9640e0dba300c0306a3b97910082d8358c"
|
|
55
55
|
}
|