@live-change/cli 0.9.127 → 0.9.128
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/lib/starter.js +3 -1
- package/package.json +8 -8
package/lib/starter.js
CHANGED
|
@@ -22,7 +22,8 @@ import {
|
|
|
22
22
|
setupApiSockJs,
|
|
23
23
|
setupApiWs,
|
|
24
24
|
setupApp,
|
|
25
|
-
setupApiEndpoints
|
|
25
|
+
setupApiEndpoints,
|
|
26
|
+
setupEndpointsProxyPaths
|
|
26
27
|
|
|
27
28
|
} from "@live-change/server"
|
|
28
29
|
|
|
@@ -529,6 +530,7 @@ export async function server(argv, dev) {
|
|
|
529
530
|
})
|
|
530
531
|
expressApp.use('/api', apiProxy)
|
|
531
532
|
console.log("PROXY /api to", target)
|
|
533
|
+
await setupEndpointsProxyPaths(expressApp, apiProxy, argv.services)
|
|
532
534
|
}
|
|
533
535
|
|
|
534
536
|
let apiServer
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.128",
|
|
4
4
|
"description": "Live Change Framework - command line interface",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"type": "module",
|
|
26
26
|
"homepage": "https://github.com/live-change/live-change-stack",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@live-change/dao": "^0.9.
|
|
29
|
-
"@live-change/dao-sockjs": "^0.9.
|
|
30
|
-
"@live-change/dao-websocket": "^0.9.
|
|
31
|
-
"@live-change/db-server": "^0.9.
|
|
32
|
-
"@live-change/framework": "^0.9.
|
|
33
|
-
"@live-change/server": "^0.9.
|
|
28
|
+
"@live-change/dao": "^0.9.128",
|
|
29
|
+
"@live-change/dao-sockjs": "^0.9.128",
|
|
30
|
+
"@live-change/dao-websocket": "^0.9.128",
|
|
31
|
+
"@live-change/db-server": "^0.9.128",
|
|
32
|
+
"@live-change/framework": "^0.9.128",
|
|
33
|
+
"@live-change/server": "^0.9.128",
|
|
34
34
|
"dotenv": "^17.2.1",
|
|
35
35
|
"express": "^4.18.2",
|
|
36
36
|
"http-proxy-middleware": "2.0.6",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"websocket": "^1.0.34",
|
|
41
41
|
"yargs": "^17.7.2"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "f6e19206562652cf31d6e44df80523748b694ead"
|
|
44
44
|
}
|