@platformatic/runtime 2.3.0 → 2.4.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/config.d.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
7
 
8
- export type HttpsSchemasPlatformaticDevPlatformaticRuntime230Json = {
8
+ export type HttpsSchemasPlatformaticDevPlatformaticRuntime240Json = {
9
9
  [k: string]: unknown;
10
10
  } & {
11
11
  $schema?: string;
package/lib/runtime.js CHANGED
@@ -236,7 +236,7 @@ class Runtime extends EventEmitter {
236
236
  // TODO: handle port allocation error here
237
237
  if (error.code === 'EADDRINUSE') throw error
238
238
 
239
- this.logger.error({ error: ensureLoggableError(error) }, `Failed to start service "${id}".`)
239
+ this.logger.error({ err: ensureLoggableError(error) }, `Failed to start service "${id}".`)
240
240
 
241
241
  const config = this.#configManager.current
242
242
  const restartOnError = config.restartOnError
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/runtime",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -34,11 +34,11 @@
34
34
  "typescript": "^5.5.4",
35
35
  "undici-oidc-interceptor": "^0.5.0",
36
36
  "why-is-node-running": "^2.2.2",
37
- "@platformatic/composer": "2.3.0",
38
- "@platformatic/db": "2.3.0",
39
- "@platformatic/service": "2.3.0",
40
- "@platformatic/sql-graphql": "2.3.0",
41
- "@platformatic/sql-mapper": "2.3.0"
37
+ "@platformatic/composer": "2.4.0",
38
+ "@platformatic/service": "2.4.0",
39
+ "@platformatic/db": "2.4.0",
40
+ "@platformatic/sql-graphql": "2.4.0",
41
+ "@platformatic/sql-mapper": "2.4.0"
42
42
  },
43
43
  "dependencies": {
44
44
  "@fastify/error": "^4.0.0",
@@ -68,13 +68,13 @@
68
68
  "undici": "^6.9.0",
69
69
  "undici-thread-interceptor": "^0.6.1",
70
70
  "ws": "^8.16.0",
71
- "@platformatic/basic": "2.3.0",
72
- "@platformatic/config": "2.3.0",
73
- "@platformatic/generators": "2.3.0",
74
- "@platformatic/itc": "2.3.0",
75
- "@platformatic/telemetry": "2.3.0",
76
- "@platformatic/utils": "2.3.0",
77
- "@platformatic/ts-compiler": "2.3.0"
71
+ "@platformatic/basic": "2.4.0",
72
+ "@platformatic/config": "2.4.0",
73
+ "@platformatic/generators": "2.4.0",
74
+ "@platformatic/telemetry": "2.4.0",
75
+ "@platformatic/ts-compiler": "2.4.0",
76
+ "@platformatic/itc": "2.4.0",
77
+ "@platformatic/utils": "2.4.0"
78
78
  },
79
79
  "scripts": {
80
80
  "test": "npm run lint && borp --concurrency=1 --timeout=180000 && tsd",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/runtime/2.3.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/runtime/2.4.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "type": "object",
5
5
  "properties": {