@ray-js/builder-component 0.5.9 → 0.5.10-beta-1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/transform/index.js +2 -2
- package/package.json +6 -6
package/lib/transform/index.js
CHANGED
@@ -39,7 +39,7 @@ const transformTarget = [
|
|
39
39
|
types_1.PlatformTarget.web,
|
40
40
|
types_1.PlatformTarget.ios,
|
41
41
|
types_1.PlatformTarget.android,
|
42
|
-
types_1.PlatformTarget.
|
42
|
+
types_1.PlatformTarget.thing,
|
43
43
|
]; // 构建的目标平台
|
44
44
|
/**
|
45
45
|
* 根据原文件,移除对应生成的平台文件
|
@@ -79,7 +79,7 @@ const REGEXP_PLATFORM_EXTENSION = new RegExp(`\\.(?<target>(${PLATFORM_EXTENSION
|
|
79
79
|
*
|
80
80
|
* @param file
|
81
81
|
* @example
|
82
|
-
* .native.js .wechat.js .
|
82
|
+
* .native.js .wechat.js .thing.js
|
83
83
|
*/
|
84
84
|
function isPlatformExtension(file) {
|
85
85
|
const fileName = path_1.default.basename(file);
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/builder-component",
|
3
|
-
"version": "0.5.
|
3
|
+
"version": "0.5.10-beta-1",
|
4
4
|
"description": "Ray builder for component",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
@@ -24,10 +24,10 @@
|
|
24
24
|
"@babel/helper-plugin-utils": "^7.14.5",
|
25
25
|
"@babel/traverse": "^7.16.3",
|
26
26
|
"@babel/types": "^7.16.0",
|
27
|
-
"@ray-js/babel-preset-standard": "^0.5.
|
28
|
-
"@ray-js/env-loader": "^0.5.
|
29
|
-
"@ray-js/shared": "^0.5.
|
30
|
-
"@ray-js/types": "^0.5.
|
27
|
+
"@ray-js/babel-preset-standard": "^0.5.10-beta-1",
|
28
|
+
"@ray-js/env-loader": "^0.5.10-beta-1",
|
29
|
+
"@ray-js/shared": "^0.5.10-beta-1",
|
30
|
+
"@ray-js/types": "^0.5.10-beta-1",
|
31
31
|
"babel-plugin-import": "^1.13.3",
|
32
32
|
"chokidar": "^3.5.2",
|
33
33
|
"colors": "1.4.0",
|
@@ -44,6 +44,6 @@
|
|
44
44
|
"email": "tuyafe@tuya.com"
|
45
45
|
}
|
46
46
|
],
|
47
|
-
"gitHead": "
|
47
|
+
"gitHead": "269dad23e6a4cbbc8289142e6a60cc2586e4c130",
|
48
48
|
"repository": {}
|
49
49
|
}
|