@ray-js/builder-component 1.4.0-alpha.1 → 1.4.0-alpha.11
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.
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
const helper_plugin_utils_1 = require("@babel/helper-plugin-utils");
|
4
|
+
// @ts-ignore
|
4
5
|
exports.default = (0, helper_plugin_utils_1.declare)((api, options) => {
|
5
6
|
api.assertVersion(7);
|
6
7
|
const replace = options.replace;
|
package/lib/build.d.ts
CHANGED
@@ -6,9 +6,9 @@ import { Target } from '@ray-js/types';
|
|
6
6
|
* so,在智能构建模式下不生成 .tuya.js文件,但若存在a.tuya.ts源文件的,仍认为是小程序扩展的源文件
|
7
7
|
*/
|
8
8
|
export declare const legacyTarget = "tuya";
|
9
|
-
|
10
|
-
export
|
11
|
-
|
9
|
+
type TLegacyTarget = typeof legacyTarget;
|
10
|
+
export type TransformTarget = Target | TLegacyTarget;
|
11
|
+
type BabelTransformOptions = {
|
12
12
|
modules: Modules;
|
13
13
|
target?: TransformTarget;
|
14
14
|
};
|
package/package.json
CHANGED
@@ -1,48 +1,48 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ray-js/builder-component",
|
3
|
-
"version": "1.4.0-alpha.
|
3
|
+
"version": "1.4.0-alpha.11",
|
4
4
|
"description": "Ray builder for component",
|
5
5
|
"keywords": [
|
6
6
|
"ray"
|
7
7
|
],
|
8
|
+
"repository": {},
|
8
9
|
"license": "MIT",
|
10
|
+
"maintainers": [
|
11
|
+
{
|
12
|
+
"name": "tuyafe",
|
13
|
+
"email": "tuyafe@tuya.com"
|
14
|
+
}
|
15
|
+
],
|
9
16
|
"main": "lib/index.js",
|
10
17
|
"files": [
|
11
18
|
"lib"
|
12
19
|
],
|
13
|
-
"publishConfig": {
|
14
|
-
"access": "public",
|
15
|
-
"registry": "https://registry.npmjs.org"
|
16
|
-
},
|
17
20
|
"scripts": {
|
18
|
-
"clean": "rm -rf lib esm dts",
|
19
21
|
"build": "tsc -p ./tsconfig.build.json",
|
22
|
+
"clean": "rm -rf lib esm dts",
|
20
23
|
"watch": "tsc -p ./tsconfig.build.json --watch"
|
21
24
|
},
|
22
25
|
"dependencies": {
|
23
|
-
"@babel/core": "^7.
|
24
|
-
"@babel/helper-plugin-utils": "^7.
|
25
|
-
"@babel/traverse": "^7.
|
26
|
-
"@babel/types": "^7.
|
27
|
-
"@ray-js/babel-preset-standard": "^1.4.0-alpha.
|
28
|
-
"@ray-js/shared": "^1.4.0-alpha.
|
29
|
-
"@ray-js/types": "^1.4.0-alpha.
|
30
|
-
"babel-plugin-import": "^1.13.
|
31
|
-
"chokidar": "^3.5.
|
26
|
+
"@babel/core": "^7.22.11",
|
27
|
+
"@babel/helper-plugin-utils": "^7.22.5",
|
28
|
+
"@babel/traverse": "^7.22.11",
|
29
|
+
"@babel/types": "^7.22.11",
|
30
|
+
"@ray-js/babel-preset-standard": "^1.4.0-alpha.11",
|
31
|
+
"@ray-js/shared": "^1.4.0-alpha.11",
|
32
|
+
"@ray-js/types": "^1.4.0-alpha.11",
|
33
|
+
"babel-plugin-import": "^1.13.8",
|
34
|
+
"chokidar": "^3.5.3",
|
32
35
|
"colors": "1.4.0",
|
33
|
-
"fs-extra": "^10.
|
34
|
-
"globby": "11.
|
36
|
+
"fs-extra": "^10.1.0",
|
37
|
+
"globby": "^11.1.0"
|
35
38
|
},
|
36
39
|
"devDependencies": {
|
37
|
-
"@types/fs-extra": "^9.0.
|
38
|
-
"typescript": "^4.5
|
40
|
+
"@types/fs-extra": "^9.0.13",
|
41
|
+
"typescript": "^4.9.5"
|
39
42
|
},
|
40
|
-
"
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
],
|
46
|
-
"gitHead": "4340240aafe16c03853241e2356134610e65443e",
|
47
|
-
"repository": {}
|
43
|
+
"publishConfig": {
|
44
|
+
"access": "public",
|
45
|
+
"registry": "https://registry.npmjs.org"
|
46
|
+
},
|
47
|
+
"gitHead": "5e9c8e1d288eeaf707d34515399784d98ec13a1e"
|
48
48
|
}
|