@storybook/nextjs-vite 10.0.0-beta.6 → 10.0.0-beta.8

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/preview.d.ts CHANGED
@@ -1,3 +1,19 @@
1
- // auto generated file from file:///home/runner/work/storybook/storybook/scripts/build/utils/generate-type-mappers.ts, do not edit
2
- export * from '../src/preview.tsx';
3
- export type * from '../src/preview.tsx';
1
+ import { Addon_DecoratorFunction, LoaderFunction } from 'storybook/internal/types';
2
+ import { ReactRenderer } from '@storybook/react';
3
+
4
+ declare const decorators: Addon_DecoratorFunction<ReactRenderer>[];
5
+ declare const loaders: LoaderFunction<ReactRenderer>;
6
+ declare const parameters: {
7
+ docs: {
8
+ source: {
9
+ excludeDecorators: boolean;
10
+ };
11
+ };
12
+ react: {
13
+ rootOptions: {
14
+ onCaughtError(error: unknown): void;
15
+ };
16
+ };
17
+ };
18
+
19
+ export { decorators, loaders, parameters };
package/dist/preview.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  decorators,
3
3
  loaders,
4
4
  parameters
5
- } from "./_browser-chunks/chunk-2RWWBM6A.js";
5
+ } from "./_browser-chunks/chunk-I34DATQB.js";
6
6
  import "./_browser-chunks/chunk-L5NVL7MD.js";
7
7
  export {
8
8
  decorators,
@@ -1,15 +1,15 @@
1
- import CJS_COMPAT_NODE_URL_7osz6t897hk from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_7osz6t897hk from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_7osz6t897hk from "node:module";
1
+ import CJS_COMPAT_NODE_URL_o0r80imq63 from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_o0r80imq63 from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_o0r80imq63 from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_7osz6t897hk.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_7osz6t897hk.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_7osz6t897hk.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_o0r80imq63.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_o0r80imq63.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_o0r80imq63.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
11
11
  // ------------------------------------------------------------
12
- import "../_node-chunks/chunk-ZULHTNIU.js";
12
+ import "../_node-chunks/chunk-BLUKXR72.js";
13
13
 
14
14
  // src/vite-plugin/index.ts
15
15
  import { createRequire } from "node:module";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/nextjs-vite",
3
- "version": "10.0.0-beta.6",
3
+ "version": "10.0.0-beta.8",
4
4
  "description": "Storybook for Next.js and Vite: Develop, document, and test UI components in isolation",
5
5
  "keywords": [
6
6
  "storybook",
@@ -35,6 +35,7 @@
35
35
  "types": "./dist/export-mocks/cache/index.d.ts",
36
36
  "default": "./dist/export-mocks/cache/index.js"
37
37
  },
38
+ "./config/preview": "./dist/config/preview.js",
38
39
  "./headers.mock": {
39
40
  "types": "./dist/export-mocks/headers/index.d.ts",
40
41
  "default": "./dist/export-mocks/headers/index.js"
@@ -78,9 +79,9 @@
78
79
  "prep": "jiti ../../../scripts/build/build-package.ts"
79
80
  },
80
81
  "dependencies": {
81
- "@storybook/builder-vite": "10.0.0-beta.6",
82
- "@storybook/react": "10.0.0-beta.6",
83
- "@storybook/react-vite": "10.0.0-beta.6",
82
+ "@storybook/builder-vite": "10.0.0-beta.8",
83
+ "@storybook/react": "10.0.0-beta.8",
84
+ "@storybook/react-vite": "10.0.0-beta.8",
84
85
  "styled-jsx": "5.1.6",
85
86
  "vite-plugin-storybook-nextjs": "^2.0.7"
86
87
  },
@@ -88,13 +89,14 @@
88
89
  "@types/node": "^22.0.0",
89
90
  "next": "^15.2.3",
90
91
  "postcss-load-config": "^6.0.1",
92
+ "semver": "^7.3.5",
91
93
  "typescript": "^5.8.3"
92
94
  },
93
95
  "peerDependencies": {
94
96
  "next": "^14.1.0 || ^15.0.0",
95
97
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
96
98
  "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
97
- "storybook": "^10.0.0-beta.6",
99
+ "storybook": "^10.0.0-beta.8",
98
100
  "vite": "^5.0.0 || ^6.0.0 || ^7.0.0"
99
101
  },
100
102
  "peerDependenciesMeta": {
@@ -1,19 +0,0 @@
1
- import { Addon_DecoratorFunction, LoaderFunction } from 'storybook/internal/types';
2
- import { ReactRenderer } from '@storybook/react';
3
-
4
- declare const decorators: Addon_DecoratorFunction<ReactRenderer>[];
5
- declare const loaders: LoaderFunction<ReactRenderer>;
6
- declare const parameters: {
7
- docs: {
8
- source: {
9
- excludeDecorators: boolean;
10
- };
11
- };
12
- react: {
13
- rootOptions: {
14
- onCaughtError(error: unknown): void;
15
- };
16
- };
17
- };
18
-
19
- export { decorators, loaders, parameters };