@storybook/preact-vite 7.6.0-alpha.6 → 7.6.0-alpha.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -2873,8 +2873,15 @@ interface TypescriptOptions {
2873
2873
  * Disable parsing typescript files through babel.
2874
2874
  *
2875
2875
  * @default `false`
2876
+ * @deprecated use `skipCompiler` instead
2876
2877
  */
2877
2878
  skipBabel: boolean;
2879
+ /**
2880
+ * Disable parsing typescript files through compiler.
2881
+ *
2882
+ * @default `false`
2883
+ */
2884
+ skipCompiler: boolean;
2878
2885
  }
2879
2886
  type Preset = string | {
2880
2887
  name: string;
@@ -2994,6 +3001,12 @@ interface StorybookConfig$1 {
2994
3001
  * Apply decorators from preview.js before decorators from addons or frameworks
2995
3002
  */
2996
3003
  legacyDecoratorFileOrder?: boolean;
3004
+ /**
3005
+ * Disallow implicit actions during rendering. This will be the default in Storybook 8.
3006
+ *
3007
+ * This will make sure that your story renders the same no matter if docgen is enabled or not.
3008
+ */
3009
+ disallowImplicitActionsInRenderV8?: boolean;
2997
3010
  };
2998
3011
  build?: TestBuildConfig;
2999
3012
  /**
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { F as FrameworkOptions, S as StorybookConfig } from './index-0bda3dc2.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './index-cd9b6938.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-0bda3dc2.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './index-cd9b6938.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.6.0-alpha.6",
3
+ "version": "7.6.0-alpha.7",
4
4
  "description": "Storybook for Preact and Vite: Develop Preact components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -43,13 +43,13 @@
43
43
  "!src/**/*"
44
44
  ],
45
45
  "scripts": {
46
- "check": "../../../scripts/prepare/check.ts",
47
- "prep": "../../../scripts/prepare/bundle.ts"
46
+ "check": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/check.ts",
47
+ "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
48
48
  },
49
49
  "dependencies": {
50
50
  "@preact/preset-vite": "^2.0.0",
51
- "@storybook/builder-vite": "7.6.0-alpha.6",
52
- "@storybook/preact": "7.6.0-alpha.6"
51
+ "@storybook/builder-vite": "7.6.0-alpha.7",
52
+ "@storybook/preact": "7.6.0-alpha.7"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/node": "^18.0.0",