@platformatic/vite 3.10.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 CHANGED
@@ -405,12 +405,13 @@ export interface PlatformaticViteConfig {
405
405
  verticalScaler?: {
406
406
  enabled?: boolean;
407
407
  maxTotalWorkers?: number;
408
+ maxTotalMemory?: number;
408
409
  minWorkers?: number;
409
410
  maxWorkers?: number;
410
411
  scaleUpELU?: number;
411
412
  scaleDownELU?: number;
412
- minELUDiff?: number;
413
413
  timeWindowSec?: number;
414
+ scaleDownTimeWindowSec?: number;
414
415
  cooldownSec?: number;
415
416
  scaleIntervalSec?: number;
416
417
  gracePeriod?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/vite",
3
- "version": "3.10.0",
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.10.0",
22
- "@platformatic/node": "3.10.0",
23
- "@platformatic/foundation": "3.10.0"
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/gateway": "3.10.0",
36
- "@platformatic/service": "3.10.0"
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.10.0.json",
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",
@@ -1577,6 +1577,10 @@
1577
1577
  "type": "number",
1578
1578
  "minimum": 1
1579
1579
  },
1580
+ "maxTotalMemory": {
1581
+ "type": "number",
1582
+ "minimum": 0
1583
+ },
1580
1584
  "minWorkers": {
1581
1585
  "type": "number",
1582
1586
  "minimum": 1
@@ -1595,12 +1599,11 @@
1595
1599
  "minimum": 0,
1596
1600
  "maximum": 1
1597
1601
  },
1598
- "minELUDiff": {
1602
+ "timeWindowSec": {
1599
1603
  "type": "number",
1600
- "minimum": 0,
1601
- "maximum": 1
1604
+ "minimum": 0
1602
1605
  },
1603
- "timeWindowSec": {
1606
+ "scaleDownTimeWindowSec": {
1604
1607
  "type": "number",
1605
1608
  "minimum": 0
1606
1609
  },