@umijs/plugins 4.0.0-canary.20220615.2 → 4.0.0-canary.20220620.1
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/initial-state.js +1 -1
- package/dist/layout.js +1 -1
- package/dist/request.js +2 -0
- package/package.json +3 -3
package/dist/initial-state.js
CHANGED
|
@@ -63,7 +63,7 @@ import { getInitialState } from '@/app';
|
|
|
63
63
|
export type InitialStateType = Awaited<ReturnType<typeof getInitialState>> | undefined;
|
|
64
64
|
|
|
65
65
|
const initState = {
|
|
66
|
-
initialState: InitialStateType,
|
|
66
|
+
initialState: undefined as InitialStateType,
|
|
67
67
|
loading: true,
|
|
68
68
|
error: undefined,
|
|
69
69
|
};
|
package/dist/layout.js
CHANGED
|
@@ -60,7 +60,7 @@ exports.default = (api) => {
|
|
|
60
60
|
// 如果项目中没有去找插件以来的
|
|
61
61
|
return (0, path_1.dirname)(require.resolve('@ant-design/pro-layout/package.json'));
|
|
62
62
|
};
|
|
63
|
-
const pkgPath = getPkgPath();
|
|
63
|
+
const pkgPath = (0, plugin_utils_1.winPath)(getPkgPath());
|
|
64
64
|
api.modifyAppData((memo) => {
|
|
65
65
|
const version = require(`${pkgPath}/package.json`).version;
|
|
66
66
|
memo.pluginLayout = {
|
package/dist/request.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/plugins",
|
|
3
|
-
"version": "4.0.0-canary.
|
|
3
|
+
"version": "4.0.0-canary.20220620.1",
|
|
4
4
|
"description": "@umijs/plugins",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi-next/tree/master/packages/plugins#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi-next/issues",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@ahooksjs/use-request": "^2.0.0",
|
|
26
26
|
"@ant-design/icons": "^4.7.0",
|
|
27
27
|
"@ant-design/pro-layout": "^7.0.1-beta.17",
|
|
28
|
-
"@umijs/bundler-utils": "4.0.0-canary.
|
|
28
|
+
"@umijs/bundler-utils": "4.0.0-canary.20220620.1",
|
|
29
29
|
"antd-dayjs-webpack-plugin": "^1.0.6",
|
|
30
30
|
"axios": "^0.27.2",
|
|
31
31
|
"babel-plugin-import": "^1.13.5",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"warning": "^4.0.3"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"umi": "4.0.0-canary.
|
|
47
|
+
"umi": "4.0.0-canary.20220620.1"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|