@platformatic/next 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.
package/config.d.ts CHANGED
@@ -202,6 +202,7 @@ export interface PlatformaticNextJsConfig {
202
202
  };
203
203
  startTimeout?: number;
204
204
  restartOnError?: boolean | number;
205
+ exitOnUnhandledErrors?: boolean;
205
206
  gracefulShutdown?: {
206
207
  runtime: number | string;
207
208
  application: number | string;
package/lib/capability.js CHANGED
@@ -75,6 +75,8 @@ export class NextCapability extends BaseCapability {
75
75
  }
76
76
 
77
77
  async stop () {
78
+ await super.stop()
79
+
78
80
  if (this.subprocess) {
79
81
  return this.stopCommand()
80
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/next",
3
- "version": "3.0.0-alpha.6",
3
+ "version": "3.0.0-rc.1",
4
4
  "description": "Platformatic Next.js Capability",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -23,12 +23,14 @@
23
23
  "iovalkey": "^0.3.0",
24
24
  "msgpackr": "^1.11.2",
25
25
  "semver": "^7.6.3",
26
- "@platformatic/basic": "3.0.0-alpha.6",
27
- "@platformatic/foundation": "3.0.0-alpha.6"
26
+ "@platformatic/basic": "3.0.0-rc.1",
27
+ "@platformatic/foundation": "3.0.0-rc.1"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@fastify/reply-from": "^12.0.0",
31
31
  "@types/node": "^22.5.0",
32
+ "@types/react": "^19.1.11",
33
+ "@types/react-dom": "^19.1.7",
32
34
  "cleaner-spec-reporter": "^0.5.0",
33
35
  "eslint": "9",
34
36
  "execa": "^9.5.1",
@@ -38,8 +40,8 @@
38
40
  "next": "^15.0.0",
39
41
  "typescript": "^5.5.4",
40
42
  "ws": "^8.18.0",
41
- "@platformatic/gateway": "3.0.0-alpha.6",
42
- "@platformatic/service": "3.0.0-alpha.6"
43
+ "@platformatic/gateway": "3.0.0-rc.1",
44
+ "@platformatic/service": "3.0.0-rc.1"
43
45
  },
44
46
  "engines": {
45
47
  "node": ">=22.18.0"
@@ -48,7 +50,7 @@
48
50
  "test": "node --test --test-reporter=cleaner-spec-reporter --test-concurrency=1 --test-timeout=2000000 test/*.test.js test/**/*.test.js",
49
51
  "gen-schema": "node lib/schema.js > schema.json",
50
52
  "gen-types": "json2ts > config.d.ts < schema.json",
51
- "build": "pnpm run gen-schema && pnpm run gen-types",
53
+ "build": "npm run gen-schema && npm run gen-types",
52
54
  "lint": "eslint"
53
55
  }
54
56
  }
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/next/3.0.0-alpha.6.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/next/3.0.0-rc.1.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Next.js 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": {
@@ -914,6 +921,10 @@
914
921
  }
915
922
  ]
916
923
  },
924
+ "exitOnUnhandledErrors": {
925
+ "default": true,
926
+ "type": "boolean"
927
+ },
917
928
  "gracefulShutdown": {
918
929
  "type": "object",
919
930
  "properties": {