@platformatic/astro 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
@@ -61,6 +61,8 @@ export class AstroCapability extends BaseCapability {
61
61
  }
62
62
 
63
63
  async stop () {
64
+ await super.stop()
65
+
64
66
  if (this.childManager) {
65
67
  return this.stopCommand()
66
68
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/astro",
3
- "version": "3.0.0-alpha.6",
3
+ "version": "3.0.0-alpha.8",
4
4
  "description": "Platformatic Astro Capability",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -19,11 +19,13 @@
19
19
  "@fastify/static": "^8.0.0",
20
20
  "fastify": "^5.0.0",
21
21
  "semver": "^7.6.3",
22
- "@platformatic/basic": "3.0.0-alpha.6",
23
- "@platformatic/foundation": "3.0.0-alpha.6"
22
+ "@platformatic/basic": "3.0.0-alpha.8",
23
+ "@platformatic/foundation": "3.0.0-alpha.8"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@astrojs/node": "^9.2.0",
27
+ "@types/react": "^19.1.11",
28
+ "@types/react-dom": "^19.1.7",
27
29
  "astro": "^5.7.1",
28
30
  "cleaner-spec-reporter": "^0.5.0",
29
31
  "eslint": "9",
@@ -32,8 +34,8 @@
32
34
  "typescript": "^5.5.4",
33
35
  "vite": "^5.4.4",
34
36
  "ws": "^8.18.0",
35
- "@platformatic/service": "3.0.0-alpha.6",
36
- "@platformatic/gateway": "3.0.0-alpha.6"
37
+ "@platformatic/gateway": "3.0.0-alpha.8",
38
+ "@platformatic/service": "3.0.0-alpha.8"
37
39
  },
38
40
  "engines": {
39
41
  "node": ">=22.18.0"
@@ -42,7 +44,7 @@
42
44
  "test": "node --test --test-reporter=cleaner-spec-reporter --test-concurrency=1 --test-timeout=2000000 test/*.test.js test/**/*.test.js",
43
45
  "gen-schema": "node lib/schema.js > schema.json",
44
46
  "gen-types": "json2ts > config.d.ts < schema.json",
45
- "build": "pnpm run gen-schema && pnpm run gen-types",
47
+ "build": "npm run gen-schema && npm run gen-types",
46
48
  "lint": "eslint"
47
49
  }
48
50
  }
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/astro/3.0.0-alpha.6.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/astro/3.0.0-alpha.8.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Astro Config",
5
5
  "type": "object",
@@ -533,6 +533,13 @@
533
533
  },
534
534
  "additionalProperties": false
535
535
  },
536
+ "dependencies": {
537
+ "type": "array",
538
+ "items": {
539
+ "type": "string"
540
+ },
541
+ "default": []
542
+ },
536
543
  "arguments": {
537
544
  "type": "array",
538
545
  "items": {