@ray-js/builder-component 1.5.0 → 1.5.2
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.
- package/lib/transform/babelTransform.js +1 -1
- package/lib/transform/type.js +1 -1
- package/package.json +10 -10
@@ -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.5.
|
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.
|
27
|
-
"@babel/helper-plugin-utils": "^7.24.
|
28
|
-
"@babel/traverse": "^7.24.
|
29
|
-
"@babel/types": "^7.24.
|
30
|
-
"@ray-js/babel-preset-standard": "1.5.
|
31
|
-
"@ray-js/shared": "1.5.
|
32
|
-
"@ray-js/types": "1.5.
|
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.
|
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": "c0c81b8edb75aa8c919e3b6503622b66166d81bd"
|
48
48
|
}
|