@void/react 1.12.0 → 1.12.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/dist/plugin.d.mts CHANGED
@@ -5,5 +5,6 @@ export type VoidReactOptions = Readonly<{
5
5
  react?: Parameters<typeof react>[0];
6
6
  viewTransitions?: boolean;
7
7
  prefetch?: PrefetchConfig;
8
+ deployRecovery?: boolean;
8
9
  }>;
9
10
  export declare function voidReact(options?: VoidReactOptions): Array<Plugin>;
package/dist/plugin.mjs CHANGED
@@ -69,6 +69,7 @@ function pagesPlugin(pagesDir, options) {
69
69
  return createPagesPlugin(pagesDir, {
70
70
  name: "void-react:pages",
71
71
  root,
72
+ deployRecovery: options?.deployRecovery,
72
73
  generateRenderer(scan, isDev) {
73
74
  return generateRendererModule(scan, pagesDir, isDev);
74
75
  },
@@ -387,9 +388,8 @@ function voidReact(options) {
387
388
  return [
388
389
  ...react(options?.react),
389
390
  pagesPlugin(pagesDir, {
390
- root,
391
- viewTransitions: options?.viewTransitions,
392
- prefetch: options?.prefetch
391
+ ...options,
392
+ root
393
393
  }),
394
394
  ...islandsPlugin(pagesDir, { root })
395
395
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@void/react",
3
- "version": "1.12.0",
3
+ "version": "1.12.1",
4
4
  "description": "React pages, server rendering, forms, and navigation for Void.",
5
5
  "homepage": "https://void.cloud",
6
6
  "bugs": {
@@ -50,13 +50,13 @@
50
50
  "react-dom": "^19.3.1",
51
51
  "vite": "npm:@voidzero-dev/vite-plus-core@8.3.8001",
52
52
  "vite-plus": "1.8.0",
53
- "void": "1.12.0"
53
+ "void": "1.12.1"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "react": "^19.0.0",
57
57
  "react-dom": "^19.0.0",
58
58
  "vite": "^8.0.0",
59
- "void": "1.12.0"
59
+ "void": "1.12.1"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "vp pack",