@platformatic/runtime 1.31.0 → 1.32.0
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/app.js
CHANGED
|
@@ -246,7 +246,10 @@ class PlatformaticApp {
|
|
|
246
246
|
})
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
-
if (
|
|
249
|
+
if (
|
|
250
|
+
(this.#hasManagementApi && configManager.current.metrics === undefined) ||
|
|
251
|
+
configManager.current.metrics
|
|
252
|
+
) {
|
|
250
253
|
configManager.update({
|
|
251
254
|
...configManager.current,
|
|
252
255
|
metrics: {
|
|
@@ -429,7 +429,7 @@ class RuntimeGenerator extends BaseGenerator {
|
|
|
429
429
|
// cleanup runtime env removing keys not present anymore in service plugins
|
|
430
430
|
const allKeys = envTool.getKeys()
|
|
431
431
|
allKeys.forEach((k) => {
|
|
432
|
-
if (k.startsWith(serviceEnvPrefix) && !runtimeAddedEnvKeys.includes(k)) {
|
|
432
|
+
if (k.startsWith(`${serviceEnvPrefix}_FST_PLUGIN`) && !runtimeAddedEnvKeys.includes(k)) {
|
|
433
433
|
envTool.deleteKey(k)
|
|
434
434
|
}
|
|
435
435
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/runtime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"snazzy": "^9.0.0",
|
|
30
30
|
"split2": "^4.2.0",
|
|
31
31
|
"standard": "^17.1.0",
|
|
32
|
-
"tsd": "^0.
|
|
32
|
+
"tsd": "^0.31.0",
|
|
33
33
|
"typescript": "^5.4.2",
|
|
34
34
|
"undici-oidc-interceptor": "^0.5.0",
|
|
35
35
|
"why-is-node-running": "^2.2.2",
|
|
36
|
-
"@platformatic/sql-graphql": "1.
|
|
37
|
-
"@platformatic/sql-mapper": "1.
|
|
36
|
+
"@platformatic/sql-graphql": "1.32.0",
|
|
37
|
+
"@platformatic/sql-mapper": "1.32.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"ws": "^8.16.0",
|
|
@@ -62,13 +62,13 @@
|
|
|
62
62
|
"tail-file-stream": "^0.1.0",
|
|
63
63
|
"undici": "^6.9.0",
|
|
64
64
|
"why-is-node-running": "^2.2.2",
|
|
65
|
-
"@platformatic/composer": "1.
|
|
66
|
-
"@platformatic/
|
|
67
|
-
"@platformatic/
|
|
68
|
-
"@platformatic/
|
|
69
|
-
"@platformatic/
|
|
70
|
-
"@platformatic/
|
|
71
|
-
"@platformatic/
|
|
65
|
+
"@platformatic/composer": "1.32.0",
|
|
66
|
+
"@platformatic/config": "1.32.0",
|
|
67
|
+
"@platformatic/db": "1.32.0",
|
|
68
|
+
"@platformatic/service": "1.32.0",
|
|
69
|
+
"@platformatic/telemetry": "1.32.0",
|
|
70
|
+
"@platformatic/generators": "1.32.0",
|
|
71
|
+
"@platformatic/utils": "1.32.0"
|
|
72
72
|
},
|
|
73
73
|
"standard": {
|
|
74
74
|
"ignore": [
|