umi 4.0.85 → 4.0.87

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.
@@ -8,12 +8,12 @@ import _classCallCheck from "@babel/runtime/helpers/esm/classCallCheck";
8
8
  import _createClass from "@babel/runtime/helpers/esm/createClass";
9
9
  import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
10
10
  import { assert, compose, isPromiseLike } from "./utils";
11
- export var ApplyPluginsType;
12
- (function (ApplyPluginsType) {
11
+ export var ApplyPluginsType = /*#__PURE__*/function (ApplyPluginsType) {
13
12
  ApplyPluginsType["compose"] = "compose";
14
13
  ApplyPluginsType["modify"] = "modify";
15
14
  ApplyPluginsType["event"] = "event";
16
- })(ApplyPluginsType || (ApplyPluginsType = {}));
15
+ return ApplyPluginsType;
16
+ }({});
17
17
  export var PluginManager = /*#__PURE__*/function () {
18
18
  function PluginManager(opts) {
19
19
  _classCallCheck(this, PluginManager);
package/dist/cli/fork.js CHANGED
@@ -88,5 +88,3 @@ function utilPortValid(port, totalTry, callback) {
88
88
  }
89
89
  });
90
90
  }
91
- // Annotate the CommonJS export names for ESM import in node:
92
- 0 && (module.exports = {});
package/dist/index.js CHANGED
@@ -36,5 +36,6 @@ __reExport(src_exports, require("./service/service"), module.exports);
36
36
  RUNTIME_TYPE_FILE_NAME,
37
37
  defineConfig,
38
38
  defineMock,
39
- run
39
+ run,
40
+ ...require("./service/service")
40
41
  });
@@ -43,5 +43,6 @@ __reExport(pluginUtils_exports, require("@umijs/utils"), module.exports);
43
43
  0 && (module.exports = {
44
44
  createServerRoutes,
45
45
  express,
46
- httpProxyMiddleware
46
+ httpProxyMiddleware,
47
+ ...require("@umijs/utils")
47
48
  });
package/dist/test.js CHANGED
@@ -77,5 +77,6 @@ async function configUmiAlias(config) {
77
77
  0 && (module.exports = {
78
78
  configUmiAlias,
79
79
  getAliasPathWithKey,
80
- getUmiAlias
80
+ getUmiAlias,
81
+ ...require("@umijs/test")
81
82
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umi",
3
- "version": "4.0.85",
3
+ "version": "4.0.87",
4
4
  "description": "umi",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/umi#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",
@@ -31,18 +31,18 @@
31
31
  "test.js"
32
32
  ],
33
33
  "dependencies": {
34
- "@babel/runtime": "7.21.0",
34
+ "@babel/runtime": "7.23.2",
35
35
  "prettier-plugin-organize-imports": "^3.2.2",
36
36
  "prettier-plugin-packagejson": "2.4.3",
37
- "@umijs/lint": "4.0.85",
38
- "@umijs/bundler-utils": "4.0.85",
39
- "@umijs/bundler-webpack": "4.0.85",
40
- "@umijs/core": "4.0.85",
41
- "@umijs/preset-umi": "4.0.85",
42
- "@umijs/renderer-react": "4.0.85",
43
- "@umijs/test": "4.0.85",
44
- "@umijs/server": "4.0.85",
45
- "@umijs/utils": "4.0.85"
37
+ "@umijs/bundler-utils": "4.0.87",
38
+ "@umijs/bundler-webpack": "4.0.87",
39
+ "@umijs/core": "4.0.87",
40
+ "@umijs/lint": "4.0.87",
41
+ "@umijs/preset-umi": "4.0.87",
42
+ "@umijs/renderer-react": "4.0.87",
43
+ "@umijs/server": "4.0.87",
44
+ "@umijs/test": "4.0.87",
45
+ "@umijs/utils": "4.0.87"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=14"