@storybook/react-vite 7.0.0-rc.7 → 7.0.0-rc.9

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
@@ -1,4 +1,4 @@
1
- export { F as FrameworkOptions, S as StorybookConfig } from './types-09348a9c.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './types-11a9265c.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
package/dist/preset.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PresetProperty, S as StorybookConfig } from './types-09348a9c.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './types-11a9265c.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
@@ -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.7",
3
+ "version": "7.0.0-rc.9",
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.7",
54
- "@storybook/react": "7.0.0-rc.7",
53
+ "@storybook/builder-vite": "7.0.0-rc.9",
54
+ "@storybook/react": "7.0.0-rc.9",
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": "908868e02f55605ad5ebe4299c2d5432fb41e1b8"
83
+ "gitHead": "618743e115ad0f172537a4b7b6cdfb0beaef52b5"
84
84
  }