@ray-js/builder-component 1.4.0-alpha.1 → 1.4.0-alpha.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,5 +1,5 @@
1
1
  import { CliOptions } from '@ray-js/types';
2
- declare type Options = Pick<CliOptions, 'source' | 'output' | 'watch'> & {
2
+ type Options = Pick<CliOptions, 'source' | 'output' | 'watch'> & {
3
3
  cwd: string;
4
4
  transformMode: 'pure' | 'auto';
5
5
  emitDeclarationDev: boolean;
@@ -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
- declare type TLegacyTarget = typeof legacyTarget;
10
- export declare type TransformTarget = Target | TLegacyTarget;
11
- declare type BabelTransformOptions = {
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.1",
3
+ "version": "1.4.0-alpha.10",
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.16.0",
24
- "@babel/helper-plugin-utils": "^7.14.5",
25
- "@babel/traverse": "^7.16.3",
26
- "@babel/types": "^7.16.0",
27
- "@ray-js/babel-preset-standard": "^1.4.0-alpha.1",
28
- "@ray-js/shared": "^1.4.0-alpha.1",
29
- "@ray-js/types": "^1.4.0-alpha.1",
30
- "babel-plugin-import": "^1.13.3",
31
- "chokidar": "^3.5.2",
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.10",
31
+ "@ray-js/shared": "^1.4.0-alpha.10",
32
+ "@ray-js/types": "^1.4.0-alpha.10",
33
+ "babel-plugin-import": "^1.13.8",
34
+ "chokidar": "^3.5.3",
32
35
  "colors": "1.4.0",
33
- "fs-extra": "^10.0.0",
34
- "globby": "11.x"
36
+ "fs-extra": "^10.1.0",
37
+ "globby": "^11.1.0"
35
38
  },
36
39
  "devDependencies": {
37
- "@types/fs-extra": "^9.0.12",
38
- "typescript": "^4.5.2"
40
+ "@types/fs-extra": "^9.0.13",
41
+ "typescript": "^4.9.5"
39
42
  },
40
- "maintainers": [
41
- {
42
- "name": "tuyafe",
43
- "email": "tuyafe@tuya.com"
44
- }
45
- ],
46
- "gitHead": "4340240aafe16c03853241e2356134610e65443e",
47
- "repository": {}
43
+ "publishConfig": {
44
+ "access": "public",
45
+ "registry": "https://registry.npmjs.org"
46
+ },
47
+ "gitHead": "14cb935df10f020e714b44bb41d4899646db751c"
48
48
  }
package/LICENSE.md DELETED
@@ -1,9 +0,0 @@
1
- Copyright © 2014-2022 Tuya.inc
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
-
7
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.