@platformatic/db 3.0.0-alpha.6 → 3.0.0-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.
Files changed (3) hide show
  1. package/config.d.ts +1 -0
  2. package/package.json +15 -15
  3. package/schema.json +12 -1
package/config.d.ts CHANGED
@@ -568,6 +568,7 @@ export interface PlatformaticDatabaseConfig {
568
568
  };
569
569
  startTimeout?: number;
570
570
  restartOnError?: boolean | number;
571
+ exitOnUnhandledErrors?: boolean;
571
572
  gracefulShutdown?: {
572
573
  runtime: number | string;
573
574
  application: number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/db",
3
- "version": "3.0.0-alpha.6",
3
+ "version": "3.0.0-rc.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -30,7 +30,7 @@
30
30
  "neostandard": "^0.12.0",
31
31
  "openapi-types": "^12.1.3",
32
32
  "split2": "^4.2.0",
33
- "tsd": "^0.32.0",
33
+ "tsd": "^0.33.0",
34
34
  "typescript": "^5.5.4",
35
35
  "undici": "^7.0.0",
36
36
  "vscode-json-languageservice": "^5.3.9",
@@ -66,18 +66,18 @@
66
66
  "rfdc": "^1.3.1",
67
67
  "rimraf": "^4.4.1",
68
68
  "semgrator": "^0.3.0",
69
- "@platformatic/basic": "3.0.0-alpha.6",
70
- "@platformatic/db-core": "3.0.0-alpha.6",
71
- "@platformatic/foundation": "3.0.0-alpha.6",
72
- "@platformatic/db-authorization": "3.0.0-alpha.6",
73
- "@platformatic/generators": "3.0.0-alpha.6",
74
- "@platformatic/service": "3.0.0-alpha.6",
75
- "@platformatic/sql-events": "3.0.0-alpha.6",
76
- "@platformatic/sql-graphql": "3.0.0-alpha.6",
77
- "@platformatic/sql-json-schema-mapper": "3.0.0-alpha.6",
78
- "@platformatic/sql-mapper": "3.0.0-alpha.6",
79
- "@platformatic/sql-openapi": "3.0.0-alpha.6",
80
- "@platformatic/telemetry": "3.0.0-alpha.6"
69
+ "@platformatic/basic": "3.0.0-rc.1",
70
+ "@platformatic/db-core": "3.0.0-rc.1",
71
+ "@platformatic/db-authorization": "3.0.0-rc.1",
72
+ "@platformatic/foundation": "3.0.0-rc.1",
73
+ "@platformatic/generators": "3.0.0-rc.1",
74
+ "@platformatic/service": "3.0.0-rc.1",
75
+ "@platformatic/sql-events": "3.0.0-rc.1",
76
+ "@platformatic/sql-json-schema-mapper": "3.0.0-rc.1",
77
+ "@platformatic/sql-graphql": "3.0.0-rc.1",
78
+ "@platformatic/sql-openapi": "3.0.0-rc.1",
79
+ "@platformatic/telemetry": "3.0.0-rc.1",
80
+ "@platformatic/sql-mapper": "3.0.0-rc.1"
81
81
  },
82
82
  "engines": {
83
83
  "node": ">=22.18.0"
@@ -86,7 +86,7 @@
86
86
  "test": "node --test --test-reporter=cleaner-spec-reporter --test-concurrency=1 --test-timeout=2000000 test/*.test.js test/**/*.test.js",
87
87
  "gen-schema": "node lib/schema.js > schema.json",
88
88
  "gen-types": "json2ts > config.d.ts < schema.json",
89
- "build": "pnpm run gen-schema && pnpm run gen-types",
89
+ "build": "npm run gen-schema && npm run gen-types",
90
90
  "lint": "eslint"
91
91
  }
92
92
  }
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/db/3.0.0-alpha.6.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/db/3.0.0-rc.1.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Database Config",
5
5
  "type": "object",
@@ -1472,6 +1472,13 @@
1472
1472
  },
1473
1473
  "additionalProperties": false
1474
1474
  },
1475
+ "dependencies": {
1476
+ "type": "array",
1477
+ "items": {
1478
+ "type": "string"
1479
+ },
1480
+ "default": []
1481
+ },
1475
1482
  "arguments": {
1476
1483
  "type": "array",
1477
1484
  "items": {
@@ -1853,6 +1860,10 @@
1853
1860
  }
1854
1861
  ]
1855
1862
  },
1863
+ "exitOnUnhandledErrors": {
1864
+ "default": true,
1865
+ "type": "boolean"
1866
+ },
1856
1867
  "gracefulShutdown": {
1857
1868
  "type": "object",
1858
1869
  "properties": {