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

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
  /**
@@ -1115,7 +1115,7 @@ interface StorybookConfig$1 {
1115
1115
  previewAnnotations?: PresetValue<Entry[]>;
1116
1116
  /**
1117
1117
  * Process CSF files for the story index.
1118
- * @soonDeprecated use {@link experimental_indexers} instead
1118
+ * @deprecated use {@link experimental_indexers} instead
1119
1119
  */
1120
1120
  storyIndexers?: PresetValue<StoryIndexer[]>;
1121
1121
  /**
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { F as FrameworkOptions, S as StorybookConfig } from './index-43fd2c7a.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './index-206df4f8.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-43fd2c7a.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './index-206df4f8.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/preact-vite",
3
- "version": "7.5.0-alpha.2",
3
+ "version": "7.5.0-alpha.4",
4
4
  "description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -48,8 +48,8 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@preact/preset-vite": "^2.0.0",
51
- "@storybook/builder-vite": "7.5.0-alpha.2",
52
- "@storybook/preact": "7.5.0-alpha.2"
51
+ "@storybook/builder-vite": "7.5.0-alpha.4",
52
+ "@storybook/preact": "7.5.0-alpha.4"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^16.0.0",