@platformatic/vite 3.9.0 → 3.11.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 -1
- package/package.json +6 -6
- package/schema.json +47 -5
package/config.d.ts
CHANGED
|
@@ -324,6 +324,7 @@ export interface PlatformaticViteConfig {
|
|
|
324
324
|
};
|
|
325
325
|
};
|
|
326
326
|
plugins?: string[];
|
|
327
|
+
timeout?: number | string;
|
|
327
328
|
};
|
|
328
329
|
telemetry?: {
|
|
329
330
|
enabled?: boolean | string;
|
|
@@ -404,14 +405,16 @@ export interface PlatformaticViteConfig {
|
|
|
404
405
|
verticalScaler?: {
|
|
405
406
|
enabled?: boolean;
|
|
406
407
|
maxTotalWorkers?: number;
|
|
408
|
+
maxTotalMemory?: number;
|
|
407
409
|
minWorkers?: number;
|
|
408
410
|
maxWorkers?: number;
|
|
409
411
|
scaleUpELU?: number;
|
|
410
412
|
scaleDownELU?: number;
|
|
411
|
-
minELUDiff?: number;
|
|
412
413
|
timeWindowSec?: number;
|
|
414
|
+
scaleDownTimeWindowSec?: number;
|
|
413
415
|
cooldownSec?: number;
|
|
414
416
|
scaleIntervalSec?: number;
|
|
417
|
+
gracePeriod?: number;
|
|
415
418
|
};
|
|
416
419
|
inspectorOptions?: {
|
|
417
420
|
host?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platformatic/vite",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.11.0",
|
|
4
4
|
"description": "Platformatic Vite Capability",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"@fastify/static": "^8.0.0",
|
|
19
19
|
"fastify": "^5.0.0",
|
|
20
20
|
"semver": "^7.6.3",
|
|
21
|
-
"@platformatic/basic": "3.
|
|
22
|
-
"@platformatic/
|
|
23
|
-
"@platformatic/
|
|
21
|
+
"@platformatic/basic": "3.11.0",
|
|
22
|
+
"@platformatic/node": "3.11.0",
|
|
23
|
+
"@platformatic/foundation": "3.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"cleaner-spec-reporter": "^0.5.0",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"typescript": "^5.5.4",
|
|
33
33
|
"vite": "^7.1.4",
|
|
34
34
|
"ws": "^8.18.0",
|
|
35
|
-
"@platformatic/
|
|
36
|
-
"@platformatic/
|
|
35
|
+
"@platformatic/service": "3.11.0",
|
|
36
|
+
"@platformatic/gateway": "3.11.0"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=22.19.0"
|
package/schema.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"$id": "https://schemas.platformatic.dev/@platformatic/vite/3.
|
|
2
|
+
"$id": "https://schemas.platformatic.dev/@platformatic/vite/3.11.0.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"title": "Platformatic Vite Config",
|
|
5
5
|
"type": "object",
|
|
@@ -585,6 +585,30 @@
|
|
|
585
585
|
"nodeOptions": {
|
|
586
586
|
"type": "string"
|
|
587
587
|
},
|
|
588
|
+
"permissions": {
|
|
589
|
+
"type": "object",
|
|
590
|
+
"properties": {
|
|
591
|
+
"fs": {
|
|
592
|
+
"type": "object",
|
|
593
|
+
"properties": {
|
|
594
|
+
"read": {
|
|
595
|
+
"type": "array",
|
|
596
|
+
"items": {
|
|
597
|
+
"type": "string"
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
"write": {
|
|
601
|
+
"type": "array",
|
|
602
|
+
"items": {
|
|
603
|
+
"type": "string"
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
},
|
|
607
|
+
"additionalProperties": false
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
"additionalProperties": false
|
|
611
|
+
},
|
|
588
612
|
"telemetry": {
|
|
589
613
|
"type": "object",
|
|
590
614
|
"properties": {
|
|
@@ -1395,6 +1419,17 @@
|
|
|
1395
1419
|
}
|
|
1396
1420
|
]
|
|
1397
1421
|
}
|
|
1422
|
+
},
|
|
1423
|
+
"timeout": {
|
|
1424
|
+
"anyOf": [
|
|
1425
|
+
{
|
|
1426
|
+
"type": "integer"
|
|
1427
|
+
},
|
|
1428
|
+
{
|
|
1429
|
+
"type": "string"
|
|
1430
|
+
}
|
|
1431
|
+
],
|
|
1432
|
+
"default": 10000
|
|
1398
1433
|
}
|
|
1399
1434
|
},
|
|
1400
1435
|
"additionalProperties": false
|
|
@@ -1542,6 +1577,10 @@
|
|
|
1542
1577
|
"type": "number",
|
|
1543
1578
|
"minimum": 1
|
|
1544
1579
|
},
|
|
1580
|
+
"maxTotalMemory": {
|
|
1581
|
+
"type": "number",
|
|
1582
|
+
"minimum": 0
|
|
1583
|
+
},
|
|
1545
1584
|
"minWorkers": {
|
|
1546
1585
|
"type": "number",
|
|
1547
1586
|
"minimum": 1
|
|
@@ -1560,12 +1599,11 @@
|
|
|
1560
1599
|
"minimum": 0,
|
|
1561
1600
|
"maximum": 1
|
|
1562
1601
|
},
|
|
1563
|
-
"
|
|
1602
|
+
"timeWindowSec": {
|
|
1564
1603
|
"type": "number",
|
|
1565
|
-
"minimum": 0
|
|
1566
|
-
"maximum": 1
|
|
1604
|
+
"minimum": 0
|
|
1567
1605
|
},
|
|
1568
|
-
"
|
|
1606
|
+
"scaleDownTimeWindowSec": {
|
|
1569
1607
|
"type": "number",
|
|
1570
1608
|
"minimum": 0
|
|
1571
1609
|
},
|
|
@@ -1576,6 +1614,10 @@
|
|
|
1576
1614
|
"scaleIntervalSec": {
|
|
1577
1615
|
"type": "number",
|
|
1578
1616
|
"minimum": 0
|
|
1617
|
+
},
|
|
1618
|
+
"gracePeriod": {
|
|
1619
|
+
"type": "number",
|
|
1620
|
+
"minimum": 0
|
|
1579
1621
|
}
|
|
1580
1622
|
},
|
|
1581
1623
|
"additionalProperties": false
|