@storybook/preact-vite 7.4.0-alpha.0 → 7.4.0-alpha.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -727,6 +727,19 @@ interface Parameters {
727
727
  [name: string]: any;
728
728
  }
729
729
 
730
+ interface Options$1 {
731
+ allowRegExp: boolean;
732
+ allowFunction: boolean;
733
+ allowSymbol: boolean;
734
+ allowDate: boolean;
735
+ allowUndefined: boolean;
736
+ allowClass: boolean;
737
+ allowError: boolean;
738
+ maxDepth: number;
739
+ space: number | undefined;
740
+ lazyEval: boolean;
741
+ }
742
+
730
743
  type ExportName = string;
731
744
  type MetaId = string;
732
745
  interface StoriesSpecifier {
@@ -839,19 +852,6 @@ type DocsIndexInput = BaseIndexInput & {
839
852
  storiesImports?: Path[];
840
853
  };
841
854
  type IndexInput = StoryIndexInput | DocsIndexInput;
842
- type Path = string;
843
-
844
- interface Options$1 {
845
- allowRegExp: boolean;
846
- allowFunction: boolean;
847
- allowSymbol: boolean;
848
- allowDate: boolean;
849
- allowUndefined: boolean;
850
- allowClass: boolean;
851
- maxDepth: number;
852
- space: number | undefined;
853
- lazyEval: boolean;
854
- }
855
855
 
856
856
  /**
857
857
  * ⚠️ This file contains internal WIP types they MUST NOT be exported outside this package for now!
@@ -1151,6 +1151,7 @@ interface StorybookConfig$1 {
1151
1151
  type PresetValue<T> = T | ((config: T, options: Options) => T | Promise<T>);
1152
1152
  type PresetProperty<K, TStorybookConfig = StorybookConfig$1> = TStorybookConfig[K extends keyof TStorybookConfig ? K : never] | PresetPropertyFn<K, TStorybookConfig>;
1153
1153
  type PresetPropertyFn<K, TStorybookConfig = StorybookConfig$1, TOptions = {}> = (config: TStorybookConfig[K extends keyof TStorybookConfig ? K : never], options: Options & TOptions) => TStorybookConfig[K extends keyof TStorybookConfig ? K : never] | Promise<TStorybookConfig[K extends keyof TStorybookConfig ? K : never]>;
1154
+ type Path = string;
1154
1155
 
1155
1156
  type FrameworkName = '@storybook/preact-vite';
1156
1157
  type BuilderName = '@storybook/builder-vite';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { F as FrameworkOptions, S as StorybookConfig } from './index-7d754f4e.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './index-43fd2c7a.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-7d754f4e.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './index-43fd2c7a.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.4.0-alpha.0",
3
+ "version": "7.4.0-alpha.1",
4
4
  "description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -39,7 +39,8 @@
39
39
  "types/**/*",
40
40
  "README.md",
41
41
  "*.js",
42
- "*.d.ts"
42
+ "*.d.ts",
43
+ "!src/**/*"
43
44
  ],
44
45
  "scripts": {
45
46
  "check": "../../../scripts/prepare/check.ts",
@@ -47,8 +48,8 @@
47
48
  },
48
49
  "dependencies": {
49
50
  "@preact/preset-vite": "^2.0.0",
50
- "@storybook/builder-vite": "7.4.0-alpha.0",
51
- "@storybook/preact": "7.4.0-alpha.0"
51
+ "@storybook/builder-vite": "7.4.0-alpha.1",
52
+ "@storybook/preact": "7.4.0-alpha.1"
52
53
  },
53
54
  "devDependencies": {
54
55
  "@types/node": "^16.0.0",