dbgate-api 4.7.4-alpha.14 → 4.7.4-alpha.15
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 +5 -5
- package/src/currentVersion.js +2 -2
- package/src/main.js +4 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dbgate-api",
|
|
3
3
|
"main": "src/index.js",
|
|
4
|
-
"version": "4.7.4-alpha.
|
|
4
|
+
"version": "4.7.4-alpha.15",
|
|
5
5
|
"homepage": "https://dbgate.org/",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"compare-versions": "^3.6.0",
|
|
26
26
|
"cors": "^2.8.5",
|
|
27
27
|
"cross-env": "^6.0.3",
|
|
28
|
-
"dbgate-query-splitter": "^4.7.4-alpha.
|
|
29
|
-
"dbgate-sqltree": "^4.7.4-alpha.
|
|
30
|
-
"dbgate-tools": "^4.7.4-alpha.
|
|
28
|
+
"dbgate-query-splitter": "^4.7.4-alpha.15",
|
|
29
|
+
"dbgate-sqltree": "^4.7.4-alpha.15",
|
|
30
|
+
"dbgate-tools": "^4.7.4-alpha.15",
|
|
31
31
|
"diff": "^5.0.0",
|
|
32
32
|
"diff2html": "^3.4.13",
|
|
33
33
|
"eslint": "^6.8.0",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"devDependencies": {
|
|
64
64
|
"@types/fs-extra": "^9.0.11",
|
|
65
65
|
"@types/lodash": "^4.14.149",
|
|
66
|
-
"dbgate-types": "^4.7.4-alpha.
|
|
66
|
+
"dbgate-types": "^4.7.4-alpha.15",
|
|
67
67
|
"env-cmd": "^10.1.0",
|
|
68
68
|
"node-loader": "^1.0.2",
|
|
69
69
|
"nodemon": "^2.0.2",
|
package/src/currentVersion.js
CHANGED
package/src/main.js
CHANGED
|
@@ -88,7 +88,7 @@ function start() {
|
|
|
88
88
|
app.use(getExpressPath('/'), express.static('/home/dbgate-docker/public'));
|
|
89
89
|
|
|
90
90
|
const port = process.env.PORT || 3000;
|
|
91
|
-
console.log('DbGate API listening on port', port);
|
|
91
|
+
console.log('DbGate API listening on port (docker build)', port);
|
|
92
92
|
server.listen(port);
|
|
93
93
|
} else if (platformInfo.isNpmDist) {
|
|
94
94
|
app.use(getExpressPath('/'), express.static(path.join(__dirname, '../../dbgate-web/public')));
|
|
@@ -99,7 +99,7 @@ function start() {
|
|
|
99
99
|
),
|
|
100
100
|
}).then(port => {
|
|
101
101
|
server.listen(port, () => {
|
|
102
|
-
console.log(`DbGate API listening on port ${port}`);
|
|
102
|
+
console.log(`DbGate API listening on port ${port} (NPM build)`);
|
|
103
103
|
});
|
|
104
104
|
});
|
|
105
105
|
} else if (process.env.DEVWEB) {
|
|
@@ -108,7 +108,7 @@ function start() {
|
|
|
108
108
|
app.use(getExpressPath('/'), express.static(path.join(__dirname, '../../web/public')));
|
|
109
109
|
|
|
110
110
|
const port = process.env.PORT || 3000;
|
|
111
|
-
console.log('DbGate API & web listening on port', port);
|
|
111
|
+
console.log('DbGate API & web listening on port (dev web build)', port);
|
|
112
112
|
server.listen(port);
|
|
113
113
|
} else {
|
|
114
114
|
app.get(getExpressPath('/'), (req, res) => {
|
|
@@ -116,7 +116,7 @@ function start() {
|
|
|
116
116
|
});
|
|
117
117
|
|
|
118
118
|
const port = process.env.PORT || 3000;
|
|
119
|
-
console.log('DbGate API listening on port', port);
|
|
119
|
+
console.log('DbGate API listening on port (dev API build)', port);
|
|
120
120
|
server.listen(port);
|
|
121
121
|
}
|
|
122
122
|
|