@platformatic/composer 3.30.0 → 3.31.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 +26 -2
- package/package.json +3 -3
- package/schema.json +67 -9
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;
|
|
@@ -579,6 +579,18 @@ export interface PlatformaticComposerConfig {
|
|
|
579
579
|
[k: string]: string | [string, ...string[]];
|
|
580
580
|
};
|
|
581
581
|
};
|
|
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
|
+
};
|
|
582
594
|
application?: {
|
|
583
595
|
reuseTcpPorts?: boolean;
|
|
584
596
|
workers?:
|
|
@@ -637,6 +649,18 @@ export interface PlatformaticComposerConfig {
|
|
|
637
649
|
)[];
|
|
638
650
|
[k: string]: unknown;
|
|
639
651
|
};
|
|
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
|
+
};
|
|
640
664
|
};
|
|
641
665
|
};
|
|
642
666
|
telemetry?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/composer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.31.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/foundation": "3.31.0",
|
|
27
|
+
"@platformatic/gateway": "3.31.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.31.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Composer Config",
|
|
5
5
|
"type": "object",
|
|
@@ -97,7 +97,6 @@
|
|
|
97
97
|
"properties": {
|
|
98
98
|
"level": {
|
|
99
99
|
"type": "string",
|
|
100
|
-
"default": "info",
|
|
101
100
|
"oneOf": [
|
|
102
101
|
{
|
|
103
102
|
"enum": [
|
|
@@ -240,9 +239,6 @@
|
|
|
240
239
|
"additionalProperties": true
|
|
241
240
|
}
|
|
242
241
|
},
|
|
243
|
-
"required": [
|
|
244
|
-
"level"
|
|
245
|
-
],
|
|
246
242
|
"default": {},
|
|
247
243
|
"additionalProperties": true
|
|
248
244
|
}
|
|
@@ -996,6 +992,28 @@
|
|
|
996
992
|
}
|
|
997
993
|
}
|
|
998
994
|
}
|
|
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
|
+
]
|
|
999
1017
|
}
|
|
1000
1018
|
}
|
|
1001
1019
|
}
|
|
@@ -1075,7 +1093,6 @@
|
|
|
1075
1093
|
"properties": {
|
|
1076
1094
|
"level": {
|
|
1077
1095
|
"type": "string",
|
|
1078
|
-
"default": "info",
|
|
1079
1096
|
"oneOf": [
|
|
1080
1097
|
{
|
|
1081
1098
|
"enum": [
|
|
@@ -1218,9 +1235,6 @@
|
|
|
1218
1235
|
"additionalProperties": true
|
|
1219
1236
|
}
|
|
1220
1237
|
},
|
|
1221
|
-
"required": [
|
|
1222
|
-
"level"
|
|
1223
|
-
],
|
|
1224
1238
|
"default": {},
|
|
1225
1239
|
"additionalProperties": true
|
|
1226
1240
|
},
|
|
@@ -2262,6 +2276,28 @@
|
|
|
2262
2276
|
],
|
|
2263
2277
|
"additionalProperties": false
|
|
2264
2278
|
},
|
|
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
|
+
},
|
|
2265
2301
|
"application": {
|
|
2266
2302
|
"type": "object",
|
|
2267
2303
|
"properties": {
|
|
@@ -2526,6 +2562,28 @@
|
|
|
2526
2562
|
}
|
|
2527
2563
|
}
|
|
2528
2564
|
}
|
|
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
|
+
]
|
|
2529
2587
|
}
|
|
2530
2588
|
},
|
|
2531
2589
|
"additionalProperties": false
|