aiot-toolkit 2.0.5-beta.22 → 2.0.5-beta.24
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.
|
@@ -128,7 +128,9 @@ class VelaUxStarter extends _IStarter.default {
|
|
|
128
128
|
const projectInfo = _aiotpack.UxFileUtils.getManifestInfo(projectPath, compilerOption.sourceRoot);
|
|
129
129
|
if (this.lastRpk && _fsExtra.default.existsSync(this.lastRpk)) {
|
|
130
130
|
const targetPath = await this.emulatorInstance?.pushRpk(this.lastRpk, projectInfo.package);
|
|
131
|
-
await this.emulatorInstance?.install(targetPath,
|
|
131
|
+
await this.emulatorInstance?.install(targetPath, {
|
|
132
|
+
packageName: projectInfo.package
|
|
133
|
+
});
|
|
132
134
|
await this.emulatorInstance?.startApp(projectInfo.package, options.devtool);
|
|
133
135
|
}
|
|
134
136
|
this.event.on('buildSuccess', async data => {
|
|
@@ -139,7 +141,9 @@ class VelaUxStarter extends _IStarter.default {
|
|
|
139
141
|
await this.emulatorInstance?.reloadApp(projectInfo.package);
|
|
140
142
|
} else if (data.info?.trigger === _FileLaneTriggerType.default.START && data.info.rpk) {
|
|
141
143
|
const targetPath = await this.emulatorInstance?.pushRpk(data.info.rpk, projectInfo.package);
|
|
142
|
-
await this.emulatorInstance?.install(targetPath,
|
|
144
|
+
await this.emulatorInstance?.install(targetPath, {
|
|
145
|
+
packageName: projectInfo.package
|
|
146
|
+
});
|
|
143
147
|
await this.emulatorInstance?.startApp(projectInfo.package, options.devtool);
|
|
144
148
|
}
|
|
145
149
|
});
|
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.24",
|
|
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.24",
|
|
26
|
+
"@aiot-toolkit/commander": "2.0.5-beta.24",
|
|
27
|
+
"@aiot-toolkit/emulator": "2.0.5-beta.24",
|
|
28
|
+
"@aiot-toolkit/shared-utils": "2.0.5-beta.24",
|
|
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.24",
|
|
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": "9db5595088ce88b2530a20f9edae156e9026718e"
|
|
47
47
|
}
|