@aiot-toolkit/aiotpack 2.0.6-beta.12 → 2.0.6-beta.13
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.
|
@@ -242,13 +242,12 @@ class UxAfterCompile {
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
// e2e
|
|
245
|
-
//
|
|
246
245
|
if (compilerOption.e2eConfigPath && compilerOption.enableE2e) {
|
|
247
246
|
const testConfig = _UxUtil.default.getE2eConfig({
|
|
248
247
|
projectPath: compilerOption.projectPath,
|
|
249
248
|
e2eConfigPath: compilerOption.e2eConfigPath
|
|
250
249
|
});
|
|
251
|
-
const testPagePath = _path.default.parse(_path.default.relative(_path.default.join(compilerOption.projectPath, sourceRoot), _path.default.join(testConfig.dir, testConfig.entry.path)));
|
|
250
|
+
const testPagePath = _path.default.parse(_path.default.relative(_path.default.join(compilerOption.projectPath, sourceRoot), _path.default.join(testConfig.dir, testConfig.entry.path)).replaceAll(_path.default.sep, _path.default.posix.sep));
|
|
252
251
|
// 1. 修改entry
|
|
253
252
|
const entryName = testPagePath.dir;
|
|
254
253
|
const launchMode = testConfig.entry?.launchMode;
|
|
@@ -55,7 +55,7 @@ class VelaWebpackConfigurator {
|
|
|
55
55
|
projectPath: this.param.projectPath,
|
|
56
56
|
e2eConfigPath: this.param.e2eConfigPath
|
|
57
57
|
});
|
|
58
|
-
const testPagePath = _path.default.parse(_path.default.relative(_path.default.join(this.param.projectPath, sourceRoot), _path.default.join(e2eConfig.dir, e2eConfig.entry.path)));
|
|
58
|
+
const testPagePath = _path.default.parse(_path.default.relative(_path.default.join(this.param.projectPath, sourceRoot), _path.default.join(e2eConfig.dir, e2eConfig.entry.path)).replaceAll(_path.default.sep, _path.default.posix.sep));
|
|
59
59
|
config.router.pages[testPagePath.dir] = {
|
|
60
60
|
component: testPagePath.name
|
|
61
61
|
};
|
package/lib/config/UxConfig.d.ts
CHANGED
package/lib/config/UxConfig.js
CHANGED
|
@@ -111,7 +111,7 @@ class UxConfig {
|
|
|
111
111
|
workerDescribe: 'Check resource'
|
|
112
112
|
}])();
|
|
113
113
|
afterWorks = (() => [_UxAfterWorks.default.cleanOutput])();
|
|
114
|
-
watchIgnores = [
|
|
114
|
+
watchIgnores = ['**/node_modules/**', '**/build/**', '**/dist/**'];
|
|
115
115
|
|
|
116
116
|
/**
|
|
117
117
|
* 通过项目类型,返回模块配置
|
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.13",
|
|
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.13",
|
|
23
|
+
"@aiot-toolkit/parser": "2.0.6-beta.13",
|
|
24
|
+
"@aiot-toolkit/shared-utils": "2.0.6-beta.13",
|
|
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.13",
|
|
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": "a565cdee8e827a67b4043d9f872b7a6d933630db"
|
|
46
46
|
}
|