@nocobase/cli 0.19.0-alpha.5 → 0.19.0-alpha.6
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 +4 -4
- package/src/commands/p-test.js +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/cli",
|
|
3
|
-
"version": "0.19.0-alpha.
|
|
3
|
+
"version": "0.19.0-alpha.6",
|
|
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.19.0-alpha.
|
|
11
|
+
"@nocobase/app": "0.19.0-alpha.6",
|
|
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.6.2"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@nocobase/devtools": "0.19.0-alpha.
|
|
28
|
+
"@nocobase/devtools": "0.19.0-alpha.6"
|
|
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": "2eb524db98c7f4136fe1a9a1b1259cd72cf6635f"
|
|
36
36
|
}
|
package/src/commands/p-test.js
CHANGED
|
@@ -3,7 +3,6 @@ const { resolve } = require('path');
|
|
|
3
3
|
const pAll = require('p-all');
|
|
4
4
|
const dotenv = require('dotenv');
|
|
5
5
|
const fs = require('fs');
|
|
6
|
-
const { Client } = require('pg');
|
|
7
6
|
const glob = require('glob');
|
|
8
7
|
const _ = require('lodash');
|
|
9
8
|
|
|
@@ -22,7 +21,7 @@ const config = {
|
|
|
22
21
|
async function runApp(dir, index = 0) {
|
|
23
22
|
// 一个进程需要占用两个端口? (一个是应用端口,一个是 socket 端口)
|
|
24
23
|
index = index * 2;
|
|
25
|
-
|
|
24
|
+
const { Client } = require('pg');
|
|
26
25
|
const database = `nocobase${index}`;
|
|
27
26
|
const client = new Client({
|
|
28
27
|
host: config['DB_HOST'],
|