@ray-js/builder-component 1.5.40 → 1.5.42
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/build.js +1 -1
- package/lib/transform/babelTransform.js +1 -1
- package/lib/transform/index.js +3 -3
- package/lib/transform/type.js +1 -2
- package/package.json +10 -10
package/lib/build.js
CHANGED
@@ -12,6 +12,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
12
12
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
|
+
exports.default = build;
|
15
16
|
const chokidar_1 = __importDefault(require("chokidar"));
|
16
17
|
const colors_1 = __importDefault(require("colors"));
|
17
18
|
const globby_1 = __importDefault(require("globby"));
|
@@ -106,4 +107,3 @@ function build(options) {
|
|
106
107
|
}
|
107
108
|
});
|
108
109
|
}
|
109
|
-
exports.default = build;
|
@@ -13,6 +13,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
13
13
|
};
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
15
15
|
exports.legacyTarget = void 0;
|
16
|
+
exports.default = babelTransform;
|
16
17
|
const fs_extra_1 = __importDefault(require("fs-extra"));
|
17
18
|
const core_1 = require("@babel/core");
|
18
19
|
/**
|
@@ -80,4 +81,3 @@ function babelTransform(file, options) {
|
|
80
81
|
});
|
81
82
|
});
|
82
83
|
}
|
83
|
-
exports.default = babelTransform;
|
package/lib/transform/index.js
CHANGED
@@ -35,7 +35,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
35
35
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
36
36
|
};
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
38
|
-
exports.
|
38
|
+
exports.generateDTS = void 0;
|
39
|
+
exports.unlinkPlatformFiles = unlinkPlatformFiles;
|
40
|
+
exports.transformPlatformFiles = transformPlatformFiles;
|
39
41
|
const colors_1 = __importDefault(require("colors"));
|
40
42
|
const fs_extra_1 = __importDefault(require("fs-extra"));
|
41
43
|
const path_1 = __importDefault(require("path"));
|
@@ -152,7 +154,6 @@ function unlinkPlatformFiles(options) {
|
|
152
154
|
}
|
153
155
|
unlinkPaths.filter(fs_extra_1.default.existsSync).map(fs_extra_1.default.unlinkSync);
|
154
156
|
}
|
155
|
-
exports.unlinkPlatformFiles = unlinkPlatformFiles;
|
156
157
|
/**
|
157
158
|
* 是否为平台文件后缀文件
|
158
159
|
*
|
@@ -300,4 +301,3 @@ function transformPlatformFiles(options) {
|
|
300
301
|
logInfo(transformOutputTargets);
|
301
302
|
});
|
302
303
|
}
|
303
|
-
exports.transformPlatformFiles = transformPlatformFiles;
|
package/lib/transform/type.js
CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
23
23
|
return result;
|
24
24
|
};
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
26
|
-
exports.generateDTS =
|
26
|
+
exports.generateDTS = generateDTS;
|
27
27
|
const ts = __importStar(require("typescript"));
|
28
28
|
const options = {
|
29
29
|
allowJs: false, // js 不管
|
@@ -47,4 +47,3 @@ function generateDTS(cb) {
|
|
47
47
|
program.emit();
|
48
48
|
};
|
49
49
|
}
|
50
|
-
exports.generateDTS = generateDTS;
|
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.42",
|
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.
|
27
|
-
"@babel/helper-plugin-utils": "^7.
|
28
|
-
"@babel/traverse": "^7.
|
29
|
-
"@babel/types": "^7.
|
30
|
-
"@ray-js/babel-preset-standard": "1.5.
|
31
|
-
"@ray-js/shared": "1.5.
|
32
|
-
"@ray-js/types": "1.5.
|
26
|
+
"@babel/core": "^7.26.0",
|
27
|
+
"@babel/helper-plugin-utils": "^7.25.9",
|
28
|
+
"@babel/traverse": "^7.25.9",
|
29
|
+
"@babel/types": "^7.26.0",
|
30
|
+
"@ray-js/babel-preset-standard": "1.5.42",
|
31
|
+
"@ray-js/shared": "1.5.42",
|
32
|
+
"@ray-js/types": "1.5.42",
|
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": "^5.
|
41
|
+
"typescript": "^5.6.3"
|
42
42
|
},
|
43
43
|
"publishConfig": {
|
44
44
|
"access": "public",
|
45
45
|
"registry": "https://registry.npmjs.com"
|
46
46
|
},
|
47
|
-
"gitHead": "
|
47
|
+
"gitHead": "3694e85574ec5b7d92cf7d2df362926adf5a03cd"
|
48
48
|
}
|