@umijs/plugins 4.0.0-canary.20220624.1 → 4.0.0-canary.20220628.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/locale.js +1 -1
- package/dist/qiankun/master.js +2 -0
- package/package.json +6 -6
package/dist/locale.js
CHANGED
|
@@ -182,7 +182,7 @@ exports.default = (api) => {
|
|
|
182
182
|
api.writeTmpFile({
|
|
183
183
|
path: 'index.ts',
|
|
184
184
|
content: `
|
|
185
|
-
export { setLocale, getLocale, useIntl, injectIntl, formatMessage, FormattedMessage } from './localeExports.ts';
|
|
185
|
+
export { setLocale, getLocale, getIntl, useIntl, injectIntl, formatMessage, FormattedMessage } from './localeExports.ts';
|
|
186
186
|
export { SelectLang } from './SelectLang.tsx';
|
|
187
187
|
`,
|
|
188
188
|
});
|
package/dist/qiankun/master.js
CHANGED
|
@@ -97,6 +97,7 @@ export const setMasterOptions = (newOpts) => options = ({ ...options, ...newOpts
|
|
|
97
97
|
'getMicroAppRouteComponent.tsx.tpl',
|
|
98
98
|
'ErrorBoundary.tsx',
|
|
99
99
|
'MicroApp.tsx',
|
|
100
|
+
'MicroAppWithMemoHistory.tsx',
|
|
100
101
|
].forEach((file) => {
|
|
101
102
|
if (file.endsWith('.tpl')) {
|
|
102
103
|
api.writeTmpFile({
|
|
@@ -129,6 +130,7 @@ export const setMasterOptions = (newOpts) => options = ({ ...options, ...newOpts
|
|
|
129
130
|
path: 'index.ts',
|
|
130
131
|
content: `
|
|
131
132
|
export { MicroApp } from './MicroApp';
|
|
133
|
+
export { MicroAppWithMemoHistory } from './MicroAppWithMemoHistory';
|
|
132
134
|
`,
|
|
133
135
|
});
|
|
134
136
|
});
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/plugins",
|
|
3
|
-
"version": "4.0.0-canary.
|
|
3
|
+
"version": "4.0.0-canary.20220628.1",
|
|
4
4
|
"description": "@umijs/plugins",
|
|
5
|
-
"homepage": "https://github.com/umijs/umi
|
|
6
|
-
"bugs": "https://github.com/umijs/umi
|
|
5
|
+
"homepage": "https://github.com/umijs/umi/tree/master/packages/plugins#readme",
|
|
6
|
+
"bugs": "https://github.com/umijs/umi/issues",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/umijs/umi
|
|
9
|
+
"url": "https://github.com/umijs/umi"
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"main": "dist/index.js",
|
|
@@ -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.20",
|
|
28
|
-
"@umijs/bundler-utils": "4.0.0-canary.
|
|
28
|
+
"@umijs/bundler-utils": "4.0.0-canary.20220628.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.20220628.1"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|