Comparing version 2.0.2-beta.5 to 2.0.2-beta.6
@@ -155,3 +155,3 @@ "use strict"; | ||
catch (error) { | ||
console.log('error', error); | ||
console.log('FileLane error', error); | ||
ColorConsole_1.default.throw(`ERROR: build error, ${error || 'unknown error'}`); | ||
@@ -158,0 +158,0 @@ // 结束任务 |
@@ -8,2 +8,14 @@ import { MatchType } from '@aiot-toolkit/shared-utils/lib/utils/FileUtil'; | ||
}; | ||
export interface IRule { | ||
/** | ||
* 配置文件 | ||
*/ | ||
test: MatchType; | ||
/** | ||
* 文件的 Loader,从前向后依次执行,前一个 loader 结果做为后一个 loader 的入参 | ||
*/ | ||
loader: ILoaderClass[]; | ||
exclude?: MatchType; | ||
include?: MatchType; | ||
} | ||
/** | ||
@@ -49,11 +61,3 @@ * IFileLaneConfig | ||
*/ | ||
rules: { | ||
/** | ||
* 配置文件 | ||
*/ | ||
test: MatchType; | ||
loader: ILoaderClass[]; | ||
exclude?: MatchType; | ||
include?: MatchType; | ||
}[]; | ||
rules: IRule[]; | ||
}; | ||
@@ -60,0 +64,0 @@ /** |
{ | ||
"name": "file-lane", | ||
"version": "2.0.2-beta.5", | ||
"version": "2.0.2-beta.6", | ||
"description": "File conversion tool, can be one-to-one, one to N, N to one", | ||
@@ -23,3 +23,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@aiot-toolkit/shared-utils": "2.0.2-beta.5", | ||
"@aiot-toolkit/shared-utils": "2.0.2-beta.6", | ||
"archiver": "^6.0.1", | ||
@@ -34,3 +34,3 @@ "chokidar": "^3.5.3", | ||
}, | ||
"gitHead": "8c18753992c453c6569a3125378e75fbf4760a1f" | ||
"gitHead": "b9b99afff176075380c2ec95b43797d696c393c1" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35051
952
+ Added@aiot-toolkit/shared-utils@2.0.2-beta.6(transitive)
- Removed@aiot-toolkit/shared-utils@2.0.2-beta.5(transitive)