@platformatic/vite 2.70.0 → 2.70.1

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
@@ -401,6 +401,7 @@ export interface PlatformaticViteStackable {
401
401
  [k: string]: unknown;
402
402
  };
403
403
  serviceTimeout?: number | string;
404
+ messagingTimeout?: number | string;
404
405
  env?: {
405
406
  [k: string]: string;
406
407
  };
package/index.js CHANGED
@@ -143,7 +143,7 @@ export class ViteStackable extends BaseStackable {
143
143
  url: this.url,
144
144
  prefix: this.basePath ?? config?.base ?? this.#basePath,
145
145
  wantsAbsoluteUrls: true,
146
- needsRootRedirect: true
146
+ needsRootTrailingSlash: true
147
147
  }
148
148
 
149
149
  return { composer }
@@ -393,7 +393,7 @@ export class ViteSSRStackable extends NodeStackable {
393
393
  url: this.url,
394
394
  prefix: this.basePath ?? applicationBasePath ?? this.#basePath,
395
395
  wantsAbsoluteUrls: true,
396
- needsRootRedirect: true
396
+ needsRootTrailingSlash: true
397
397
  }
398
398
 
399
399
  return { composer }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/vite",
3
- "version": "2.70.0",
3
+ "version": "2.70.1",
4
4
  "description": "Platformatic Vite Stackable",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -18,10 +18,10 @@
18
18
  "@fastify/static": "^8.0.0",
19
19
  "fastify": "^5.0.0",
20
20
  "semver": "^7.6.3",
21
- "@platformatic/basic": "2.70.0",
22
- "@platformatic/node": "2.70.0",
23
- "@platformatic/utils": "2.70.0",
24
- "@platformatic/config": "2.70.0"
21
+ "@platformatic/basic": "2.70.1",
22
+ "@platformatic/node": "2.70.1",
23
+ "@platformatic/utils": "2.70.1",
24
+ "@platformatic/config": "2.70.1"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@fastify/vite": "^7.0.1",
@@ -29,13 +29,13 @@
29
29
  "eslint": "9",
30
30
  "json-schema-to-typescript": "^15.0.1",
31
31
  "neostandard": "^0.12.0",
32
- "react": "^18.3.1",
33
- "react-dom": "^18.3.1",
32
+ "react": "^19.1.0",
33
+ "react-dom": "^19.1.0",
34
34
  "typescript": "^5.5.4",
35
35
  "vite": "^5.4.0",
36
36
  "ws": "^8.18.0",
37
- "@platformatic/composer": "2.70.0",
38
- "@platformatic/service": "2.70.0"
37
+ "@platformatic/composer": "2.70.1",
38
+ "@platformatic/service": "2.70.1"
39
39
  },
40
40
  "scripts": {
41
41
  "test": "npm run lint && borp --concurrency=1 --no-timeout",
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/vite/2.70.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/vite/2.70.1.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic Vite Stackable",
5
5
  "type": "object",
@@ -1292,6 +1292,18 @@
1292
1292
  ],
1293
1293
  "default": 300000
1294
1294
  },
1295
+ "messagingTimeout": {
1296
+ "anyOf": [
1297
+ {
1298
+ "type": "number",
1299
+ "minimum": 1
1300
+ },
1301
+ {
1302
+ "type": "string"
1303
+ }
1304
+ ],
1305
+ "default": 30000
1306
+ },
1295
1307
  "env": {
1296
1308
  "type": "object",
1297
1309
  "additionalProperties": {