@nocobase/cli 1.5.0-beta.2 → 1.5.0-beta.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/nocobase.conf.tpl +1 -0
- package/package.json +4 -4
- package/src/commands/dev.js +3 -3
- package/src/util.js +1 -0
package/nocobase.conf.tpl
CHANGED
|
@@ -70,6 +70,7 @@ server {
|
|
|
70
70
|
proxy_http_version 1.1;
|
|
71
71
|
proxy_set_header Upgrade $http_upgrade;
|
|
72
72
|
proxy_set_header Connection 'upgrade';
|
|
73
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
73
74
|
proxy_set_header Host $host;
|
|
74
75
|
add_header Cache-Control 'no-cache, no-store';
|
|
75
76
|
proxy_cache_bypass $http_upgrade;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/cli",
|
|
3
|
-
"version": "1.5.0-beta.
|
|
3
|
+
"version": "1.5.0-beta.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "AGPL-3.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": "1.5.0-beta.
|
|
11
|
+
"@nocobase/app": "1.5.0-beta.4",
|
|
12
12
|
"@types/fs-extra": "^11.0.1",
|
|
13
13
|
"@umijs/utils": "3.5.20",
|
|
14
14
|
"chalk": "^4.1.1",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"tsx": "^4.19.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@nocobase/devtools": "1.5.0-beta.
|
|
28
|
+
"@nocobase/devtools": "1.5.0-beta.4"
|
|
29
29
|
},
|
|
30
30
|
"repository": {
|
|
31
31
|
"type": "git",
|
|
32
32
|
"url": "git+https://github.com/nocobase/nocobase.git",
|
|
33
33
|
"directory": "packages/core/cli"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "f5ca1548fe8d8eda32699137434306c44a5df84c"
|
|
36
36
|
}
|
package/src/commands/dev.js
CHANGED
|
@@ -30,10 +30,10 @@ module.exports = (cli) => {
|
|
|
30
30
|
cli
|
|
31
31
|
.command('dev')
|
|
32
32
|
.option('-p, --port [port]')
|
|
33
|
-
.option('--client')
|
|
34
|
-
.option('--server')
|
|
33
|
+
.option('-c, --client')
|
|
34
|
+
.option('-s, --server')
|
|
35
35
|
.option('--db-sync')
|
|
36
|
-
.option('--inspect [port]')
|
|
36
|
+
.option('-i, --inspect [port]')
|
|
37
37
|
.allowUnknownOption()
|
|
38
38
|
.action(async (opts) => {
|
|
39
39
|
let subprocess;
|
package/src/util.js
CHANGED
|
@@ -337,6 +337,7 @@ exports.initEnv = function initEnv() {
|
|
|
337
337
|
LOCAL_STORAGE_DEST: 'storage/uploads',
|
|
338
338
|
PLUGIN_STORAGE_PATH: resolve(process.cwd(), 'storage/plugins'),
|
|
339
339
|
MFSU_AD: 'none',
|
|
340
|
+
MAKO_AD: 'none',
|
|
340
341
|
WS_PATH: '/ws',
|
|
341
342
|
SOCKET_PATH: 'storage/gateway.sock',
|
|
342
343
|
NODE_MODULES_PATH: resolve(process.cwd(), 'node_modules'),
|