@platformatic/next 3.60.0 → 3.61.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 +8 -0
- package/package.json +6 -6
- package/schema.json +17 -1
package/config.d.ts
CHANGED
|
@@ -65,6 +65,10 @@ export interface PlatformaticNextJsConfig {
|
|
|
65
65
|
server?: {
|
|
66
66
|
hostname?: string;
|
|
67
67
|
port?: number | string;
|
|
68
|
+
/**
|
|
69
|
+
* Configures how entrypoint server worker ports are assigned. When set to shared, all workers listen on the same port. When set to perWorkerIncrement, each worker will use its own port, starting from port (worker 0).
|
|
70
|
+
*/
|
|
71
|
+
portAssignment?: "shared" | "perWorkerIncrement";
|
|
68
72
|
/**
|
|
69
73
|
* The maximum length of the queue of pending connections
|
|
70
74
|
*/
|
|
@@ -204,6 +208,10 @@ export interface PlatformaticNextJsConfig {
|
|
|
204
208
|
server?: {
|
|
205
209
|
hostname?: string;
|
|
206
210
|
port?: number | string;
|
|
211
|
+
/**
|
|
212
|
+
* Configures how entrypoint server worker ports are assigned. When set to shared, all workers listen on the same port. When set to perWorkerIncrement, each worker will use its own port, starting from port (worker 0).
|
|
213
|
+
*/
|
|
214
|
+
portAssignment?: "shared" | "perWorkerIncrement";
|
|
207
215
|
/**
|
|
208
216
|
* The maximum length of the queue of pending connections
|
|
209
217
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/next",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.61.1",
|
|
4
4
|
"description": "Platformatic Next.js Capability",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"light-my-request": "^6.0.0",
|
|
26
26
|
"msgpackr": "^1.11.2",
|
|
27
27
|
"semver": "^7.6.3",
|
|
28
|
-
"@platformatic/
|
|
29
|
-
"@platformatic/
|
|
30
|
-
"@platformatic/globals": "3.
|
|
28
|
+
"@platformatic/basic": "3.61.1",
|
|
29
|
+
"@platformatic/foundation": "3.61.1",
|
|
30
|
+
"@platformatic/globals": "3.61.1"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@fastify/reply-from": "^12.0.0",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"next": "^16.1.0",
|
|
45
45
|
"typescript": "^5.5.4",
|
|
46
46
|
"ws": "^8.18.0",
|
|
47
|
-
"@platformatic/
|
|
48
|
-
"@platformatic/
|
|
47
|
+
"@platformatic/gateway": "3.61.1",
|
|
48
|
+
"@platformatic/service": "3.61.1"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|
|
51
51
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/next/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/next/3.61.1.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Next.js Config",
|
|
5
5
|
"type": "object",
|
|
@@ -196,6 +196,14 @@
|
|
|
196
196
|
}
|
|
197
197
|
]
|
|
198
198
|
},
|
|
199
|
+
"portAssignment": {
|
|
200
|
+
"type": "string",
|
|
201
|
+
"enum": [
|
|
202
|
+
"shared",
|
|
203
|
+
"perWorkerIncrement"
|
|
204
|
+
],
|
|
205
|
+
"description": "Configures how entrypoint server worker ports are assigned. When set to shared, all workers listen on the same port. When set to perWorkerIncrement, each worker will use its own port, starting from port (worker 0)."
|
|
206
|
+
},
|
|
199
207
|
"backlog": {
|
|
200
208
|
"type": "integer",
|
|
201
209
|
"description": "The maximum length of the queue of pending connections"
|
|
@@ -1074,6 +1082,14 @@
|
|
|
1074
1082
|
}
|
|
1075
1083
|
]
|
|
1076
1084
|
},
|
|
1085
|
+
"portAssignment": {
|
|
1086
|
+
"type": "string",
|
|
1087
|
+
"enum": [
|
|
1088
|
+
"shared",
|
|
1089
|
+
"perWorkerIncrement"
|
|
1090
|
+
],
|
|
1091
|
+
"description": "Configures how entrypoint server worker ports are assigned. When set to shared, all workers listen on the same port. When set to perWorkerIncrement, each worker will use its own port, starting from port (worker 0)."
|
|
1092
|
+
},
|
|
1077
1093
|
"backlog": {
|
|
1078
1094
|
"type": "integer",
|
|
1079
1095
|
"description": "The maximum length of the queue of pending connections"
|