@ray-js/builder-component 1.4.61-beta.0 → 1.4.61-beta.1
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
|
},
|
package/lib/transform/type.js
CHANGED
@@ -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.4.61-beta.
|
3
|
+
"version": "1.4.61-beta.1",
|
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.
|
26
|
+
"@babel/core": "^7.24.4",
|
27
27
|
"@babel/helper-plugin-utils": "^7.24.0",
|
28
28
|
"@babel/traverse": "^7.24.1",
|
29
29
|
"@babel/types": "^7.24.0",
|
30
|
-
"@ray-js/babel-preset-standard": "^1.4.61-beta.
|
31
|
-
"@ray-js/shared": "^1.4.61-beta.
|
32
|
-
"@ray-js/types": "^1.4.61-beta.
|
30
|
+
"@ray-js/babel-preset-standard": "^1.4.61-beta.1",
|
31
|
+
"@ray-js/shared": "^1.4.61-beta.1",
|
32
|
+
"@ray-js/types": "^1.4.61-beta.1",
|
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.
|
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": "
|
47
|
+
"gitHead": "c1a776cd98053e3a5ea2ac058b96fbc35f6562b5"
|
48
48
|
}
|