@storybook/tanstack-react 0.0.0-pr-34403-sha-53a142e3 → 0.0.0-pr-34403-sha-effaf693

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.
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_2tdt6g07j5u from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2tdt6g07j5u from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2tdt6g07j5u from "node:module";
1
+ import CJS_COMPAT_NODE_URL_oxmslr6vq0s from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_oxmslr6vq0s from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_oxmslr6vq0s from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2tdt6g07j5u.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2tdt6g07j5u.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2tdt6g07j5u.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_oxmslr6vq0s.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_oxmslr6vq0s.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_oxmslr6vq0s.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/dist/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_2tdt6g07j5u from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_2tdt6g07j5u from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_2tdt6g07j5u from "node:module";
1
+ import CJS_COMPAT_NODE_URL_oxmslr6vq0s from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_oxmslr6vq0s from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_oxmslr6vq0s from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_2tdt6g07j5u.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_2tdt6g07j5u.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_2tdt6g07j5u.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_oxmslr6vq0s.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_oxmslr6vq0s.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_oxmslr6vq0s.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
@@ -31,7 +31,7 @@ var INTERCEPTED_PATTERNS = ["virtual:cloudflare", "server-entry", "worker-entry"
31
31
  if (Array.isArray(p))
32
32
  return p.some(isTanStackStartPlugin);
33
33
  let pluginRecord = p;
34
- return typeof p == "object" && p !== null && "name" in pluginRecord && typeof pluginRecord.name == "string" && pluginRecord.name.startsWith("tanstack-start");
34
+ return typeof p == "object" && p !== null && "name" in pluginRecord && typeof pluginRecord.name == "string" && (pluginRecord.name.startsWith("tanstack-start") || pluginRecord.name.includes("rsc:"));
35
35
  }, stubPath = fileURLToPath(import.meta.resolve("./export-mocks/start.js")), routerMockPath = fileURLToPath(
36
36
  import.meta.resolve("@storybook/tanstack-react/react-router")
37
37
  ), plugins = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/tanstack-react",
3
- "version": "0.0.0-pr-34403-sha-53a142e3",
3
+ "version": "0.0.0-pr-34403-sha-effaf693",
4
4
  "description": "Storybook for TanStack (React, Vite): Router + Query ready Storybook framework",
5
5
  "keywords": [
6
6
  "storybook",
@@ -70,9 +70,9 @@
70
70
  "!src/**/*"
71
71
  ],
72
72
  "dependencies": {
73
- "@storybook/builder-vite": "0.0.0-pr-34403-sha-53a142e3",
74
- "@storybook/react": "0.0.0-pr-34403-sha-53a142e3",
75
- "@storybook/react-vite": "0.0.0-pr-34403-sha-53a142e3"
73
+ "@storybook/builder-vite": "0.0.0-pr-34403-sha-effaf693",
74
+ "@storybook/react": "0.0.0-pr-34403-sha-effaf693",
75
+ "@storybook/react-vite": "0.0.0-pr-34403-sha-effaf693"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@tanstack/react-router": "^1.168.10",
@@ -91,7 +91,7 @@
91
91
  "@tanstack/start-client-core": "^1.167.9",
92
92
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
93
93
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
94
- "storybook": "^0.0.0-pr-34403-sha-53a142e3",
94
+ "storybook": "^0.0.0-pr-34403-sha-effaf693",
95
95
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
96
96
  },
97
97
  "peerDependenciesMeta": {