@storybook/experimental-nextjs-vite 0.0.0-pr-29044-sha-ad08bfc3 → 0.0.0-pr-29044-sha-67f91ec6
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/index.d.ts +5 -0
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import vitePluginStorybookNextJs from 'vite-plugin-storybook-nextjs';
|
|
1
2
|
import { StorybookConfig as StorybookConfig$1, CompatibleString, NamedOrDefaultProjectAnnotations, NormalizedProjectAnnotations, Args, StoryAnnotationsOrFn, ProjectAnnotations, ComposedStoryFn, Store_CSFExports, StoriesWithPartialProps } from 'storybook/internal/types';
|
|
2
3
|
import { BuilderOptions, StorybookConfigVite } from '@storybook/builder-vite';
|
|
3
4
|
import { ReactRenderer, Meta } from '@storybook/react';
|
|
@@ -102,4 +103,8 @@ declare function composeStory<TArgs extends Args = Args>(story: StoryAnnotations
|
|
|
102
103
|
*/
|
|
103
104
|
declare function composeStories<TModule extends Store_CSFExports<ReactRenderer, any>>(csfExports: TModule, projectAnnotations?: ProjectAnnotations<ReactRenderer>): Omit<StoriesWithPartialProps<ReactRenderer, TModule>, keyof Store_CSFExports>;
|
|
104
105
|
|
|
106
|
+
declare module '@storybook/experimental-nextjs-vite/vite-plugin' {
|
|
107
|
+
const storybookNextJsPlugin: typeof vitePluginStorybookNextJs;
|
|
108
|
+
}
|
|
109
|
+
|
|
105
110
|
export { FrameworkOptions, StorybookConfig, composeStories, composeStory, setProjectAnnotations };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/experimental-nextjs-vite",
|
|
3
|
-
"version": "0.0.0-pr-29044-sha-
|
|
3
|
+
"version": "0.0.0-pr-29044-sha-67f91ec6",
|
|
4
4
|
"description": "Storybook for Next.js and Vite",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
},
|
|
56
56
|
"./vite-plugin": {
|
|
57
57
|
"types": "./dist/vite-plugin/index.d.ts",
|
|
58
|
-
"import": "./dist/vite-plugin/index.
|
|
59
|
-
"require": "./dist/vite-plugin/index.
|
|
58
|
+
"import": "./dist/vite-plugin/index.mjs",
|
|
59
|
+
"require": "./dist/vite-plugin/index.js"
|
|
60
60
|
},
|
|
61
61
|
"./package.json": "./package.json"
|
|
62
62
|
},
|
|
@@ -95,9 +95,9 @@
|
|
|
95
95
|
"prep": "jiti ../../../scripts/prepare/bundle.ts"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@storybook/builder-vite": "0.0.0-pr-29044-sha-
|
|
99
|
-
"@storybook/react": "0.0.0-pr-29044-sha-
|
|
100
|
-
"@storybook/test": "0.0.0-pr-29044-sha-
|
|
98
|
+
"@storybook/builder-vite": "0.0.0-pr-29044-sha-67f91ec6",
|
|
99
|
+
"@storybook/react": "0.0.0-pr-29044-sha-67f91ec6",
|
|
100
|
+
"@storybook/test": "0.0.0-pr-29044-sha-67f91ec6",
|
|
101
101
|
"styled-jsx": "5.1.6",
|
|
102
102
|
"vite-plugin-storybook-nextjs": "^1.0.10"
|
|
103
103
|
},
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"next": "^14.1.0",
|
|
111
111
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
|
|
112
112
|
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
|
|
113
|
-
"storybook": "^0.0.0-pr-29044-sha-
|
|
113
|
+
"storybook": "^0.0.0-pr-29044-sha-67f91ec6",
|
|
114
114
|
"vite": "^5.0.0"
|
|
115
115
|
},
|
|
116
116
|
"peerDependenciesMeta": {
|