@storybook/react-vite 7.5.0-alpha.1 → 7.5.0-alpha.3

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.
@@ -797,7 +797,7 @@ type Indexer = BaseIndexer & {
797
797
  * @param options {@link IndexerOptions} for indexing the file.
798
798
  * @returns A promise that resolves to an array of {@link IndexInput} objects.
799
799
  */
800
- index: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
800
+ createIndex: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
801
801
  /**
802
802
  * @soonDeprecated Use {@link index} instead
803
803
  */
@@ -805,7 +805,7 @@ type Indexer = BaseIndexer & {
805
805
  };
806
806
  type DeprecatedIndexer = BaseIndexer & {
807
807
  indexer: (fileName: string, options: IndexerOptions) => Promise<IndexedCSFFile>;
808
- index?: never;
808
+ createIndex?: never;
809
809
  };
810
810
  /**
811
811
  * @soonDeprecated Use {@link Indexer} instead
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { F as FrameworkOptions, S as StorybookConfig } from './index-ad3faad0.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './index-f18f1b64.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 './index-ad3faad0.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './index-f18f1b64.js';
2
2
  import 'file-system-cache';
3
3
  import '@babel/core';
4
4
  import 'http';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-vite",
3
- "version": "7.5.0-alpha.1",
3
+ "version": "7.5.0-alpha.3",
4
4
  "description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -49,8 +49,8 @@
49
49
  "dependencies": {
50
50
  "@joshwooding/vite-plugin-react-docgen-typescript": "0.2.1",
51
51
  "@rollup/pluginutils": "^5.0.2",
52
- "@storybook/builder-vite": "7.5.0-alpha.1",
53
- "@storybook/react": "7.5.0-alpha.1",
52
+ "@storybook/builder-vite": "7.5.0-alpha.3",
53
+ "@storybook/react": "7.5.0-alpha.3",
54
54
  "@vitejs/plugin-react": "^3.0.1",
55
55
  "ast-types": "^0.14.2",
56
56
  "magic-string": "^0.30.0",