@platformatic/runtime 1.49.1 → 1.51.8
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.
|
@@ -67,6 +67,7 @@ class RuntimeGenerator extends BaseGenerator {
|
|
|
67
67
|
borp: `${this.pkgData.devDependencies.borp}`
|
|
68
68
|
},
|
|
69
69
|
dependencies: {
|
|
70
|
+
'@platformatic/runtime': `^${this.platformaticVersion}`,
|
|
70
71
|
platformatic: `^${this.platformaticVersion}`,
|
|
71
72
|
...this.config.dependencies
|
|
72
73
|
},
|
|
@@ -401,6 +402,12 @@ class RuntimeGenerator extends BaseGenerator {
|
|
|
401
402
|
const newServicePackages = newService.plugins.map((meta) => meta.name)
|
|
402
403
|
const pluginsToRemove = getArrayDifference(oldServicePackages, newServicePackages)
|
|
403
404
|
pluginsToRemove.forEach((p) => delete currentRuntimeDependencies[p])
|
|
405
|
+
} else {
|
|
406
|
+
// add service to the generator
|
|
407
|
+
this.services.push({
|
|
408
|
+
name: newService.name,
|
|
409
|
+
service: serviceInstance
|
|
410
|
+
})
|
|
404
411
|
}
|
|
405
412
|
serviceInstance.setConfig(baseConfig)
|
|
406
413
|
serviceInstance.setConfigFields(newService.fields)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/runtime",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.51.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@fastify/express": "^3.0.0",
|
|
21
21
|
"@fastify/formbody": "^7.4.0",
|
|
22
22
|
"@matteo.collina/tspl": "^0.1.1",
|
|
23
|
-
"borp": "^0.
|
|
23
|
+
"borp": "^0.16.0",
|
|
24
24
|
"c8": "^10.0.0",
|
|
25
25
|
"execa": "^8.0.1",
|
|
26
26
|
"express": "^4.18.3",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"typescript": "^5.4.2",
|
|
35
35
|
"undici-oidc-interceptor": "^0.5.0",
|
|
36
36
|
"why-is-node-running": "^2.2.2",
|
|
37
|
-
"@platformatic/sql-
|
|
38
|
-
"@platformatic/sql-
|
|
37
|
+
"@platformatic/sql-graphql": "1.51.8",
|
|
38
|
+
"@platformatic/sql-mapper": "1.51.8"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@fastify/error": "^3.4.1",
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
"undici": "^6.9.0",
|
|
64
64
|
"why-is-node-running": "^2.2.2",
|
|
65
65
|
"ws": "^8.16.0",
|
|
66
|
-
"@platformatic/bus": "1.
|
|
67
|
-
"@platformatic/composer": "1.
|
|
68
|
-
"@platformatic/config": "1.
|
|
69
|
-
"@platformatic/db": "1.
|
|
70
|
-
"@platformatic/generators": "1.
|
|
71
|
-
"@platformatic/service": "1.
|
|
72
|
-
"@platformatic/telemetry": "1.
|
|
73
|
-
"@platformatic/utils": "1.
|
|
66
|
+
"@platformatic/bus": "1.51.8",
|
|
67
|
+
"@platformatic/composer": "1.51.8",
|
|
68
|
+
"@platformatic/config": "1.51.8",
|
|
69
|
+
"@platformatic/db": "1.51.8",
|
|
70
|
+
"@platformatic/generators": "1.51.8",
|
|
71
|
+
"@platformatic/service": "1.51.8",
|
|
72
|
+
"@platformatic/telemetry": "1.51.8",
|
|
73
|
+
"@platformatic/utils": "1.51.8"
|
|
74
74
|
},
|
|
75
75
|
"standard": {
|
|
76
76
|
"ignore": [
|