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

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.
@@ -2874,8 +2874,15 @@ interface TypescriptOptions$1 {
2874
2874
  * Disable parsing typescript files through babel.
2875
2875
  *
2876
2876
  * @default `false`
2877
+ * @deprecated use `skipCompiler` instead
2877
2878
  */
2878
2879
  skipBabel: boolean;
2880
+ /**
2881
+ * Disable parsing typescript files through compiler.
2882
+ *
2883
+ * @default `false`
2884
+ */
2885
+ skipCompiler: boolean;
2879
2886
  }
2880
2887
  type Preset = string | {
2881
2888
  name: string;
@@ -2995,6 +3002,12 @@ interface StorybookConfig$1 {
2995
3002
  * Apply decorators from preview.js before decorators from addons or frameworks
2996
3003
  */
2997
3004
  legacyDecoratorFileOrder?: boolean;
3005
+ /**
3006
+ * Disallow implicit actions during rendering. This will be the default in Storybook 8.
3007
+ *
3008
+ * This will make sure that your story renders the same no matter if docgen is enabled or not.
3009
+ */
3010
+ disallowImplicitActionsInRenderV8?: boolean;
2998
3011
  };
2999
3012
  build?: TestBuildConfig;
3000
3013
  /**
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { F as FrameworkOptions, S as StorybookConfig } from './index-ac2e8f2f.js';
1
+ export { F as FrameworkOptions, S as StorybookConfig } from './index-a1d91e1e.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-ac2e8f2f.js';
1
+ import { P as PresetProperty, S as StorybookConfig } from './index-a1d91e1e.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/react-vite",
3
- "version": "7.6.0-alpha.6",
3
+ "version": "7.6.0-alpha.7",
4
4
  "description": "Storybook for React and Vite: Develop React components in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -43,14 +43,14 @@
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
  "@joshwooding/vite-plugin-react-docgen-typescript": "0.3.0",
51
51
  "@rollup/pluginutils": "^5.0.2",
52
- "@storybook/builder-vite": "7.6.0-alpha.6",
53
- "@storybook/react": "7.6.0-alpha.6",
52
+ "@storybook/builder-vite": "7.6.0-alpha.7",
53
+ "@storybook/react": "7.6.0-alpha.7",
54
54
  "@vitejs/plugin-react": "^3.0.1",
55
55
  "magic-string": "^0.30.0",
56
56
  "react-docgen": "^7.0.0"