@platformatic/service 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 +7 -7
- package/schema.json +41 -68
package/config.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export interface PlatformaticServiceConfig {
|
|
|
32
32
|
logger?:
|
|
33
33
|
| boolean
|
|
34
34
|
| {
|
|
35
|
-
level
|
|
35
|
+
level: (
|
|
36
36
|
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
37
37
|
| {
|
|
38
38
|
[k: string]: unknown;
|
|
@@ -331,7 +331,7 @@ export interface PlatformaticServiceConfig {
|
|
|
331
331
|
};
|
|
332
332
|
workersRestartDelay?: number | string;
|
|
333
333
|
logger?: {
|
|
334
|
-
level
|
|
334
|
+
level: (
|
|
335
335
|
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
336
336
|
| {
|
|
337
337
|
[k: string]: unknown;
|
|
@@ -434,6 +434,7 @@ export interface PlatformaticServiceConfig {
|
|
|
434
434
|
maxHeapTotal?: number | string;
|
|
435
435
|
maxYoungGeneration?: number | string;
|
|
436
436
|
codeRangeSize?: number | string;
|
|
437
|
+
noHeapCheck?: boolean | string;
|
|
437
438
|
};
|
|
438
439
|
undici?: {
|
|
439
440
|
agentOptions?: {
|
|
@@ -714,18 +715,6 @@ export interface PlatformaticServiceConfig {
|
|
|
714
715
|
[k: string]: string | [string, ...string[]];
|
|
715
716
|
};
|
|
716
717
|
};
|
|
717
|
-
compileCache?:
|
|
718
|
-
| boolean
|
|
719
|
-
| {
|
|
720
|
-
/**
|
|
721
|
-
* Enable Node.js module compile cache for faster startup
|
|
722
|
-
*/
|
|
723
|
-
enabled?: boolean;
|
|
724
|
-
/**
|
|
725
|
-
* Directory to store compile cache. Defaults to .plt/compile-cache in app root
|
|
726
|
-
*/
|
|
727
|
-
directory?: string;
|
|
728
|
-
};
|
|
729
718
|
application?: {
|
|
730
719
|
reuseTcpPorts?: boolean;
|
|
731
720
|
workers?:
|
|
@@ -749,6 +738,7 @@ export interface PlatformaticServiceConfig {
|
|
|
749
738
|
maxHeapTotal?: number | string;
|
|
750
739
|
maxYoungGeneration?: number | string;
|
|
751
740
|
codeRangeSize?: number | string;
|
|
741
|
+
noHeapCheck?: boolean | string;
|
|
752
742
|
};
|
|
753
743
|
arguments?: string[];
|
|
754
744
|
env?: {
|
|
@@ -784,18 +774,6 @@ export interface PlatformaticServiceConfig {
|
|
|
784
774
|
)[];
|
|
785
775
|
[k: string]: unknown;
|
|
786
776
|
};
|
|
787
|
-
compileCache?:
|
|
788
|
-
| boolean
|
|
789
|
-
| {
|
|
790
|
-
/**
|
|
791
|
-
* Enable Node.js module compile cache for faster startup
|
|
792
|
-
*/
|
|
793
|
-
enabled?: boolean;
|
|
794
|
-
/**
|
|
795
|
-
* Directory to store compile cache. Defaults to .plt/compile-cache in app root
|
|
796
|
-
*/
|
|
797
|
-
directory?: string;
|
|
798
|
-
};
|
|
799
777
|
};
|
|
800
778
|
};
|
|
801
779
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/service",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.0-alpha.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -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.
|
|
71
|
-
"@platformatic/foundation": "3.
|
|
72
|
-
"@platformatic/generators": "3.
|
|
73
|
-
"@platformatic/metrics": "3.
|
|
74
|
-
"@platformatic/scalar-theme": "3.
|
|
75
|
-
"@platformatic/telemetry": "3.
|
|
70
|
+
"@platformatic/basic": "3.32.0-alpha.0",
|
|
71
|
+
"@platformatic/foundation": "3.32.0-alpha.0",
|
|
72
|
+
"@platformatic/generators": "3.32.0-alpha.0",
|
|
73
|
+
"@platformatic/metrics": "3.32.0-alpha.0",
|
|
74
|
+
"@platformatic/scalar-theme": "3.32.0-alpha.0",
|
|
75
|
+
"@platformatic/telemetry": "3.32.0-alpha.0"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
78
78
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/service/3.
|
|
3
|
-
"version": "3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/service/3.32.0-alpha.0.json",
|
|
3
|
+
"version": "3.32.0-alpha.0",
|
|
4
4
|
"title": "Platformatic Service Config",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -97,6 +97,7 @@
|
|
|
97
97
|
"properties": {
|
|
98
98
|
"level": {
|
|
99
99
|
"type": "string",
|
|
100
|
+
"default": "info",
|
|
100
101
|
"oneOf": [
|
|
101
102
|
{
|
|
102
103
|
"enum": [
|
|
@@ -239,6 +240,9 @@
|
|
|
239
240
|
"additionalProperties": true
|
|
240
241
|
}
|
|
241
242
|
},
|
|
243
|
+
"required": [
|
|
244
|
+
"level"
|
|
245
|
+
],
|
|
242
246
|
"default": {},
|
|
243
247
|
"additionalProperties": true
|
|
244
248
|
}
|
|
@@ -1194,6 +1198,16 @@
|
|
|
1194
1198
|
"type": "string"
|
|
1195
1199
|
}
|
|
1196
1200
|
]
|
|
1201
|
+
},
|
|
1202
|
+
"noHeapCheck": {
|
|
1203
|
+
"anyOf": [
|
|
1204
|
+
{
|
|
1205
|
+
"type": "boolean"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"type": "string"
|
|
1209
|
+
}
|
|
1210
|
+
]
|
|
1197
1211
|
}
|
|
1198
1212
|
},
|
|
1199
1213
|
"additionalProperties": false
|
|
@@ -1318,28 +1332,6 @@
|
|
|
1318
1332
|
}
|
|
1319
1333
|
}
|
|
1320
1334
|
}
|
|
1321
|
-
},
|
|
1322
|
-
"compileCache": {
|
|
1323
|
-
"anyOf": [
|
|
1324
|
-
{
|
|
1325
|
-
"type": "boolean"
|
|
1326
|
-
},
|
|
1327
|
-
{
|
|
1328
|
-
"type": "object",
|
|
1329
|
-
"properties": {
|
|
1330
|
-
"enabled": {
|
|
1331
|
-
"type": "boolean",
|
|
1332
|
-
"default": true,
|
|
1333
|
-
"description": "Enable Node.js module compile cache for faster startup"
|
|
1334
|
-
},
|
|
1335
|
-
"directory": {
|
|
1336
|
-
"type": "string",
|
|
1337
|
-
"description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
|
|
1338
|
-
}
|
|
1339
|
-
},
|
|
1340
|
-
"additionalProperties": false
|
|
1341
|
-
}
|
|
1342
|
-
]
|
|
1343
1335
|
}
|
|
1344
1336
|
}
|
|
1345
1337
|
}
|
|
@@ -1419,6 +1411,7 @@
|
|
|
1419
1411
|
"properties": {
|
|
1420
1412
|
"level": {
|
|
1421
1413
|
"type": "string",
|
|
1414
|
+
"default": "info",
|
|
1422
1415
|
"oneOf": [
|
|
1423
1416
|
{
|
|
1424
1417
|
"enum": [
|
|
@@ -1561,6 +1554,9 @@
|
|
|
1561
1554
|
"additionalProperties": true
|
|
1562
1555
|
}
|
|
1563
1556
|
},
|
|
1557
|
+
"required": [
|
|
1558
|
+
"level"
|
|
1559
|
+
],
|
|
1564
1560
|
"default": {},
|
|
1565
1561
|
"additionalProperties": true
|
|
1566
1562
|
},
|
|
@@ -1856,6 +1852,17 @@
|
|
|
1856
1852
|
}
|
|
1857
1853
|
],
|
|
1858
1854
|
"default": 268435456
|
|
1855
|
+
},
|
|
1856
|
+
"noHeapCheck": {
|
|
1857
|
+
"anyOf": [
|
|
1858
|
+
{
|
|
1859
|
+
"type": "boolean"
|
|
1860
|
+
},
|
|
1861
|
+
{
|
|
1862
|
+
"type": "string"
|
|
1863
|
+
}
|
|
1864
|
+
],
|
|
1865
|
+
"default": false
|
|
1859
1866
|
}
|
|
1860
1867
|
},
|
|
1861
1868
|
"additionalProperties": false
|
|
@@ -2602,28 +2609,6 @@
|
|
|
2602
2609
|
],
|
|
2603
2610
|
"additionalProperties": false
|
|
2604
2611
|
},
|
|
2605
|
-
"compileCache": {
|
|
2606
|
-
"anyOf": [
|
|
2607
|
-
{
|
|
2608
|
-
"type": "boolean"
|
|
2609
|
-
},
|
|
2610
|
-
{
|
|
2611
|
-
"type": "object",
|
|
2612
|
-
"properties": {
|
|
2613
|
-
"enabled": {
|
|
2614
|
-
"type": "boolean",
|
|
2615
|
-
"default": true,
|
|
2616
|
-
"description": "Enable Node.js module compile cache for faster startup"
|
|
2617
|
-
},
|
|
2618
|
-
"directory": {
|
|
2619
|
-
"type": "string",
|
|
2620
|
-
"description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
|
|
2621
|
-
}
|
|
2622
|
-
},
|
|
2623
|
-
"additionalProperties": false
|
|
2624
|
-
}
|
|
2625
|
-
]
|
|
2626
|
-
},
|
|
2627
2612
|
"application": {
|
|
2628
2613
|
"type": "object",
|
|
2629
2614
|
"properties": {
|
|
@@ -2771,6 +2756,16 @@
|
|
|
2771
2756
|
"type": "string"
|
|
2772
2757
|
}
|
|
2773
2758
|
]
|
|
2759
|
+
},
|
|
2760
|
+
"noHeapCheck": {
|
|
2761
|
+
"anyOf": [
|
|
2762
|
+
{
|
|
2763
|
+
"type": "boolean"
|
|
2764
|
+
},
|
|
2765
|
+
{
|
|
2766
|
+
"type": "string"
|
|
2767
|
+
}
|
|
2768
|
+
]
|
|
2774
2769
|
}
|
|
2775
2770
|
},
|
|
2776
2771
|
"additionalProperties": false
|
|
@@ -2888,28 +2883,6 @@
|
|
|
2888
2883
|
}
|
|
2889
2884
|
}
|
|
2890
2885
|
}
|
|
2891
|
-
},
|
|
2892
|
-
"compileCache": {
|
|
2893
|
-
"anyOf": [
|
|
2894
|
-
{
|
|
2895
|
-
"type": "boolean"
|
|
2896
|
-
},
|
|
2897
|
-
{
|
|
2898
|
-
"type": "object",
|
|
2899
|
-
"properties": {
|
|
2900
|
-
"enabled": {
|
|
2901
|
-
"type": "boolean",
|
|
2902
|
-
"default": true,
|
|
2903
|
-
"description": "Enable Node.js module compile cache for faster startup"
|
|
2904
|
-
},
|
|
2905
|
-
"directory": {
|
|
2906
|
-
"type": "string",
|
|
2907
|
-
"description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
|
|
2908
|
-
}
|
|
2909
|
-
},
|
|
2910
|
-
"additionalProperties": false
|
|
2911
|
-
}
|
|
2912
|
-
]
|
|
2913
2886
|
}
|
|
2914
2887
|
},
|
|
2915
2888
|
"additionalProperties": false
|