@storybook/react-vite 7.5.0-alpha.2 → 7.5.0-alpha.4

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,18 +797,18 @@ 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
- * @soonDeprecated Use {@link index} instead
802
+ * @deprecated Use {@link index} instead
803
803
  */
804
804
  indexer?: never;
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
- * @soonDeprecated Use {@link Indexer} instead
811
+ * @deprecated Use {@link Indexer} instead
812
812
  */
813
813
  type StoryIndexer = Indexer | DeprecatedIndexer;
814
814
  /**
@@ -1116,7 +1116,7 @@ interface StorybookConfig$1 {
1116
1116
  previewAnnotations?: PresetValue<Entry[]>;
1117
1117
  /**
1118
1118
  * Process CSF files for the story index.
1119
- * @soonDeprecated use {@link experimental_indexers} instead
1119
+ * @deprecated use {@link experimental_indexers} instead
1120
1120
  */
1121
1121
  storyIndexers?: PresetValue<StoryIndexer[]>;
1122
1122
  /**
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-d68076ba.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-d68076ba.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.2",
3
+ "version": "7.5.0-alpha.4",
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.2",
53
- "@storybook/react": "7.5.0-alpha.2",
52
+ "@storybook/builder-vite": "7.5.0-alpha.4",
53
+ "@storybook/react": "7.5.0-alpha.4",
54
54
  "@vitejs/plugin-react": "^3.0.1",
55
55
  "ast-types": "^0.14.2",
56
56
  "magic-string": "^0.30.0",