umi 4.0.0-beta.10 → 4.0.0-beta.14
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/dist/index.d.ts +0 -2
- package/dist/index.js +0 -15
- package/dist/pluginUtils.d.ts +1 -0
- package/dist/pluginUtils.js +13 -0
- package/index.esm.js +20 -2
- package/package.json +9 -6
- package/plugin-utils.d.ts +1 -0
- package/plugin-utils.js +1 -0
- package/plugin.js +1 -0
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -6,23 +6,8 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
6
6
|
if (k2 === undefined) k2 = k;
|
|
7
7
|
o[k2] = m[k];
|
|
8
8
|
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
-
if (mod && mod.__esModule) return mod;
|
|
16
|
-
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
-
__setModuleDefault(result, mod);
|
|
19
|
-
return result;
|
|
20
|
-
};
|
|
21
9
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
22
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
23
11
|
};
|
|
24
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.utils = void 0;
|
|
26
|
-
const utils = __importStar(require("@umijs/utils"));
|
|
27
|
-
exports.utils = utils;
|
|
28
13
|
__exportStar(require("./service/service"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@umijs/utils';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("@umijs/utils"), exports);
|
package/index.esm.js
CHANGED
|
@@ -1,2 +1,20 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
1
|
+
export {
|
|
2
|
+
createSearchParams,
|
|
3
|
+
Link,
|
|
4
|
+
matchPath,
|
|
5
|
+
matchRoutes,
|
|
6
|
+
NavLink,
|
|
7
|
+
Outlet,
|
|
8
|
+
renderClient,
|
|
9
|
+
useAppData,
|
|
10
|
+
useLocation,
|
|
11
|
+
useMatch,
|
|
12
|
+
useNavigate,
|
|
13
|
+
useOutlet,
|
|
14
|
+
useParams,
|
|
15
|
+
useResolvedPath,
|
|
16
|
+
useRouteData,
|
|
17
|
+
useRoutes,
|
|
18
|
+
useSearchParams,
|
|
19
|
+
} from '@umijs/renderer-react';
|
|
20
|
+
export { ApplyPluginsType, PluginManager } from './client/client/plugin';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "umi",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.14",
|
|
4
4
|
"description": "umi",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi-next/tree/master/packages/umi#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi-next/issues",
|
|
@@ -20,7 +20,10 @@
|
|
|
20
20
|
"index.d.ts",
|
|
21
21
|
"index.esm.js",
|
|
22
22
|
"client",
|
|
23
|
-
"bin"
|
|
23
|
+
"bin",
|
|
24
|
+
"plugin.js",
|
|
25
|
+
"plugin-utils.d.ts",
|
|
26
|
+
"plugin-utils.js"
|
|
24
27
|
],
|
|
25
28
|
"scripts": {
|
|
26
29
|
"build": "pnpm tsc",
|
|
@@ -29,10 +32,10 @@
|
|
|
29
32
|
"dev": "pnpm build -- --watch"
|
|
30
33
|
},
|
|
31
34
|
"dependencies": {
|
|
32
|
-
"@umijs/core": "4.0.0-beta.
|
|
33
|
-
"@umijs/preset-umi": "4.0.0-beta.
|
|
34
|
-
"@umijs/renderer-react": "4.0.0-beta.
|
|
35
|
-
"@umijs/utils": "4.0.0-beta.
|
|
35
|
+
"@umijs/core": "4.0.0-beta.14",
|
|
36
|
+
"@umijs/preset-umi": "4.0.0-beta.14",
|
|
37
|
+
"@umijs/renderer-react": "4.0.0-beta.14",
|
|
38
|
+
"@umijs/utils": "4.0.0-beta.14",
|
|
36
39
|
"v8-compile-cache": "2.3.0"
|
|
37
40
|
},
|
|
38
41
|
"publishConfig": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type * from './dist/pluginUtils';
|
package/plugin-utils.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('./dist/pluginUtils');
|
package/plugin.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { getPluginManager } from '@@/core/plugin';
|