@aiot-toolkit/aiotpack 2.0.2-dev.2 → 2.0.2-dev.3
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/config/UxConfig.d.ts +0 -5
- package/lib/config/UxConfig.js +5 -6
- package/package.json +5 -10
package/lib/config/UxConfig.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IFileLaneConfig } from 'file-lane';
|
|
2
2
|
import IJavascriptCompileOption from '../compiler/javascript/interface/IJavascriptCompileOption';
|
|
3
3
|
import AppUxLoader from '../loader/ux/AppUxLoader';
|
|
4
|
-
import ImageCompressLoader from '../loader/ux/ImageCompressLoader';
|
|
5
4
|
import JsLoader from '../loader/ux/JsLoader';
|
|
6
5
|
import UxLoader from '../loader/ux/UxLoader';
|
|
7
6
|
declare class UxConfig implements IFileLaneConfig<IJavascriptCompileOption> {
|
|
@@ -22,10 +21,6 @@ declare class UxConfig implements IFileLaneConfig<IJavascriptCompileOption> {
|
|
|
22
21
|
test: RegExp[];
|
|
23
22
|
loader: (typeof JsLoader)[];
|
|
24
23
|
exclude?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
test: RegExp[];
|
|
27
|
-
loader: (typeof ImageCompressLoader)[];
|
|
28
|
-
exclude: RegExp[];
|
|
29
24
|
})[];
|
|
30
25
|
};
|
|
31
26
|
preWorks: import("file-lane/lib/interface/IFileLaneConfig").PreWork<IJavascriptCompileOption>[];
|
package/lib/config/UxConfig.js
CHANGED
|
@@ -5,7 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
const path_1 = __importDefault(require("path"));
|
|
7
7
|
const AppUxLoader_1 = __importDefault(require("../loader/ux/AppUxLoader"));
|
|
8
|
-
const ImageCompressLoader_1 = __importDefault(require("../loader/ux/ImageCompressLoader"));
|
|
9
8
|
const JsLoader_1 = __importDefault(require("../loader/ux/JsLoader"));
|
|
10
9
|
const PngLoader_1 = __importDefault(require("../loader/ux/PngLoader"));
|
|
11
10
|
const UxLoader_1 = __importDefault(require("../loader/ux/UxLoader"));
|
|
@@ -34,12 +33,12 @@ class UxConfig {
|
|
|
34
33
|
{
|
|
35
34
|
test: [/.+\.9.png/],
|
|
36
35
|
loader: [PngLoader_1.default]
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
test: [/.+\.(png|jpg|jpeg|gif)/],
|
|
40
|
-
loader: [ImageCompressLoader_1.default],
|
|
41
|
-
exclude: [/.+\.9.png/]
|
|
42
36
|
}
|
|
37
|
+
// {
|
|
38
|
+
// test: [/.+\.(png|jpg|jpeg|gif)/],
|
|
39
|
+
// loader: [ImageCompressLoader],
|
|
40
|
+
// exclude: [/.+\.9.png/]
|
|
41
|
+
// }
|
|
43
42
|
]
|
|
44
43
|
};
|
|
45
44
|
this.preWorks = [
|
package/package.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiot-toolkit/aiotpack",
|
|
3
|
-
"version": "2.0.2-dev.
|
|
3
|
+
"version": "2.0.2-dev.3",
|
|
4
4
|
"description": "The process tool for packaging aiot projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aiotpack"
|
|
7
7
|
],
|
|
8
|
-
"author": "徐俊杰 <xujunjie1@xiaomi.com>",
|
|
9
8
|
"homepage": "",
|
|
10
9
|
"license": "ISC",
|
|
11
10
|
"main": "lib/index.js",
|
|
@@ -16,21 +15,17 @@
|
|
|
16
15
|
"files": [
|
|
17
16
|
"lib"
|
|
18
17
|
],
|
|
19
|
-
"repository": {
|
|
20
|
-
"type": "git",
|
|
21
|
-
"url": "ssh://xujunjie1@git.mioffice.cn:29418/vela/aiot-toolkit"
|
|
22
|
-
},
|
|
23
18
|
"scripts": {
|
|
24
19
|
"test": "node ./__tests__/aiotpack.test.js"
|
|
25
20
|
},
|
|
26
21
|
"dependencies": {
|
|
27
|
-
"@aiot-toolkit/generator": "2.0.2-dev.
|
|
28
|
-
"@aiot-toolkit/parser": "2.0.2-dev.
|
|
22
|
+
"@aiot-toolkit/generator": "2.0.2-dev.3",
|
|
23
|
+
"@aiot-toolkit/parser": "2.0.2-dev.3",
|
|
29
24
|
"@hap-toolkit/aaptjs": "^2.0.0",
|
|
30
25
|
"babel-loader": "^9.1.3",
|
|
31
26
|
"del": "^4.1.0",
|
|
32
27
|
"fast-glob": "^3.3.2",
|
|
33
|
-
"file-lane": "2.0.2-dev.
|
|
28
|
+
"file-lane": "2.0.2-dev.3",
|
|
34
29
|
"file-loader": "^6.2.0",
|
|
35
30
|
"fs-extra": "^11.2.0",
|
|
36
31
|
"jsrsasign": "^7.2.2",
|
|
@@ -44,5 +39,5 @@
|
|
|
44
39
|
"@types/jsrsasign": "^10.5.12",
|
|
45
40
|
"@types/webpack-sources": "^3.2.3"
|
|
46
41
|
},
|
|
47
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "e143a7038d5efaa59f01b2e2eb98422b1ec01097"
|
|
48
43
|
}
|