@storybook/builder-webpack5 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.
@@ -796,18 +796,18 @@ type Indexer = BaseIndexer & {
796
796
  * @param options {@link IndexerOptions} for indexing the file.
797
797
  * @returns A promise that resolves to an array of {@link IndexInput} objects.
798
798
  */
799
- index: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
799
+ createIndex: (fileName: string, options: IndexerOptions) => Promise<IndexInput[]>;
800
800
  /**
801
- * @soonDeprecated Use {@link index} instead
801
+ * @deprecated Use {@link index} instead
802
802
  */
803
803
  indexer?: never;
804
804
  };
805
805
  type DeprecatedIndexer = BaseIndexer & {
806
806
  indexer: (fileName: string, options: IndexerOptions) => Promise<IndexedCSFFile>;
807
- index?: never;
807
+ createIndex?: never;
808
808
  };
809
809
  /**
810
- * @soonDeprecated Use {@link Indexer} instead
810
+ * @deprecated Use {@link Indexer} instead
811
811
  */
812
812
  type StoryIndexer = Indexer | DeprecatedIndexer;
813
813
  /**
@@ -1142,7 +1142,7 @@ interface StorybookConfig {
1142
1142
  previewAnnotations?: PresetValue<Entry[]>;
1143
1143
  /**
1144
1144
  * Process CSF files for the story index.
1145
- * @soonDeprecated use {@link experimental_indexers} instead
1145
+ * @deprecated use {@link experimental_indexers} instead
1146
1146
  */
1147
1147
  storyIndexers?: PresetValue<StoryIndexer[]>;
1148
1148
  /**
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import webpack__default, { Configuration, Stats } from 'webpack';
2
- import { O as Options$1, B as Builder } from './index.d-5318040d.js';
2
+ import { O as Options$1, B as Builder } from './index.d-c6899669.js';
3
3
  import { StorybookConfig, Options, BuilderResult as BuilderResult$1 } from '@storybook/core-webpack';
4
4
  import ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin';
5
5
  import 'file-system-cache';
@@ -1,6 +1,6 @@
1
1
  import * as webpack$1 from 'webpack';
2
2
  import { Configuration } from 'webpack';
3
- import { O as Options } from '../index.d-5318040d.js';
3
+ import { O as Options } from '../index.d-c6899669.js';
4
4
  import 'file-system-cache';
5
5
  import '@babel/core';
6
6
  import 'express';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/builder-webpack5",
3
- "version": "7.5.0-alpha.2",
3
+ "version": "7.5.0-alpha.4",
4
4
  "description": "Storybook framework-agnostic API",
5
5
  "keywords": [
6
6
  "storybook"
@@ -57,15 +57,15 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@babel/core": "^7.22.0",
60
- "@storybook/channels": "7.5.0-alpha.2",
61
- "@storybook/client-logger": "7.5.0-alpha.2",
62
- "@storybook/core-common": "7.5.0-alpha.2",
63
- "@storybook/core-events": "7.5.0-alpha.2",
64
- "@storybook/core-webpack": "7.5.0-alpha.2",
65
- "@storybook/node-logger": "7.5.0-alpha.2",
66
- "@storybook/preview": "7.5.0-alpha.2",
67
- "@storybook/preview-api": "7.5.0-alpha.2",
68
- "@swc/core": "^1.3.49",
60
+ "@storybook/channels": "7.5.0-alpha.4",
61
+ "@storybook/client-logger": "7.5.0-alpha.4",
62
+ "@storybook/core-common": "7.5.0-alpha.4",
63
+ "@storybook/core-events": "7.5.0-alpha.4",
64
+ "@storybook/core-webpack": "7.5.0-alpha.4",
65
+ "@storybook/node-logger": "7.5.0-alpha.4",
66
+ "@storybook/preview": "7.5.0-alpha.4",
67
+ "@storybook/preview-api": "7.5.0-alpha.4",
68
+ "@swc/core": "^1.3.82",
69
69
  "@types/node": "^16.0.0",
70
70
  "@types/semver": "^7.3.4",
71
71
  "babel-loader": "^9.0.0",