@aiot-toolkit/aiotpack 2.0.6-beta.11 → 2.0.6-beta.12
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.
|
@@ -11,6 +11,7 @@ var _path = _interopRequireDefault(require("path"));
|
|
|
11
11
|
var _TranslateCache = _interopRequireDefault(require("@aiot-toolkit/parser/lib/ux/translate/vela/TranslateCache"));
|
|
12
12
|
var _UxFileUtils = _interopRequireDefault(require("./ux/UxFileUtils"));
|
|
13
13
|
var _IManifest = require("../compiler/javascript/vela/interface/IManifest");
|
|
14
|
+
var _UxUtil = _interopRequireDefault(require("@aiot-toolkit/parser/lib/ux/utils/UxUtil"));
|
|
14
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
16
|
const BinaryPlugin = require('@aiot-toolkit/parser/lib/ux/translate/vela/protobuf/BinaryPlugin');
|
|
16
17
|
|
|
@@ -88,6 +89,15 @@ class BeforeCompileUtils {
|
|
|
88
89
|
// 没有router配置
|
|
89
90
|
_sharedUtils.ColorConsole.throw(`### manifest ### No router configuration`);
|
|
90
91
|
}
|
|
92
|
+
|
|
93
|
+
// e2e测试入口
|
|
94
|
+
if (compilerOption?.enableE2e && compilerOption?.e2eConfigPath) {
|
|
95
|
+
const e2eConfig = _UxUtil.default.getE2eConfig({
|
|
96
|
+
projectPath: context.projectPath,
|
|
97
|
+
e2eConfigPath: compilerOption.e2eConfigPath
|
|
98
|
+
});
|
|
99
|
+
entryList.push(_path.default.join(e2eConfig.dir, e2eConfig.entry.path));
|
|
100
|
+
}
|
|
91
101
|
if (services) {
|
|
92
102
|
serviceList = Array.isArray(services) ? services : Object.values(services);
|
|
93
103
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiot-toolkit/aiotpack",
|
|
3
|
-
"version": "2.0.6-beta.
|
|
3
|
+
"version": "2.0.6-beta.12",
|
|
4
4
|
"description": "The process tool for packaging aiot projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aiotpack"
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"test": "node ./__tests__/aiotpack.test.js"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aiot-toolkit/generator": "2.0.6-beta.
|
|
23
|
-
"@aiot-toolkit/parser": "2.0.6-beta.
|
|
24
|
-
"@aiot-toolkit/shared-utils": "2.0.6-beta.
|
|
22
|
+
"@aiot-toolkit/generator": "2.0.6-beta.12",
|
|
23
|
+
"@aiot-toolkit/parser": "2.0.6-beta.12",
|
|
24
|
+
"@aiot-toolkit/shared-utils": "2.0.6-beta.12",
|
|
25
25
|
"@hap-toolkit/aaptjs": "^2.0.0",
|
|
26
26
|
"@rspack/core": "^1.3.9",
|
|
27
27
|
"aiot-parse5": "^1.0.2",
|
|
28
28
|
"babel-loader": "^9.1.3",
|
|
29
|
-
"file-lane": "2.0.6-beta.
|
|
29
|
+
"file-lane": "2.0.6-beta.12",
|
|
30
30
|
"file-loader": "^6.2.0",
|
|
31
31
|
"fs-extra": "^11.2.0",
|
|
32
32
|
"jsrsasign": "^11.1.0",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"@types/jsrsasign": "^10.5.12",
|
|
43
43
|
"@types/webpack-sources": "^3.2.3"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "cada1b3423f7842ea243bb1535592ed7f7e5d4a2"
|
|
46
46
|
}
|