@storybook/react-vite 7.0.0-rc.6 → 7.0.0-rc.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/index.d.ts
CHANGED
package/dist/preset.d.ts
CHANGED
|
@@ -886,7 +886,6 @@ interface BuilderOptions {
|
|
|
886
886
|
cache?: FileSystemCache;
|
|
887
887
|
configDir: string;
|
|
888
888
|
docsMode?: boolean;
|
|
889
|
-
env?: (envs: Record<string, string>) => Record<string, string>;
|
|
890
889
|
features?: StorybookConfig$1['features'];
|
|
891
890
|
versionCheck?: VersionCheck;
|
|
892
891
|
releaseNotesData?: ReleaseNotesData;
|
|
@@ -1028,6 +1027,10 @@ interface StorybookConfig$1 {
|
|
|
1028
1027
|
* Modify or return babel config.
|
|
1029
1028
|
*/
|
|
1030
1029
|
babel?: (config: TransformOptions, options: Options) => TransformOptions | Promise<TransformOptions>;
|
|
1030
|
+
/**
|
|
1031
|
+
* Modify or return env config.
|
|
1032
|
+
*/
|
|
1033
|
+
env?: PresetValue<Record<string, string>>;
|
|
1031
1034
|
/**
|
|
1032
1035
|
* Modify or return babel config.
|
|
1033
1036
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/react-vite",
|
|
3
|
-
"version": "7.0.0-rc.
|
|
3
|
+
"version": "7.0.0-rc.8",
|
|
4
4
|
"description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@joshwooding/vite-plugin-react-docgen-typescript": "^0.2.1",
|
|
52
52
|
"@rollup/pluginutils": "^4.2.0",
|
|
53
|
-
"@storybook/builder-vite": "7.0.0-rc.
|
|
54
|
-
"@storybook/react": "7.0.0-rc.
|
|
53
|
+
"@storybook/builder-vite": "7.0.0-rc.8",
|
|
54
|
+
"@storybook/react": "7.0.0-rc.8",
|
|
55
55
|
"@vitejs/plugin-react": "^3.0.1",
|
|
56
56
|
"ast-types": "^0.14.2",
|
|
57
57
|
"magic-string": "^0.27.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
],
|
|
81
81
|
"platform": "node"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "42cc9d76db87614261e067f49b0123db30365233"
|
|
84
84
|
}
|