@platformatic/composer 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 +3 -3
- package/schema.json +40 -67
package/config.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export interface PlatformaticComposerConfig {
|
|
|
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;
|
|
@@ -196,7 +196,7 @@ export interface PlatformaticComposerConfig {
|
|
|
196
196
|
};
|
|
197
197
|
workersRestartDelay?: number | string;
|
|
198
198
|
logger?: {
|
|
199
|
-
level
|
|
199
|
+
level: (
|
|
200
200
|
| ("fatal" | "error" | "warn" | "info" | "debug" | "trace" | "silent")
|
|
201
201
|
| {
|
|
202
202
|
[k: string]: unknown;
|
|
@@ -299,6 +299,7 @@ export interface PlatformaticComposerConfig {
|
|
|
299
299
|
maxHeapTotal?: number | string;
|
|
300
300
|
maxYoungGeneration?: number | string;
|
|
301
301
|
codeRangeSize?: number | string;
|
|
302
|
+
noHeapCheck?: boolean | string;
|
|
302
303
|
};
|
|
303
304
|
undici?: {
|
|
304
305
|
agentOptions?: {
|
|
@@ -579,18 +580,6 @@ export interface PlatformaticComposerConfig {
|
|
|
579
580
|
[k: string]: string | [string, ...string[]];
|
|
580
581
|
};
|
|
581
582
|
};
|
|
582
|
-
compileCache?:
|
|
583
|
-
| boolean
|
|
584
|
-
| {
|
|
585
|
-
/**
|
|
586
|
-
* Enable Node.js module compile cache for faster startup
|
|
587
|
-
*/
|
|
588
|
-
enabled?: boolean;
|
|
589
|
-
/**
|
|
590
|
-
* Directory to store compile cache. Defaults to .plt/compile-cache in app root
|
|
591
|
-
*/
|
|
592
|
-
directory?: string;
|
|
593
|
-
};
|
|
594
583
|
application?: {
|
|
595
584
|
reuseTcpPorts?: boolean;
|
|
596
585
|
workers?:
|
|
@@ -614,6 +603,7 @@ export interface PlatformaticComposerConfig {
|
|
|
614
603
|
maxHeapTotal?: number | string;
|
|
615
604
|
maxYoungGeneration?: number | string;
|
|
616
605
|
codeRangeSize?: number | string;
|
|
606
|
+
noHeapCheck?: boolean | string;
|
|
617
607
|
};
|
|
618
608
|
arguments?: string[];
|
|
619
609
|
env?: {
|
|
@@ -649,18 +639,6 @@ export interface PlatformaticComposerConfig {
|
|
|
649
639
|
)[];
|
|
650
640
|
[k: string]: unknown;
|
|
651
641
|
};
|
|
652
|
-
compileCache?:
|
|
653
|
-
| boolean
|
|
654
|
-
| {
|
|
655
|
-
/**
|
|
656
|
-
* Enable Node.js module compile cache for faster startup
|
|
657
|
-
*/
|
|
658
|
-
enabled?: boolean;
|
|
659
|
-
/**
|
|
660
|
-
* Directory to store compile cache. Defaults to .plt/compile-cache in app root
|
|
661
|
-
*/
|
|
662
|
-
directory?: string;
|
|
663
|
-
};
|
|
664
642
|
};
|
|
665
643
|
};
|
|
666
644
|
telemetry?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/composer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.32.0-alpha.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"json-schema-to-typescript": "^15.0.0"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@platformatic/
|
|
27
|
-
"@platformatic/
|
|
26
|
+
"@platformatic/gateway": "3.32.0-alpha.0",
|
|
27
|
+
"@platformatic/foundation": "3.32.0-alpha.0"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|
|
30
30
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/composer/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/composer/3.32.0-alpha.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Composer Config",
|
|
5
5
|
"type": "object",
|
|
@@ -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
|
}
|
|
@@ -868,6 +872,16 @@
|
|
|
868
872
|
"type": "string"
|
|
869
873
|
}
|
|
870
874
|
]
|
|
875
|
+
},
|
|
876
|
+
"noHeapCheck": {
|
|
877
|
+
"anyOf": [
|
|
878
|
+
{
|
|
879
|
+
"type": "boolean"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"type": "string"
|
|
883
|
+
}
|
|
884
|
+
]
|
|
871
885
|
}
|
|
872
886
|
},
|
|
873
887
|
"additionalProperties": false
|
|
@@ -992,28 +1006,6 @@
|
|
|
992
1006
|
}
|
|
993
1007
|
}
|
|
994
1008
|
}
|
|
995
|
-
},
|
|
996
|
-
"compileCache": {
|
|
997
|
-
"anyOf": [
|
|
998
|
-
{
|
|
999
|
-
"type": "boolean"
|
|
1000
|
-
},
|
|
1001
|
-
{
|
|
1002
|
-
"type": "object",
|
|
1003
|
-
"properties": {
|
|
1004
|
-
"enabled": {
|
|
1005
|
-
"type": "boolean",
|
|
1006
|
-
"default": true,
|
|
1007
|
-
"description": "Enable Node.js module compile cache for faster startup"
|
|
1008
|
-
},
|
|
1009
|
-
"directory": {
|
|
1010
|
-
"type": "string",
|
|
1011
|
-
"description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
|
|
1012
|
-
}
|
|
1013
|
-
},
|
|
1014
|
-
"additionalProperties": false
|
|
1015
|
-
}
|
|
1016
|
-
]
|
|
1017
1009
|
}
|
|
1018
1010
|
}
|
|
1019
1011
|
}
|
|
@@ -1093,6 +1085,7 @@
|
|
|
1093
1085
|
"properties": {
|
|
1094
1086
|
"level": {
|
|
1095
1087
|
"type": "string",
|
|
1088
|
+
"default": "info",
|
|
1096
1089
|
"oneOf": [
|
|
1097
1090
|
{
|
|
1098
1091
|
"enum": [
|
|
@@ -1235,6 +1228,9 @@
|
|
|
1235
1228
|
"additionalProperties": true
|
|
1236
1229
|
}
|
|
1237
1230
|
},
|
|
1231
|
+
"required": [
|
|
1232
|
+
"level"
|
|
1233
|
+
],
|
|
1238
1234
|
"default": {},
|
|
1239
1235
|
"additionalProperties": true
|
|
1240
1236
|
},
|
|
@@ -1530,6 +1526,17 @@
|
|
|
1530
1526
|
}
|
|
1531
1527
|
],
|
|
1532
1528
|
"default": 268435456
|
|
1529
|
+
},
|
|
1530
|
+
"noHeapCheck": {
|
|
1531
|
+
"anyOf": [
|
|
1532
|
+
{
|
|
1533
|
+
"type": "boolean"
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
"type": "string"
|
|
1537
|
+
}
|
|
1538
|
+
],
|
|
1539
|
+
"default": false
|
|
1533
1540
|
}
|
|
1534
1541
|
},
|
|
1535
1542
|
"additionalProperties": false
|
|
@@ -2276,28 +2283,6 @@
|
|
|
2276
2283
|
],
|
|
2277
2284
|
"additionalProperties": false
|
|
2278
2285
|
},
|
|
2279
|
-
"compileCache": {
|
|
2280
|
-
"anyOf": [
|
|
2281
|
-
{
|
|
2282
|
-
"type": "boolean"
|
|
2283
|
-
},
|
|
2284
|
-
{
|
|
2285
|
-
"type": "object",
|
|
2286
|
-
"properties": {
|
|
2287
|
-
"enabled": {
|
|
2288
|
-
"type": "boolean",
|
|
2289
|
-
"default": true,
|
|
2290
|
-
"description": "Enable Node.js module compile cache for faster startup"
|
|
2291
|
-
},
|
|
2292
|
-
"directory": {
|
|
2293
|
-
"type": "string",
|
|
2294
|
-
"description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
|
|
2295
|
-
}
|
|
2296
|
-
},
|
|
2297
|
-
"additionalProperties": false
|
|
2298
|
-
}
|
|
2299
|
-
]
|
|
2300
|
-
},
|
|
2301
2286
|
"application": {
|
|
2302
2287
|
"type": "object",
|
|
2303
2288
|
"properties": {
|
|
@@ -2445,6 +2430,16 @@
|
|
|
2445
2430
|
"type": "string"
|
|
2446
2431
|
}
|
|
2447
2432
|
]
|
|
2433
|
+
},
|
|
2434
|
+
"noHeapCheck": {
|
|
2435
|
+
"anyOf": [
|
|
2436
|
+
{
|
|
2437
|
+
"type": "boolean"
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
"type": "string"
|
|
2441
|
+
}
|
|
2442
|
+
]
|
|
2448
2443
|
}
|
|
2449
2444
|
},
|
|
2450
2445
|
"additionalProperties": false
|
|
@@ -2562,28 +2557,6 @@
|
|
|
2562
2557
|
}
|
|
2563
2558
|
}
|
|
2564
2559
|
}
|
|
2565
|
-
},
|
|
2566
|
-
"compileCache": {
|
|
2567
|
-
"anyOf": [
|
|
2568
|
-
{
|
|
2569
|
-
"type": "boolean"
|
|
2570
|
-
},
|
|
2571
|
-
{
|
|
2572
|
-
"type": "object",
|
|
2573
|
-
"properties": {
|
|
2574
|
-
"enabled": {
|
|
2575
|
-
"type": "boolean",
|
|
2576
|
-
"default": true,
|
|
2577
|
-
"description": "Enable Node.js module compile cache for faster startup"
|
|
2578
|
-
},
|
|
2579
|
-
"directory": {
|
|
2580
|
-
"type": "string",
|
|
2581
|
-
"description": "Directory to store compile cache. Defaults to .plt/compile-cache in app root"
|
|
2582
|
-
}
|
|
2583
|
-
},
|
|
2584
|
-
"additionalProperties": false
|
|
2585
|
-
}
|
|
2586
|
-
]
|
|
2587
2560
|
}
|
|
2588
2561
|
},
|
|
2589
2562
|
"additionalProperties": false
|