@wzyjs/cli 0.2.2 → 0.2.3
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.
|
@@ -8,8 +8,9 @@ exports.default = (cli) => {
|
|
|
8
8
|
})
|
|
9
9
|
.action(options => {
|
|
10
10
|
const { port } = options;
|
|
11
|
-
// 设置 midway
|
|
11
|
+
// 设置 midway 接口服务端口为指定端口
|
|
12
12
|
process.env.MIDWAY_HTTP_PORT = port;
|
|
13
|
+
// 增加 nodeJs 运行时内存的大小
|
|
13
14
|
process.env.NODE_OPTIONS = '--max-old-space-size=10240';
|
|
14
15
|
(0, umi_1.run)({
|
|
15
16
|
presets: [require.resolve('../../plugins/preset')],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wzyjs/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "description",
|
|
5
5
|
"author": "wzy",
|
|
6
6
|
"license": "ISC",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"type": "git",
|
|
45
45
|
"url": "https://gitee.com/wang-zhenyu/app.git"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "e749a2810503b891e9f63ce64b86021650da8c14"
|
|
48
48
|
}
|