@storybook/preact-vite 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.
@@ -796,7 +796,7 @@ 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
801
  * @soonDeprecated Use {@link index} instead
802
802
  */
@@ -804,7 +804,7 @@ type Indexer = BaseIndexer & {
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
810
  * @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-43fd2c7a.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './index-10222afa.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-10222afa.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.1",
3
+ "version": "7.5.0-alpha.3",
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.1",
52
- "@storybook/preact": "7.5.0-alpha.1"
51
+ "@storybook/builder-vite": "7.5.0-alpha.3",
52
+ "@storybook/preact": "7.5.0-alpha.3"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^16.0.0",