@geode/opengeodeweb-front 10.27.0 → 10.27.1-rc.1
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.
|
@@ -32,6 +32,9 @@ async function deleteFolderRecursive(folderPath) {
|
|
|
32
32
|
console.log("Retrying delete folder");
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
+
throw new Error(
|
|
36
|
+
`Failed to delete folder ${folderPath} after ${MAX_DELETE_FOLDER_RETRIES} retries`,
|
|
37
|
+
);
|
|
35
38
|
}
|
|
36
39
|
|
|
37
40
|
function killHttpMicroservice(microservice) {
|
|
@@ -102,7 +105,7 @@ function killWebsocketMicroservice(microservice) {
|
|
|
102
105
|
});
|
|
103
106
|
}
|
|
104
107
|
|
|
105
|
-
async function killMicroservice(microservice
|
|
108
|
+
async function killMicroservice(microservice) {
|
|
106
109
|
if (microservice.type === "back") {
|
|
107
110
|
await killHttpMicroservice(microservice);
|
|
108
111
|
} else if (microservice.type === "viewer") {
|
|
@@ -110,20 +113,18 @@ async function killMicroservice(microservice, microservices) {
|
|
|
110
113
|
} else {
|
|
111
114
|
throw new Error(`Unknown microservice type: ${microservice.type}`);
|
|
112
115
|
}
|
|
113
|
-
|
|
114
|
-
if (microservices) {
|
|
115
|
-
const index = microservices.indexOf(microservice);
|
|
116
|
-
if (index !== -1) {
|
|
117
|
-
microservices.splice(index, 1);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
116
|
}
|
|
121
117
|
|
|
122
|
-
function killMicroservices(microservices) {
|
|
118
|
+
async function killMicroservices(microservices) {
|
|
123
119
|
console.log("killMicroservices", { microservices });
|
|
124
|
-
|
|
125
|
-
microservices.map((microservice) => killMicroservice(microservice
|
|
120
|
+
const results = await Promise.allSettled(
|
|
121
|
+
microservices.map((microservice) => killMicroservice(microservice)),
|
|
126
122
|
);
|
|
123
|
+
const killed = microservices.filter((_, index) => results[index].status === "fulfilled");
|
|
124
|
+
for (let i = 0; i < killed.length; i += 1) {
|
|
125
|
+
const microservice = microservices[i];
|
|
126
|
+
microservices.splice(microservices.indexOf(microservice), 1);
|
|
127
|
+
}
|
|
127
128
|
}
|
|
128
129
|
|
|
129
130
|
function projectMicroservices(projectFolderPath) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geode/opengeodeweb-front",
|
|
3
|
-
"version": "10.27.
|
|
3
|
+
"version": "10.27.1-rc.1",
|
|
4
4
|
"description": "OpenSource Vue/Nuxt/Pinia/Vuetify framework for web applications",
|
|
5
5
|
"homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Front",
|
|
6
6
|
"bugs": {
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"build": ""
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@geode/opengeodeweb-back": "
|
|
38
|
-
"@geode/opengeodeweb-viewer": "
|
|
37
|
+
"@geode/opengeodeweb-back": "next",
|
|
38
|
+
"@geode/opengeodeweb-viewer": "next",
|
|
39
39
|
"@google-cloud/run": "3.2.0",
|
|
40
40
|
"@kitware/vtk.js": "33.3.0",
|
|
41
41
|
"@mdi/font": "7.4.47",
|