umi 4.0.0-rc.13 → 4.0.0-rc.16
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/cli/cli.js +35 -46
- package/dist/cli/forkedDev.js +3 -12
- package/dist/client/plugin.js +10 -19
- package/dist/pluginUtils.d.ts +2 -1
- package/dist/pluginUtils.js +17 -3
- package/dist/service/service.js +21 -24
- package/dist/test.js +19 -30
- package/package.json +12 -11
package/dist/cli/cli.js
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.run = void 0;
|
|
13
4
|
const utils_1 = require("@umijs/utils");
|
|
@@ -15,44 +6,42 @@ const constants_1 = require("../constants");
|
|
|
15
6
|
const service_1 = require("../service/service");
|
|
16
7
|
const dev_1 = require("./dev");
|
|
17
8
|
const node_1 = require("./node");
|
|
18
|
-
function run(opts) {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
9
|
+
async function run(opts) {
|
|
10
|
+
(0, node_1.checkVersion)();
|
|
11
|
+
(0, node_1.checkLocal)();
|
|
12
|
+
(0, node_1.setNodeTitle)();
|
|
13
|
+
(0, node_1.setNoDeprecation)();
|
|
14
|
+
const args = (0, utils_1.yParser)(process.argv.slice(2), {
|
|
15
|
+
alias: {
|
|
16
|
+
version: ['v'],
|
|
17
|
+
help: ['h'],
|
|
18
|
+
},
|
|
19
|
+
boolean: ['version'],
|
|
20
|
+
});
|
|
21
|
+
const command = args._[0];
|
|
22
|
+
if ([constants_1.DEV_COMMAND, 'setup'].includes(command)) {
|
|
23
|
+
process.env.NODE_ENV = 'development';
|
|
24
|
+
}
|
|
25
|
+
else if (command === 'build') {
|
|
26
|
+
process.env.NODE_ENV = 'production';
|
|
27
|
+
}
|
|
28
|
+
if (opts === null || opts === void 0 ? void 0 : opts.presets) {
|
|
29
|
+
process.env.UMI_PRESETS = opts.presets.join(',');
|
|
30
|
+
}
|
|
31
|
+
if (command === constants_1.DEV_COMMAND) {
|
|
32
|
+
(0, dev_1.dev)();
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
try {
|
|
36
|
+
await new service_1.Service().run2({
|
|
37
|
+
name: args._[0],
|
|
38
|
+
args,
|
|
39
|
+
});
|
|
43
40
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
name: args._[0],
|
|
48
|
-
args,
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
catch (e) {
|
|
52
|
-
utils_1.logger.error(e);
|
|
53
|
-
process.exit(1);
|
|
54
|
-
}
|
|
41
|
+
catch (e) {
|
|
42
|
+
utils_1.logger.error(e);
|
|
43
|
+
process.exit(1);
|
|
55
44
|
}
|
|
56
|
-
}
|
|
45
|
+
}
|
|
57
46
|
}
|
|
58
47
|
exports.run = run;
|
package/dist/cli/forkedDev.js
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
const utils_1 = require("@umijs/utils");
|
|
13
4
|
const constants_1 = require("../constants");
|
|
@@ -15,11 +6,11 @@ const service_1 = require("../service/service");
|
|
|
15
6
|
const node_1 = require("./node");
|
|
16
7
|
(0, node_1.setNodeTitle)(`${constants_1.FRAMEWORK_NAME}-dev`);
|
|
17
8
|
(0, node_1.setNoDeprecation)();
|
|
18
|
-
(() =>
|
|
9
|
+
(async () => {
|
|
19
10
|
try {
|
|
20
11
|
const args = (0, utils_1.yParser)(process.argv.slice(2));
|
|
21
12
|
const service = new service_1.Service();
|
|
22
|
-
|
|
13
|
+
await service.run2({
|
|
23
14
|
name: constants_1.DEV_COMMAND,
|
|
24
15
|
args,
|
|
25
16
|
});
|
|
@@ -48,4 +39,4 @@ const node_1 = require("./node");
|
|
|
48
39
|
utils_1.logger.error(e);
|
|
49
40
|
process.exit(1);
|
|
50
41
|
}
|
|
51
|
-
})
|
|
42
|
+
})();
|
package/dist/client/plugin.js
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.PluginManager = exports.ApplyPluginsType = void 0;
|
|
13
4
|
const utils_1 = require("./utils");
|
|
@@ -61,17 +52,17 @@ class PluginManager {
|
|
|
61
52
|
switch (type) {
|
|
62
53
|
case ApplyPluginsType.modify:
|
|
63
54
|
if (async) {
|
|
64
|
-
return hooks.reduce((memo, hook) =>
|
|
55
|
+
return hooks.reduce(async (memo, hook) => {
|
|
65
56
|
(0, utils_1.assert)(typeof hook === 'function' ||
|
|
66
57
|
typeof hook === 'object' ||
|
|
67
58
|
(0, utils_1.isPromiseLike)(hook), `applyPlugins failed, all hooks for key ${key} must be function, plain object or Promise.`);
|
|
68
59
|
if ((0, utils_1.isPromiseLike)(memo)) {
|
|
69
|
-
memo =
|
|
60
|
+
memo = await memo;
|
|
70
61
|
}
|
|
71
62
|
if (typeof hook === 'function') {
|
|
72
63
|
const ret = hook(memo, args);
|
|
73
64
|
if ((0, utils_1.isPromiseLike)(ret)) {
|
|
74
|
-
return
|
|
65
|
+
return await ret;
|
|
75
66
|
}
|
|
76
67
|
else {
|
|
77
68
|
return ret;
|
|
@@ -79,11 +70,11 @@ class PluginManager {
|
|
|
79
70
|
}
|
|
80
71
|
else {
|
|
81
72
|
if ((0, utils_1.isPromiseLike)(hook)) {
|
|
82
|
-
hook =
|
|
73
|
+
hook = await hook;
|
|
83
74
|
}
|
|
84
|
-
return
|
|
75
|
+
return { ...memo, ...hook };
|
|
85
76
|
}
|
|
86
|
-
}
|
|
77
|
+
}, (0, utils_1.isPromiseLike)(initialValue)
|
|
87
78
|
? initialValue
|
|
88
79
|
: Promise.resolve(initialValue));
|
|
89
80
|
}
|
|
@@ -95,20 +86,20 @@ class PluginManager {
|
|
|
95
86
|
}
|
|
96
87
|
else {
|
|
97
88
|
// TODO: deepmerge?
|
|
98
|
-
return
|
|
89
|
+
return { ...memo, ...hook };
|
|
99
90
|
}
|
|
100
91
|
}, initialValue);
|
|
101
92
|
}
|
|
102
93
|
case ApplyPluginsType.event:
|
|
103
|
-
return (() =>
|
|
94
|
+
return (async () => {
|
|
104
95
|
for (const hook of hooks) {
|
|
105
96
|
(0, utils_1.assert)(typeof hook === 'function', `applyPlugins failed, all hooks for key ${key} must be function.`);
|
|
106
97
|
const ret = hook(args);
|
|
107
98
|
if (async && (0, utils_1.isPromiseLike)(ret)) {
|
|
108
|
-
|
|
99
|
+
await ret;
|
|
109
100
|
}
|
|
110
101
|
}
|
|
111
|
-
})
|
|
102
|
+
})();
|
|
112
103
|
case ApplyPluginsType.compose:
|
|
113
104
|
return () => {
|
|
114
105
|
return (0, utils_1.compose)({
|
package/dist/pluginUtils.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import express from '@umijs/bundler-utils/compiled/express';
|
|
2
|
-
import httpProxyMiddleware from '@umijs/bundler-webpack/compiled/http-proxy-middleware';
|
|
2
|
+
import * as httpProxyMiddleware from '@umijs/bundler-webpack/compiled/http-proxy-middleware';
|
|
3
|
+
export { createServerRoutes } from '@umijs/server';
|
|
3
4
|
export * from '@umijs/utils';
|
|
4
5
|
export { httpProxyMiddleware, express };
|
package/dist/pluginUtils.js
CHANGED
|
@@ -10,6 +10,18 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
13
25
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
27
|
};
|
|
@@ -17,9 +29,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
29
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
30
|
};
|
|
19
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.express = exports.httpProxyMiddleware = void 0;
|
|
32
|
+
exports.express = exports.httpProxyMiddleware = exports.createServerRoutes = void 0;
|
|
21
33
|
const express_1 = __importDefault(require("@umijs/bundler-utils/compiled/express"));
|
|
22
34
|
exports.express = express_1.default;
|
|
23
|
-
const
|
|
24
|
-
exports.httpProxyMiddleware =
|
|
35
|
+
const httpProxyMiddleware = __importStar(require("@umijs/bundler-webpack/compiled/http-proxy-middleware"));
|
|
36
|
+
exports.httpProxyMiddleware = httpProxyMiddleware;
|
|
37
|
+
var server_1 = require("@umijs/server");
|
|
38
|
+
Object.defineProperty(exports, "createServerRoutes", { enumerable: true, get: function () { return server_1.createServerRoutes; } });
|
|
25
39
|
__exportStar(require("@umijs/utils"), exports);
|
package/dist/service/service.js
CHANGED
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
3
|
exports.Service = void 0;
|
|
13
4
|
const core_1 = require("@umijs/core");
|
|
@@ -19,24 +10,30 @@ class Service extends core_1.Service {
|
|
|
19
10
|
constructor(opts) {
|
|
20
11
|
process.env.UMI_DIR = (0, path_1.dirname)(require.resolve('../../package'));
|
|
21
12
|
const cwd = (0, cwd_1.getCwd)();
|
|
22
|
-
super(
|
|
13
|
+
super({
|
|
14
|
+
...opts,
|
|
15
|
+
env: process.env.NODE_ENV,
|
|
16
|
+
cwd,
|
|
17
|
+
defaultConfigFiles: constants_1.DEFAULT_CONFIG_FILES,
|
|
18
|
+
frameworkName: constants_1.FRAMEWORK_NAME,
|
|
19
|
+
presets: [require.resolve('@umijs/preset-umi'), ...((opts === null || opts === void 0 ? void 0 : opts.presets) || [])],
|
|
20
|
+
plugins: [
|
|
23
21
|
(0, fs_1.existsSync)((0, path_1.join)(cwd, 'plugin.ts')) && (0, path_1.join)(cwd, 'plugin.ts'),
|
|
24
22
|
(0, fs_1.existsSync)((0, path_1.join)(cwd, 'plugin.js')) && (0, path_1.join)(cwd, 'plugin.js'),
|
|
25
|
-
].filter(Boolean)
|
|
26
|
-
}
|
|
27
|
-
run2(opts) {
|
|
28
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
-
let name = opts.name;
|
|
30
|
-
if ((opts === null || opts === void 0 ? void 0 : opts.args.version) || name === 'v') {
|
|
31
|
-
name = 'version';
|
|
32
|
-
}
|
|
33
|
-
else if ((opts === null || opts === void 0 ? void 0 : opts.args.help) || !name || name === 'h') {
|
|
34
|
-
name = 'help';
|
|
35
|
-
}
|
|
36
|
-
// TODO
|
|
37
|
-
// initWebpack
|
|
38
|
-
return yield this.run(Object.assign(Object.assign({}, opts), { name }));
|
|
23
|
+
].filter(Boolean),
|
|
39
24
|
});
|
|
40
25
|
}
|
|
26
|
+
async run2(opts) {
|
|
27
|
+
let name = opts.name;
|
|
28
|
+
if ((opts === null || opts === void 0 ? void 0 : opts.args.version) || name === 'v') {
|
|
29
|
+
name = 'version';
|
|
30
|
+
}
|
|
31
|
+
else if ((opts === null || opts === void 0 ? void 0 : opts.args.help) || !name || name === 'h') {
|
|
32
|
+
name = 'help';
|
|
33
|
+
}
|
|
34
|
+
// TODO
|
|
35
|
+
// initWebpack
|
|
36
|
+
return await this.run({ ...opts, name });
|
|
37
|
+
}
|
|
41
38
|
}
|
|
42
39
|
exports.Service = Service;
|
package/dist/test.js
CHANGED
|
@@ -13,15 +13,6 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
13
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
17
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
18
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
19
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
20
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
21
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
22
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
17
|
exports.configUmiAlias = void 0;
|
|
27
18
|
const fs_1 = require("fs");
|
|
@@ -35,28 +26,26 @@ function getAliasPathWithKey(alias, key) {
|
|
|
35
26
|
return thePath;
|
|
36
27
|
}
|
|
37
28
|
let service;
|
|
38
|
-
function configUmiAlias(config) {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
29
|
+
async function configUmiAlias(config) {
|
|
30
|
+
if (!service) {
|
|
31
|
+
service = new service_1.Service();
|
|
32
|
+
await service.run2({
|
|
33
|
+
name: 'setup',
|
|
34
|
+
args: { quiet: true },
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
config.moduleNameMapper || (config.moduleNameMapper = {});
|
|
38
|
+
const { alias } = service.config;
|
|
39
|
+
for (const key of Object.keys(alias)) {
|
|
40
|
+
const aliasPath = getAliasPathWithKey(alias, key);
|
|
41
|
+
if ((0, fs_1.existsSync)(aliasPath) && (0, fs_1.statSync)(aliasPath).isDirectory()) {
|
|
42
|
+
config.moduleNameMapper[`^${key}/(.*)$`] = `${aliasPath}/$1`;
|
|
43
|
+
config.moduleNameMapper[`^${key}$`] = aliasPath;
|
|
46
44
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
for (const key of Object.keys(alias)) {
|
|
50
|
-
const aliasPath = getAliasPathWithKey(alias, key);
|
|
51
|
-
if ((0, fs_1.existsSync)(aliasPath) && (0, fs_1.statSync)(aliasPath).isDirectory()) {
|
|
52
|
-
config.moduleNameMapper[`^${key}/(.*)$`] = `${aliasPath}/$1`;
|
|
53
|
-
config.moduleNameMapper[`^${key}$`] = aliasPath;
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
config.moduleNameMapper[`^${key}$`] = aliasPath;
|
|
57
|
-
}
|
|
45
|
+
else {
|
|
46
|
+
config.moduleNameMapper[`^${key}$`] = aliasPath;
|
|
58
47
|
}
|
|
59
|
-
|
|
60
|
-
|
|
48
|
+
}
|
|
49
|
+
return config;
|
|
61
50
|
}
|
|
62
51
|
exports.configUmiAlias = configUmiAlias;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "umi",
|
|
3
|
-
"version": "4.0.0-rc.
|
|
3
|
+
"version": "4.0.0-rc.16",
|
|
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",
|
|
@@ -32,19 +32,20 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "pnpm tsc",
|
|
34
34
|
"build:client": "pnpm tsc --project ./tsconfig.client.json",
|
|
35
|
-
"build:deps": "
|
|
35
|
+
"build:deps": "umi-scripts bundleDeps",
|
|
36
36
|
"dev": "pnpm build -- --watch",
|
|
37
|
-
"test": "
|
|
37
|
+
"test": "umi-scripts jest-turbo"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@umijs/bundler-utils": "4.0.0-rc.
|
|
41
|
-
"@umijs/bundler-webpack": "4.0.0-rc.
|
|
42
|
-
"@umijs/core": "4.0.0-rc.
|
|
43
|
-
"@umijs/lint": "4.0.0-rc.
|
|
44
|
-
"@umijs/preset-umi": "4.0.0-rc.
|
|
45
|
-
"@umijs/renderer-react": "4.0.0-rc.
|
|
46
|
-
"@umijs/
|
|
47
|
-
"@umijs/
|
|
40
|
+
"@umijs/bundler-utils": "4.0.0-rc.16",
|
|
41
|
+
"@umijs/bundler-webpack": "4.0.0-rc.16",
|
|
42
|
+
"@umijs/core": "4.0.0-rc.16",
|
|
43
|
+
"@umijs/lint": "4.0.0-rc.16",
|
|
44
|
+
"@umijs/preset-umi": "4.0.0-rc.16",
|
|
45
|
+
"@umijs/renderer-react": "4.0.0-rc.16",
|
|
46
|
+
"@umijs/server": "4.0.0-rc.16",
|
|
47
|
+
"@umijs/test": "4.0.0-rc.16",
|
|
48
|
+
"@umijs/utils": "4.0.0-rc.16",
|
|
48
49
|
"prettier-plugin-organize-imports": "^2.3.4",
|
|
49
50
|
"prettier-plugin-packagejson": "^2.2.17"
|
|
50
51
|
},
|