@platformatic/runtime 1.50.0 → 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.
@@ -402,6 +402,12 @@ class RuntimeGenerator extends BaseGenerator {
402
402
  const newServicePackages = newService.plugins.map((meta) => meta.name)
403
403
  const pluginsToRemove = getArrayDifference(oldServicePackages, newServicePackages)
404
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
+ })
405
411
  }
406
412
  serviceInstance.setConfig(baseConfig)
407
413
  serviceInstance.setConfigFields(newService.fields)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/runtime",
3
- "version": "1.50.0",
3
+ "version": "1.51.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -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-graphql": "1.50.0",
38
- "@platformatic/sql-mapper": "1.50.0"
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.50.0",
67
- "@platformatic/composer": "1.50.0",
68
- "@platformatic/db": "1.50.0",
69
- "@platformatic/config": "1.50.0",
70
- "@platformatic/service": "1.50.0",
71
- "@platformatic/telemetry": "1.50.0",
72
- "@platformatic/generators": "1.50.0",
73
- "@platformatic/utils": "1.50.0"
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": [