@ray-js/builder-mp 1.5.40 → 1.5.41

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.
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = babelConfig;
3
4
  function babelConfig(api) {
4
5
  api.cache(true);
5
6
  return {
@@ -17,4 +18,3 @@ function babelConfig(api) {
17
18
  ],
18
19
  };
19
20
  }
20
- exports.default = babelConfig;
@@ -26,6 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.default = RayHooks;
29
30
  const t = __importStar(require("@babel/types"));
30
31
  function insertImport(program, imports, moduleName) {
31
32
  const specifiers = imports.map((i) => t.importSpecifier(t.identifier(i), t.identifier(i)));
@@ -63,4 +64,3 @@ function RayHooks() {
63
64
  },
64
65
  };
65
66
  }
66
- exports.default = RayHooks;
@@ -26,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
26
26
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.default = ContextAndHoc;
29
30
  const change_case_1 = require("change-case");
30
31
  const fs_1 = __importDefault(require("fs"));
31
32
  const P = __importStar(require("path"));
@@ -284,4 +285,3 @@ function ContextAndHoc() {
284
285
  },
285
286
  };
286
287
  }
287
- exports.default = ContextAndHoc;
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 colors_1 = __importDefault(require("colors"));
16
17
  const shared_1 = require("@ray-js/shared");
17
18
  const legacyExport_1 = require("@ray-core/cli/lib/legacyExport");
@@ -45,4 +46,3 @@ function build(options, context) {
45
46
  return compiler;
46
47
  });
47
48
  }
48
- exports.default = build;
package/lib/ray-core.js CHANGED
@@ -14,7 +14,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.RayAPI = exports.getRayCoreOptions = void 0;
17
+ exports.RayAPI = void 0;
18
+ exports.getRayCoreOptions = getRayCoreOptions;
18
19
  const path_1 = __importDefault(require("path"));
19
20
  const legacyExport_1 = require("@ray-core/cli/lib/legacyExport");
20
21
  const API_1 = __importDefault(require("@ray-core/cli/lib/API"));
@@ -58,7 +59,6 @@ function getRayCoreOptions() {
58
59
  blended });
59
60
  return remaxBuildConfig;
60
61
  }
61
- exports.getRayCoreOptions = getRayCoreOptions;
62
62
  class RayAPI extends API_1.default {
63
63
  constructor(opts) {
64
64
  super();
package/lib/utils.js CHANGED
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getModuleOfPlatform = void 0;
6
+ exports.getModuleOfPlatform = getModuleOfPlatform;
7
7
  const paths_1 = require("@ray-core/cli/lib/build/utils/paths");
8
8
  const path_1 = __importDefault(require("path"));
9
9
  const fs_extra_1 = __importDefault(require("fs-extra"));
@@ -33,4 +33,3 @@ function getModuleOfPlatform(file, opts) {
33
33
  }
34
34
  }
35
35
  }
36
- exports.getModuleOfPlatform = getModuleOfPlatform;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/builder-mp",
3
- "version": "1.5.40",
3
+ "version": "1.5.41",
4
4
  "description": "Ray builder for mini program",
5
5
  "keywords": [
6
6
  "ray"
@@ -24,20 +24,20 @@
24
24
  "watch": "tsc -p ./tsconfig.build.json --watch"
25
25
  },
26
26
  "dependencies": {
27
- "@babel/plugin-transform-private-methods": "^7.24.1",
28
- "@babel/plugin-transform-private-property-in-object": "^7.24.5",
29
- "@babel/template": "^7.24.0",
30
- "@babel/traverse": "^7.24.5",
31
- "@babel/types": "^7.24.5",
32
- "@ray-core/babel-preset-remax": "^0.4.5",
33
- "@ray-core/build-store": "^0.4.5",
34
- "@ray-core/cli": "^0.4.5",
35
- "@ray-core/ray": "^0.4.5",
36
- "@ray-js/adapter": "1.5.40",
27
+ "@babel/plugin-transform-private-methods": "^7.25.9",
28
+ "@babel/plugin-transform-private-property-in-object": "^7.25.9",
29
+ "@babel/template": "^7.25.9",
30
+ "@babel/traverse": "^7.25.9",
31
+ "@babel/types": "^7.26.0",
32
+ "@ray-core/babel-preset-remax": "^0.4.7",
33
+ "@ray-core/build-store": "^0.4.7",
34
+ "@ray-core/cli": "^0.4.7",
35
+ "@ray-core/ray": "^0.4.7",
36
+ "@ray-js/adapter": "1.5.41",
37
37
  "@ray-js/rjs-for-wechat": "^0.0.3",
38
- "@ray-js/shared": "1.5.40",
39
- "@ray-js/types": "1.5.40",
40
- "babel-loader": "^8.3.0",
38
+ "@ray-js/shared": "1.5.41",
39
+ "@ray-js/types": "1.5.41",
40
+ "babel-loader": "^8.4.1",
41
41
  "babel-plugin-minify-dead-code-elimination": "^0.5.2",
42
42
  "babel-plugin-transform-prune-unused-imports": "^1.0.1",
43
43
  "change-case": "^4.1.2",
@@ -49,22 +49,22 @@
49
49
  "pretty-bytes": "^5.6.0",
50
50
  "react": "^17.0.2",
51
51
  "slash": "^3.0.0",
52
- "webpack": "^5.91.0",
52
+ "webpack": "^5.96.1",
53
53
  "webpack-chain": "^6.5.1",
54
54
  "webpack-virtual-modules": "^0.4.6"
55
55
  },
56
56
  "devDependencies": {
57
- "@ray-core/types": "^0.4.5",
58
- "@types/jest": "^29.5.12",
59
- "@types/node": "^20.12.11",
57
+ "@ray-core/types": "^0.4.7",
58
+ "@types/jest": "^29.5.14",
59
+ "@types/node": "^20.17.6",
60
60
  "babel-plugin-tester": "^10.1.0",
61
61
  "jest": "^29.7.0",
62
- "ts-jest": "^29.1.2",
63
- "typescript": "^5.4.5"
62
+ "ts-jest": "^29.2.5",
63
+ "typescript": "^5.6.3"
64
64
  },
65
65
  "publishConfig": {
66
66
  "access": "public",
67
67
  "registry": "https://registry.npmjs.com"
68
68
  },
69
- "gitHead": "e8a643ccba2beedc367608816be210c5f55120cf"
69
+ "gitHead": "08f9269589769f029e63b3835dfa92b48c6a6f15"
70
70
  }