@ray-js/builder-component 1.5.0 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -69,7 +69,7 @@ function babelTransform(file, options) {
69
69
  modules,
70
70
  jsx: 'react',
71
71
  platform: target,
72
- macro: false,
72
+ macro: false, // 避免将 @ray-core/ray/macro 进行编译
73
73
  // native 不需要 polyfill
74
74
  useBuiltIns: ['native', 'ios', 'android'].includes(target) ? false : undefined,
75
75
  },
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.generateDTS = void 0;
27
27
  const ts = __importStar(require("typescript"));
28
28
  const options = {
29
- allowJs: false,
29
+ allowJs: false, // js 不管
30
30
  declaration: true,
31
31
  emitDeclarationOnly: true,
32
32
  esModuleInterop: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/builder-component",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "Ray builder for component",
5
5
  "keywords": [
6
6
  "ray"
@@ -23,13 +23,13 @@
23
23
  "watch": "tsc -p ./tsconfig.build.json --watch"
24
24
  },
25
25
  "dependencies": {
26
- "@babel/core": "^7.24.3",
27
- "@babel/helper-plugin-utils": "^7.24.0",
28
- "@babel/traverse": "^7.24.1",
29
- "@babel/types": "^7.24.0",
30
- "@ray-js/babel-preset-standard": "1.5.0",
31
- "@ray-js/shared": "1.5.0",
32
- "@ray-js/types": "1.5.0",
26
+ "@babel/core": "^7.24.5",
27
+ "@babel/helper-plugin-utils": "^7.24.5",
28
+ "@babel/traverse": "^7.24.5",
29
+ "@babel/types": "^7.24.5",
30
+ "@ray-js/babel-preset-standard": "1.5.2",
31
+ "@ray-js/shared": "1.5.2",
32
+ "@ray-js/types": "1.5.2",
33
33
  "babel-plugin-import": "^1.13.8",
34
34
  "chokidar": "^3.6.0",
35
35
  "colors": "1.4.0",
@@ -38,11 +38,11 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@types/fs-extra": "^11.0.4",
41
- "typescript": "^4.9.5"
41
+ "typescript": "^5.4.5"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public",
45
45
  "registry": "https://registry.npmjs.org"
46
46
  },
47
- "gitHead": "acb0b960e4f0cda492b34c950bf9cd8d5b27ec8a"
47
+ "gitHead": "c0c81b8edb75aa8c919e3b6503622b66166d81bd"
48
48
  }