@nocobase/cli 0.13.0-alpha.2 → 0.13.0-alpha.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/cli",
3
- "version": "0.13.0-alpha.2",
3
+ "version": "0.13.0-alpha.4",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./src/index.js",
@@ -8,7 +8,7 @@
8
8
  "nocobase": "./bin/index.js"
9
9
  },
10
10
  "dependencies": {
11
- "@nocobase/app": "0.13.0-alpha.2",
11
+ "@nocobase/app": "0.13.0-alpha.4",
12
12
  "@types/fs-extra": "^11.0.1",
13
13
  "@umijs/utils": "3.5.20",
14
14
  "chalk": "^4.1.1",
@@ -24,12 +24,12 @@
24
24
  "tsx": "^3.12.7"
25
25
  },
26
26
  "devDependencies": {
27
- "@nocobase/devtools": "0.13.0-alpha.2"
27
+ "@nocobase/devtools": "0.13.0-alpha.4"
28
28
  },
29
29
  "repository": {
30
30
  "type": "git",
31
31
  "url": "git+https://github.com/nocobase/nocobase.git",
32
32
  "directory": "packages/core/cli"
33
33
  },
34
- "gitHead": "c43183b714350217788cf0466e1f32bcaa527302"
34
+ "gitHead": "29594e9dbb2455e2f3f6bea95340c4ed75789b61"
35
35
  }
@@ -97,7 +97,7 @@ module.exports = (cli) => {
97
97
  env: {
98
98
  PORT: clientPort,
99
99
  APP_ROOT: `${APP_PACKAGE_ROOT}/client`,
100
- WEBSOCKET_URL: process.env.WEBSOCKET_URL || `ws://localhost:${serverPort}/ws`,
100
+ WEBSOCKET_URL: process.env.WEBSOCKET_URL || (serverPort ? `ws://localhost:${serverPort}/ws` : undefined),
101
101
  PROXY_TARGET_URL:
102
102
  process.env.PROXY_TARGET_URL || (serverPort ? `http://127.0.0.1:${serverPort}` : undefined),
103
103
  },