@platformatic/service 3.0.0-alpha.6 → 3.0.0-alpha.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.
package/lib/capability.js CHANGED
@@ -84,7 +84,8 @@ export class ServiceCapability extends BaseCapability {
84
84
  }
85
85
 
86
86
  async stop () {
87
- return this.#app?.close()
87
+ await super.stop()
88
+ await this.#app?.close()
88
89
  }
89
90
 
90
91
  async inject (injectParams, onInject) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/service",
3
- "version": "3.0.0-alpha.6",
3
+ "version": "3.0.0-alpha.8",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -42,7 +42,7 @@
42
42
  "@fastify/static": "^8.0.0",
43
43
  "@fastify/swagger": "^9.0.0",
44
44
  "@fastify/under-pressure": "^9.0.0",
45
- "@scalar/fastify-api-reference": "1.33.0",
45
+ "@scalar/fastify-api-reference": "1.34.4",
46
46
  "@types/node": "^22.10.6",
47
47
  "@types/ws": "^8.5.10",
48
48
  "ajv": "^8.12.0",
@@ -67,12 +67,12 @@
67
67
  "rfdc": "^1.3.1",
68
68
  "semgrator": "^0.3.0",
69
69
  "undici": "^7.0.0",
70
- "@platformatic/basic": "3.0.0-alpha.6",
71
- "@platformatic/foundation": "3.0.0-alpha.6",
72
- "@platformatic/generators": "3.0.0-alpha.6",
73
- "@platformatic/metrics": "3.0.0-alpha.6",
74
- "@platformatic/scalar-theme": "3.0.0-alpha.6",
75
- "@platformatic/telemetry": "3.0.0-alpha.6"
70
+ "@platformatic/basic": "3.0.0-alpha.8",
71
+ "@platformatic/scalar-theme": "3.0.0-alpha.8",
72
+ "@platformatic/foundation": "3.0.0-alpha.8",
73
+ "@platformatic/generators": "3.0.0-alpha.8",
74
+ "@platformatic/telemetry": "3.0.0-alpha.8",
75
+ "@platformatic/metrics": "3.0.0-alpha.8"
76
76
  },
77
77
  "engines": {
78
78
  "node": ">=22.18.0"
@@ -81,7 +81,7 @@
81
81
  "test": "node --test --test-reporter=cleaner-spec-reporter --test-concurrency=1 --test-timeout=2000000 test/*.test.js test/**/*.test.js",
82
82
  "gen-schema": "node lib/schema.js > schema.json",
83
83
  "gen-types": "json2ts > config.d.ts < schema.json",
84
- "build": "pnpm run gen-schema && pnpm run gen-types",
84
+ "build": "npm run gen-schema && npm run gen-types",
85
85
  "lint": "eslint"
86
86
  }
87
87
  }
package/schema.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/service/3.0.0-alpha.6.json",
3
- "version": "3.0.0-alpha.6",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/service/3.0.0-alpha.8.json",
3
+ "version": "3.0.0-alpha.8",
4
4
  "title": "Platformatic Service Config",
5
5
  "type": "object",
6
6
  "properties": {
@@ -1161,6 +1161,13 @@
1161
1161
  },
1162
1162
  "additionalProperties": false
1163
1163
  },
1164
+ "dependencies": {
1165
+ "type": "array",
1166
+ "items": {
1167
+ "type": "string"
1168
+ },
1169
+ "default": []
1170
+ },
1164
1171
  "arguments": {
1165
1172
  "type": "array",
1166
1173
  "items": {