@storybook/tanstack-react 0.0.0-pr-35247-sha-6ff37d74 → 0.0.0-pr-35555-sha-4e3f2ca7
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.
|
@@ -72,7 +72,12 @@ function cloneChild(oldRoute, parent, overrides, byId) {
|
|
|
72
72
|
}
|
|
73
73
|
function duplicateRouteTree(rootRoute, { overrides } = {}) {
|
|
74
74
|
initSourceTree(rootRoute, { i: 0 });
|
|
75
|
-
let byId = /* @__PURE__ */ new Map(), rootOptions = rootRoute.options ?? {}, rootOverride = getOverrideFor(overrides, "__root__"), {
|
|
75
|
+
let byId = /* @__PURE__ */ new Map(), rootOptions = rootRoute.options ?? {}, rootOverride = getOverrideFor(overrides, "__root__"), {
|
|
76
|
+
id: _rootId,
|
|
77
|
+
getParentRoute: _rootGetParent,
|
|
78
|
+
shellComponent: _rootShell,
|
|
79
|
+
...restRoot
|
|
80
|
+
} = rootOptions, newRoot = createRootRouteWithContext()({
|
|
76
81
|
...restRoot,
|
|
77
82
|
...rootOverride
|
|
78
83
|
});
|
package/dist/index.js
CHANGED
package/dist/node/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { r as StorybookConfig } from "../chunk-B2-fTWlC.js";
|
|
2
|
-
import { experimental_VitePluginUserOptions, experimental_vitePlugin } from "@storybook/builder-vite";
|
|
3
2
|
|
|
4
3
|
//#region code/frameworks/tanstack-react/.dts-emit/code/frameworks/tanstack-react/src/node/index.d.ts
|
|
5
4
|
declare function defineMain(config: StorybookConfig): StorybookConfig;
|
|
6
5
|
//#endregion
|
|
7
|
-
export { type StorybookConfig, defineMain
|
|
6
|
+
export { type StorybookConfig, defineMain };
|
package/dist/node/index.js
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_je083scocwo from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_je083scocwo from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_je083scocwo from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_je083scocwo.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_je083scocwo.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_je083scocwo.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
|
11
11
|
// ------------------------------------------------------------
|
|
12
12
|
|
|
13
13
|
// src/node/index.ts
|
|
14
|
-
import { experimental_vitePlugin } from "@storybook/builder-vite";
|
|
15
14
|
function defineMain(config) {
|
|
16
15
|
return config;
|
|
17
16
|
}
|
|
18
17
|
export {
|
|
19
|
-
defineMain
|
|
20
|
-
experimental_vitePlugin
|
|
18
|
+
defineMain
|
|
21
19
|
};
|
package/dist/preset.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
import CJS_COMPAT_NODE_URL_je083scocwo from 'node:url';
|
|
2
|
+
import CJS_COMPAT_NODE_PATH_je083scocwo from 'node:path';
|
|
3
|
+
import CJS_COMPAT_NODE_MODULE_je083scocwo from "node:module";
|
|
4
4
|
|
|
5
|
-
var __filename =
|
|
6
|
-
var __dirname =
|
|
7
|
-
var require =
|
|
5
|
+
var __filename = CJS_COMPAT_NODE_URL_je083scocwo.fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = CJS_COMPAT_NODE_PATH_je083scocwo.dirname(__filename);
|
|
7
|
+
var require = CJS_COMPAT_NODE_MODULE_je083scocwo.createRequire(import.meta.url);
|
|
8
8
|
|
|
9
9
|
// ------------------------------------------------------------
|
|
10
10
|
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
|
package/dist/preview.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/tanstack-react",
|
|
3
|
-
"version": "0.0.0-pr-
|
|
3
|
+
"version": "0.0.0-pr-35555-sha-4e3f2ca7",
|
|
4
4
|
"description": "Storybook for TanStack (React, Vite): Router and Start ready Storybook framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"!src/**/*"
|
|
76
76
|
],
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@storybook/builder-vite": "0.0.0-pr-
|
|
79
|
-
"@storybook/react": "0.0.0-pr-
|
|
80
|
-
"@storybook/react-vite": "0.0.0-pr-
|
|
78
|
+
"@storybook/builder-vite": "0.0.0-pr-35555-sha-4e3f2ca7",
|
|
79
|
+
"@storybook/react": "0.0.0-pr-35555-sha-4e3f2ca7",
|
|
80
|
+
"@storybook/react-vite": "0.0.0-pr-35555-sha-4e3f2ca7"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
83
|
"@tanstack/react-router": "^1.168.10",
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"@tanstack/start-client-core": "^1.167.9",
|
|
96
96
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
97
97
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
98
|
-
"storybook": "^0.0.0-pr-
|
|
98
|
+
"storybook": "^0.0.0-pr-35555-sha-4e3f2ca7",
|
|
99
99
|
"vite": "^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"
|
|
100
100
|
},
|
|
101
101
|
"peerDependenciesMeta": {
|