@live-change/server 0.7.21 → 0.7.23
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/Services.js +13 -2
- package/lib/setupApp.js +1 -1
- package/package.json +7 -7
package/lib/Services.js
CHANGED
|
@@ -115,13 +115,24 @@ class Services {
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
async update() {
|
|
118
|
-
await Promise.all(this.serviceDefinitions.map(defn => {
|
|
118
|
+
/*await Promise.all(this.serviceDefinitions.map(defn => {
|
|
119
119
|
if(!defn.processed) {
|
|
120
120
|
app.processServiceDefinition(defn)
|
|
121
121
|
defn.processed = true
|
|
122
122
|
}
|
|
123
123
|
return app.updateService(defn)
|
|
124
|
-
}))
|
|
124
|
+
}))*/
|
|
125
|
+
for(const defn of this.serviceDefinitions) {
|
|
126
|
+
console.group()
|
|
127
|
+
console.log("#### UPDATE SERVICE", defn.name)
|
|
128
|
+
if(!defn.processed) {
|
|
129
|
+
app.processServiceDefinition(defn)
|
|
130
|
+
defn.processed = true
|
|
131
|
+
}
|
|
132
|
+
await app.updateService(defn)
|
|
133
|
+
console.log("#### UPDATED SERVICE", defn.name)
|
|
134
|
+
console.groupEnd()
|
|
135
|
+
}
|
|
125
136
|
}
|
|
126
137
|
|
|
127
138
|
async start(startOptions) {
|
package/lib/setupApp.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/server",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.23",
|
|
4
4
|
"description": "Live Change Framework - server",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/live-change/live-change-framework",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/dao": "0.5.
|
|
25
|
-
"@live-change/dao-sockjs": "0.5.
|
|
26
|
-
"@live-change/db-server": "0.6.
|
|
27
|
-
"@live-change/framework": "^0.7.
|
|
24
|
+
"@live-change/dao": "0.5.18",
|
|
25
|
+
"@live-change/dao-sockjs": "0.5.18",
|
|
26
|
+
"@live-change/db-server": "0.6.6",
|
|
27
|
+
"@live-change/framework": "^0.7.23",
|
|
28
28
|
"@live-change/sockjs": "0.4.1",
|
|
29
|
-
"@live-change/uid": "^0.7.
|
|
29
|
+
"@live-change/uid": "^0.7.23",
|
|
30
30
|
"dotenv": "^16.0.1",
|
|
31
31
|
"express": "^4.18.1",
|
|
32
32
|
"express-static-gzip": "2.1.7",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"websocket": "^1.0.34",
|
|
40
40
|
"yargs": "^17.5.1"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "dc771ac085b8a54f18a38c65de923a1cdbdcdadc"
|
|
43
43
|
}
|