@wzyjs/cli 0.2.2 → 0.2.5

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 接口服务端口为 7001
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.2",
3
+ "version": "0.2.5",
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": "a9e5d6f01fbca5d85b20855a3359a48ed42b67b5"
47
+ "gitHead": "0e6a25d4d4e2bb76017d6884b29eecf19cc880a4"
48
48
  }