@platformatic/vite 3.11.0 → 3.12.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
@@ -446,6 +446,15 @@ export interface PlatformaticViteConfig {
446
446
  maxRetries?: number;
447
447
  [k: string]: unknown;
448
448
  }[];
449
+ policies?: {
450
+ deny: {
451
+ /**
452
+ * This interface was referenced by `undefined`'s JSON-Schema definition
453
+ * via the `patternProperty` "^.*$".
454
+ */
455
+ [k: string]: string | [string, ...string[]];
456
+ };
457
+ };
449
458
  };
450
459
  vite?: {
451
460
  configFile?: string | boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/vite",
3
- "version": "3.11.0",
3
+ "version": "3.12.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.11.0",
22
- "@platformatic/node": "3.11.0",
23
- "@platformatic/foundation": "3.11.0"
21
+ "@platformatic/basic": "3.12.0",
22
+ "@platformatic/foundation": "3.12.0",
23
+ "@platformatic/node": "3.12.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/service": "3.11.0",
36
- "@platformatic/gateway": "3.11.0"
35
+ "@platformatic/gateway": "3.12.0",
36
+ "@platformatic/service": "3.12.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.11.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/vite/3.12.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Vite Config",
5
5
  "type": "object",
@@ -1738,6 +1738,34 @@
1738
1738
  "callbackUrl"
1739
1739
  ]
1740
1740
  }
1741
+ },
1742
+ "policies": {
1743
+ "type": "object",
1744
+ "properties": {
1745
+ "deny": {
1746
+ "type": "object",
1747
+ "patternProperties": {
1748
+ "^.*$": {
1749
+ "oneOf": [
1750
+ {
1751
+ "type": "string"
1752
+ },
1753
+ {
1754
+ "type": "array",
1755
+ "items": {
1756
+ "type": "string"
1757
+ },
1758
+ "minItems": 1
1759
+ }
1760
+ ]
1761
+ }
1762
+ }
1763
+ }
1764
+ },
1765
+ "required": [
1766
+ "deny"
1767
+ ],
1768
+ "additionalProperties": false
1741
1769
  }
1742
1770
  },
1743
1771
  "additionalProperties": false