file-lane 2.0.5-beta.11 → 2.0.5-beta.14
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/lib/FileLane.js
CHANGED
|
@@ -412,7 +412,7 @@ class FileLane {
|
|
|
412
412
|
try {
|
|
413
413
|
this.handlerLogs([{
|
|
414
414
|
level: _sharedUtils.Loglevel.INFO,
|
|
415
|
-
message: `
|
|
415
|
+
message: `afterCompile: ${item.workerDescribe}`
|
|
416
416
|
}]);
|
|
417
417
|
await item.worker({
|
|
418
418
|
context: this.context,
|
|
@@ -423,12 +423,8 @@ class FileLane {
|
|
|
423
423
|
throw new Error(`${item.workerDescribe} error}`);
|
|
424
424
|
})
|
|
425
425
|
});
|
|
426
|
-
this.handlerLogs([{
|
|
427
|
-
level: _sharedUtils.Loglevel.INFO,
|
|
428
|
-
message: `FollowWork: ${item.workerDescribe} end`
|
|
429
|
-
}]);
|
|
430
426
|
} catch (error) {
|
|
431
|
-
throw new Error(`
|
|
427
|
+
throw new Error(`afterCompile: ${item.workerDescribe} error: ${error}`);
|
|
432
428
|
}
|
|
433
429
|
}
|
|
434
430
|
}
|
|
@@ -94,7 +94,6 @@ export default interface IFileLaneConfig<O = any> {
|
|
|
94
94
|
/**
|
|
95
95
|
* 项目转换的后续工作
|
|
96
96
|
*
|
|
97
|
-
* xts--[zip]
|
|
98
97
|
* ux--[webpack, zip]
|
|
99
98
|
* uxInspect--[webpack, zipPhone, zipWatch, zipTv]
|
|
100
99
|
*/
|
|
@@ -103,7 +102,6 @@ export default interface IFileLaneConfig<O = any> {
|
|
|
103
102
|
* 配置watch时忽略的文件或者文件夹
|
|
104
103
|
*/
|
|
105
104
|
watchIgnores?: MatchType;
|
|
106
|
-
projectPath: string;
|
|
107
105
|
}
|
|
108
106
|
type FollowWoker<O> = {
|
|
109
107
|
worker: FollowWork<O>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "file-lane",
|
|
3
|
-
"version": "2.0.5-beta.
|
|
3
|
+
"version": "2.0.5-beta.14",
|
|
4
4
|
"description": "File conversion tool, can be one-to-one, one to N, N to one",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"file",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"test": "node ./__tests__/file-lane.test.js"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aiot-toolkit/shared-utils": "2.0.5-beta.
|
|
23
|
+
"@aiot-toolkit/shared-utils": "2.0.5-beta.14",
|
|
24
24
|
"chokidar": "^3.6.0",
|
|
25
25
|
"fs-extra": "^11.2.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/fs-extra": "^11.0.4"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "63c6564afe9bedd9c034f03e8e457b6cfa6960ae"
|
|
31
31
|
}
|