umi 3.5.24 → 3.5.27

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/README.md CHANGED
@@ -14,7 +14,7 @@ English | [简体中文](https://github.com/umijs/umi/blob/master/README.zh-CN.m
14
14
 
15
15
  - 🎉 **Extensible**, Umi implements the complete lifecycle and makes it extensible, and Umi's internal functions are all plugins. Umi also support plugins and presets.
16
16
  - 📦 **Out of the Box**, Umi has built-in routing, building, deployment, testing, and so on. It only requires one dependency to get started. Umi also provides an integrated preset for React with rich functionaries.
17
- - 🐠 **Enterprise**, It has been verified by 3000+ projects in Ant Financial and projects of Alibaba, Youku, Netease, 飞猪, KouBei and other companies.
17
+ - 🐠 **Enterprise**, It has been verified by 3000+ projects in Ant Group and projects of Alibaba, Youku, Netease, 飞猪, KouBei and other companies.
18
18
  - 🚀 **Self Development**, Including micro frontend library, component packaging, documentation tools, request library, hooks library, data flow, etc.
19
19
  - 🌴 **Perfect Routing**, Supports both configuration routing and convention routing, while with functional completeness, such as dynamic routing, nested routing, permission routing, and so on.
20
20
  - 🚄 **Future Ready**, Umi's community is also exploring new technologies. For example, modern mode, webpack @ 5, automated external, bundler less, etc.
package/dist/src/cjs.d.ts CHANGED
@@ -1,8 +1,10 @@
1
+ import { getHtmlGenerator as _getHtmlGenerator } from '@umijs/preset-built-in/lib/plugins/commands/htmlUtils';
1
2
  import * as utils from '@umijs/utils';
2
3
  import { defineConfig } from './defineConfig';
3
4
  import { Service } from './ServiceWithBuiltIn';
4
5
  export * from '@umijs/runtime';
5
6
  export * from '@umijs/types';
7
+ export { _getHtmlGenerator };
6
8
  export { utils };
7
9
  export { Service };
8
10
  export { defineConfig };
package/lib/cjs.d.ts CHANGED
@@ -1,8 +1,10 @@
1
+ import { getHtmlGenerator as _getHtmlGenerator } from '@umijs/preset-built-in/lib/plugins/commands/htmlUtils';
1
2
  import * as utils from '@umijs/utils';
2
3
  import { defineConfig } from './defineConfig';
3
4
  import { Service } from './ServiceWithBuiltIn';
4
5
  export * from '@umijs/runtime';
5
6
  export * from '@umijs/types';
7
+ export { _getHtmlGenerator };
6
8
  export { utils };
7
9
  export { Service };
8
10
  export { defineConfig };
package/lib/cjs.js CHANGED
@@ -4,10 +4,17 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  var _exportNames = {
7
+ _getHtmlGenerator: true,
7
8
  utils: true,
8
9
  defineConfig: true,
9
10
  Service: true
10
11
  };
12
+ Object.defineProperty(exports, "_getHtmlGenerator", {
13
+ enumerable: true,
14
+ get: function get() {
15
+ return _htmlUtils().getHtmlGenerator;
16
+ }
17
+ });
11
18
  Object.defineProperty(exports, "defineConfig", {
12
19
  enumerable: true,
13
20
  get: function get() {
@@ -32,6 +39,16 @@ function _react() {
32
39
  return data;
33
40
  }
34
41
 
42
+ function _htmlUtils() {
43
+ const data = require("@umijs/preset-built-in/lib/plugins/commands/htmlUtils");
44
+
45
+ _htmlUtils = function _htmlUtils() {
46
+ return data;
47
+ };
48
+
49
+ return data;
50
+ }
51
+
35
52
  function utils() {
36
53
  const data = _interopRequireWildcard(require("@umijs/utils"));
37
54
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umi",
3
- "version": "3.5.24",
3
+ "version": "3.5.27",
4
4
  "description": "umi",
5
5
  "main": "index.js",
6
6
  "types": "types.d.ts",
@@ -28,13 +28,13 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@umijs/bundler-webpack": "3.5.24",
32
- "@umijs/core": "3.5.24",
33
- "@umijs/deps": "3.5.24",
34
- "@umijs/preset-built-in": "3.5.24",
35
- "@umijs/runtime": "3.5.24",
36
- "@umijs/types": "3.5.24",
37
- "@umijs/utils": "3.5.24",
31
+ "@umijs/bundler-webpack": "3.5.27",
32
+ "@umijs/core": "3.5.27",
33
+ "@umijs/deps": "3.5.27",
34
+ "@umijs/preset-built-in": "3.5.27",
35
+ "@umijs/runtime": "3.5.27",
36
+ "@umijs/types": "3.5.27",
37
+ "@umijs/utils": "3.5.27",
38
38
  "react": "16.x",
39
39
  "react-dom": "16.x",
40
40
  "v8-compile-cache": "2.3.0"