@platformatic/react-router 3.49.0 → 3.50.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
@@ -122,6 +122,7 @@ export interface PlatformaticReactRouterConfig {
122
122
  entrypointPort?: number;
123
123
  changeDirectoryBeforeExecution?: boolean;
124
124
  preferLocalCommands?: boolean;
125
+ processSpawner?: string;
125
126
  };
126
127
  runtime?: {
127
128
  preload?: string | string[];
package/index.d.ts CHANGED
@@ -9,7 +9,11 @@ export interface ReactRouterContext extends BaseContext {}
9
9
 
10
10
  export type ReactRouterConfiguration = Configuration<PlatformaticReactRouterConfig>
11
11
 
12
- export declare function transform (config: ReactRouterConfiguration): Promise<ReactRouterConfiguration>
12
+ export declare function transform (
13
+ config: ReactRouterConfiguration,
14
+ schema?: object,
15
+ options?: ConfigurationOptions
16
+ ): Promise<ReactRouterConfiguration>
13
17
 
14
18
  export declare function loadConfiguration (
15
19
  root: string | PlatformaticReactRouterConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platformatic/react-router",
3
- "version": "3.49.0",
3
+ "version": "3.50.0",
4
4
  "description": "Platformatic React Router 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.7.0",
20
20
  "semver": "^7.6.3",
21
- "@platformatic/foundation": "3.49.0",
22
- "@platformatic/basic": "3.49.0",
23
- "@platformatic/vite": "3.49.0"
21
+ "@platformatic/basic": "3.50.0",
22
+ "@platformatic/vite": "3.50.0",
23
+ "@platformatic/foundation": "3.50.0"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@react-router/dev": "^7.10.0",
@@ -41,8 +41,8 @@
41
41
  "typescript": "^5.5.4",
42
42
  "vite": "^7.1.7",
43
43
  "ws": "^8.18.0",
44
- "@platformatic/service": "3.49.0",
45
- "@platformatic/gateway": "3.49.0"
44
+ "@platformatic/gateway": "3.50.0",
45
+ "@platformatic/service": "3.50.0"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=22.19.0"
package/schema.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$id": "https://schemas.platformatic.dev/@platformatic/react-router/3.49.0.json",
2
+ "$id": "https://schemas.platformatic.dev/@platformatic/react-router/3.50.0.json",
3
3
  "$schema": "http://json-schema.org/draft-07/schema#",
4
4
  "title": "Platformatic React Router Config",
5
5
  "type": "object",
@@ -393,6 +393,9 @@
393
393
  "preferLocalCommands": {
394
394
  "type": "boolean",
395
395
  "default": true
396
+ },
397
+ "processSpawner": {
398
+ "type": "string"
396
399
  }
397
400
  },
398
401
  "additionalProperties": false,