@platformatic/next 3.31.0 → 3.32.0-alpha.0
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 +4 -26
- package/package.json +5 -5
- package/schema.json +40 -67
package/config.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
export interface PlatformaticNextJsConfig {
|
|
9
9
|
$schema?: string;
|
|
10
10
|
logger?: {
|
|
11
|
-
level
|
|
11
|
+
level: (
|
|
12
12
|
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
13
13
|
| {
|
|
14
14
|
[k: string]: unknown;
|
|
@@ -139,7 +139,7 @@ export interface PlatformaticNextJsConfig {
|
|
|
139
139
|
};
|
|
140
140
|
workersRestartDelay?: number | string;
|
|
141
141
|
logger?: {
|
|
142
|
-
level
|
|
142
|
+
level: (
|
|
143
143
|
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
144
144
|
| {
|
|
145
145
|
[k: string]: unknown;
|
|
@@ -242,6 +242,7 @@ export interface PlatformaticNextJsConfig {
|
|
|
242
242
|
maxHeapTotal?: number | string;
|
|
243
243
|
maxYoungGeneration?: number | string;
|
|
244
244
|
codeRangeSize?: number | string;
|
|
245
|
+
noHeapCheck?: boolean | string;
|
|
245
246
|
};
|
|
246
247
|
undici?: {
|
|
247
248
|
agentOptions?: {
|
|
@@ -522,18 +523,6 @@ export interface PlatformaticNextJsConfig {
|
|
|
522
523
|
[k: string]: string | [string, ...string[]];
|
|
523
524
|
};
|
|
524
525
|
};
|
|
525
|
-
compileCache?:
|
|
526
|
-
| boolean
|
|
527
|
-
| {
|
|
528
|
-
/**
|
|
529
|
-
* Enable Node.js module compile cache for faster startup
|
|
530
|
-
*/
|
|
531
|
-
enabled?: boolean;
|
|
532
|
-
/**
|
|
533
|
-
* Directory to store compile cache. Defaults to .plt/compile-cache in app root
|
|
534
|
-
*/
|
|
535
|
-
directory?: string;
|
|
536
|
-
};
|
|
537
526
|
application?: {
|
|
538
527
|
reuseTcpPorts?: boolean;
|
|
539
528
|
workers?:
|
|
@@ -557,6 +546,7 @@ export interface PlatformaticNextJsConfig {
|
|
|
557
546
|
maxHeapTotal?: number | string;
|
|
558
547
|
maxYoungGeneration?: number | string;
|
|
559
548
|
codeRangeSize?: number | string;
|
|
549
|
+
noHeapCheck?: boolean | string;
|
|
560
550
|
};
|
|
561
551
|
arguments?: string[];
|
|
562
552
|
env?: {
|
|
@@ -592,18 +582,6 @@ export interface PlatformaticNextJsConfig {
|
|
|
592
582
|
)[];
|
|
593
583
|
[k: string]: unknown;
|
|
594
584
|
};
|
|
595
|
-
compileCache?:
|
|
596
|
-
| boolean
|
|
597
|
-
| {
|
|
598
|
-
/**
|
|
599
|
-
* Enable Node.js module compile cache for faster startup
|
|
600
|
-
*/
|
|
601
|
-
enabled?: boolean;
|
|
602
|
-
/**
|
|
603
|
-
* Directory to store compile cache. Defaults to .plt/compile-cache in app root
|
|
604
|
-
*/
|
|
605
|
-
directory?: string;
|
|
606
|
-
};
|
|
607
585
|
};
|
|
608
586
|
};
|
|
609
587
|
next?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/next",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.0-alpha.0",
|
|
4
4
|
"description": "Platformatic Next.js Capability",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"iovalkey": "^0.3.0",
|
|
24
24
|
"msgpackr": "^1.11.2",
|
|
25
25
|
"semver": "^7.6.3",
|
|
26
|
-
"@platformatic/basic": "3.
|
|
27
|
-
"@platformatic/foundation": "3.
|
|
26
|
+
"@platformatic/basic": "3.32.0-alpha.0",
|
|
27
|
+
"@platformatic/foundation": "3.32.0-alpha.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@fastify/reply-from": "^12.0.0",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"next": "^16.0.0",
|
|
41
41
|
"typescript": "^5.5.4",
|
|
42
42
|
"ws": "^8.18.0",
|
|
43
|
-
"@platformatic/gateway": "3.
|
|
44
|
-
"@platformatic/service": "3.
|
|
43
|
+
"@platformatic/gateway": "3.32.0-alpha.0",
|
|
44
|
+
"@platformatic/service": "3.32.0-alpha.0"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"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.32.0-alpha.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Next.js Config",
|
|
5
5
|
"type": "object",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"properties": {
|
|
13
13
|
"level": {
|
|
14
14
|
"type": "string",
|
|
15
|
+
"default": "info",
|
|
15
16
|
"oneOf": [
|
|
16
17
|
{
|
|
17
18
|
"enum": [
|
|
@@ -154,6 +155,9 @@
|
|
|
154
155
|
"additionalProperties": true
|
|
155
156
|
}
|
|
156
157
|
},
|
|
158
|
+
"required": [
|
|
159
|
+
"level"
|
|
160
|
+
],
|
|
157
161
|
"default": {},
|
|
158
162
|
"additionalProperties": true
|
|
159
163
|
},
|
|
@@ -570,6 +574,16 @@
|
|
|
570
574
|
"type": "string"
|
|
571
575
|
}
|
|
572
576
|
]
|
|
577
|
+
},
|
|
578
|
+
"noHeapCheck": {
|
|
579
|
+
"anyOf": [
|
|
580
|
+
{
|
|
581
|
+
"type": "boolean"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"type": "string"
|
|
585
|
+
}
|
|
586
|
+
]
|
|
573
587
|
}
|
|
574
588
|
},
|
|
575
589
|
"additionalProperties": false
|
|
@@ -694,28 +708,6 @@
|
|
|
694
708
|
}
|
|
695
709
|
}
|
|
696
710
|
}
|
|
697
|
-
},
|
|
698
|
-
"compileCache": {
|
|
699
|
-
"anyOf": [
|
|
700
|
-
{
|
|
701
|
-
"type": "boolean"
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
"type": "object",
|
|
705
|
-
"properties": {
|
|
706
|
-
"enabled": {
|
|
707
|
-
"type": "boolean",
|
|
708
|
-
"default": true,
|
|
709
|
-
"description": "Enable Node.js module compile cache for faster startup"
|
|
710
|
-
},
|
|
711
|
-
"directory": {
|
|
712
|
-
"type": "string",
|
|
713
|
-
"description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
|
|
714
|
-
}
|
|
715
|
-
},
|
|
716
|
-
"additionalProperties": false
|
|
717
|
-
}
|
|
718
|
-
]
|
|
719
711
|
}
|
|
720
712
|
}
|
|
721
713
|
}
|
|
@@ -795,6 +787,7 @@
|
|
|
795
787
|
"properties": {
|
|
796
788
|
"level": {
|
|
797
789
|
"type": "string",
|
|
790
|
+
"default": "info",
|
|
798
791
|
"oneOf": [
|
|
799
792
|
{
|
|
800
793
|
"enum": [
|
|
@@ -937,6 +930,9 @@
|
|
|
937
930
|
"additionalProperties": true
|
|
938
931
|
}
|
|
939
932
|
},
|
|
933
|
+
"required": [
|
|
934
|
+
"level"
|
|
935
|
+
],
|
|
940
936
|
"default": {},
|
|
941
937
|
"additionalProperties": true
|
|
942
938
|
},
|
|
@@ -1232,6 +1228,17 @@
|
|
|
1232
1228
|
}
|
|
1233
1229
|
],
|
|
1234
1230
|
"default": 268435456
|
|
1231
|
+
},
|
|
1232
|
+
"noHeapCheck": {
|
|
1233
|
+
"anyOf": [
|
|
1234
|
+
{
|
|
1235
|
+
"type": "boolean"
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"type": "string"
|
|
1239
|
+
}
|
|
1240
|
+
],
|
|
1241
|
+
"default": false
|
|
1235
1242
|
}
|
|
1236
1243
|
},
|
|
1237
1244
|
"additionalProperties": false
|
|
@@ -1978,28 +1985,6 @@
|
|
|
1978
1985
|
],
|
|
1979
1986
|
"additionalProperties": false
|
|
1980
1987
|
},
|
|
1981
|
-
"compileCache": {
|
|
1982
|
-
"anyOf": [
|
|
1983
|
-
{
|
|
1984
|
-
"type": "boolean"
|
|
1985
|
-
},
|
|
1986
|
-
{
|
|
1987
|
-
"type": "object",
|
|
1988
|
-
"properties": {
|
|
1989
|
-
"enabled": {
|
|
1990
|
-
"type": "boolean",
|
|
1991
|
-
"default": true,
|
|
1992
|
-
"description": "Enable Node.js module compile cache for faster startup"
|
|
1993
|
-
},
|
|
1994
|
-
"directory": {
|
|
1995
|
-
"type": "string",
|
|
1996
|
-
"description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
|
|
1997
|
-
}
|
|
1998
|
-
},
|
|
1999
|
-
"additionalProperties": false
|
|
2000
|
-
}
|
|
2001
|
-
]
|
|
2002
|
-
},
|
|
2003
1988
|
"application": {
|
|
2004
1989
|
"type": "object",
|
|
2005
1990
|
"properties": {
|
|
@@ -2147,6 +2132,16 @@
|
|
|
2147
2132
|
"type": "string"
|
|
2148
2133
|
}
|
|
2149
2134
|
]
|
|
2135
|
+
},
|
|
2136
|
+
"noHeapCheck": {
|
|
2137
|
+
"anyOf": [
|
|
2138
|
+
{
|
|
2139
|
+
"type": "boolean"
|
|
2140
|
+
},
|
|
2141
|
+
{
|
|
2142
|
+
"type": "string"
|
|
2143
|
+
}
|
|
2144
|
+
]
|
|
2150
2145
|
}
|
|
2151
2146
|
},
|
|
2152
2147
|
"additionalProperties": false
|
|
@@ -2264,28 +2259,6 @@
|
|
|
2264
2259
|
}
|
|
2265
2260
|
}
|
|
2266
2261
|
}
|
|
2267
|
-
},
|
|
2268
|
-
"compileCache": {
|
|
2269
|
-
"anyOf": [
|
|
2270
|
-
{
|
|
2271
|
-
"type": "boolean"
|
|
2272
|
-
},
|
|
2273
|
-
{
|
|
2274
|
-
"type": "object",
|
|
2275
|
-
"properties": {
|
|
2276
|
-
"enabled": {
|
|
2277
|
-
"type": "boolean",
|
|
2278
|
-
"default": true,
|
|
2279
|
-
"description": "Enable Node.js module compile cache for faster startup"
|
|
2280
|
-
},
|
|
2281
|
-
"directory": {
|
|
2282
|
-
"type": "string",
|
|
2283
|
-
"description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
|
|
2284
|
-
}
|
|
2285
|
-
},
|
|
2286
|
-
"additionalProperties": false
|
|
2287
|
-
}
|
|
2288
|
-
]
|
|
2289
2262
|
}
|
|
2290
2263
|
},
|
|
2291
2264
|
"additionalProperties": false
|