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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/dist/preset.d.ts +2 -2
  2. package/package.json +4 -4
package/dist/preset.d.ts CHANGED
@@ -798,7 +798,7 @@ type Indexer = BaseIndexer & {
798
798
  * @param options {@link IndexerOptions} for indexing the file.
799
799
  * @returns A promise that resolves to an array of {@link IndexInput} objects.
800
800
  */
801
- index: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
801
+ createIndex: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
802
802
  /**
803
803
  * @soonDeprecated Use {@link index} instead
804
804
  */
@@ -806,7 +806,7 @@ type Indexer = BaseIndexer & {
806
806
  };
807
807
  type DeprecatedIndexer = BaseIndexer & {
808
808
  indexer: (fileName: string, options: IndexerOptions) => Promise<IndexedCSFFile>;
809
- index?: never;
809
+ createIndex?: never;
810
810
  };
811
811
  /**
812
812
  * @soonDeprecated Use {@link Indexer} instead
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/react-webpack5",
3
- "version": "7.5.0-alpha.1",
3
+ "version": "7.5.0-alpha.3",
4
4
  "description": "Storybook for React: Develop React Component in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -47,9 +47,9 @@
47
47
  "prep": "../../../scripts/prepare/bundle.ts"
48
48
  },
49
49
  "dependencies": {
50
- "@storybook/builder-webpack5": "7.5.0-alpha.1",
51
- "@storybook/preset-react-webpack": "7.5.0-alpha.1",
52
- "@storybook/react": "7.5.0-alpha.1",
50
+ "@storybook/builder-webpack5": "7.5.0-alpha.3",
51
+ "@storybook/preset-react-webpack": "7.5.0-alpha.3",
52
+ "@storybook/react": "7.5.0-alpha.3",
53
53
  "@types/node": "^16.0.0"
54
54
  },
55
55
  "devDependencies": {