@storybook/react-webpack5 7.6.0-alpha.5 → 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.
- package/dist/preset.d.ts +20 -7
- package/package.json +6 -6
package/dist/preset.d.ts
CHANGED
@@ -2875,8 +2875,15 @@ interface TypescriptOptions {
|
|
2875
2875
|
* Disable parsing typescript files through babel.
|
2876
2876
|
*
|
2877
2877
|
* @default `false`
|
2878
|
+
* @deprecated use `skipCompiler` instead
|
2878
2879
|
*/
|
2879
2880
|
skipBabel: boolean;
|
2881
|
+
/**
|
2882
|
+
* Disable parsing typescript files through compiler.
|
2883
|
+
*
|
2884
|
+
* @default `false`
|
2885
|
+
*/
|
2886
|
+
skipCompiler: boolean;
|
2880
2887
|
}
|
2881
2888
|
type Preset = string | {
|
2882
2889
|
name: string;
|
@@ -2914,19 +2921,19 @@ interface TestBuildFlags {
|
|
2914
2921
|
/**
|
2915
2922
|
* The package @storybook/blocks will be excluded from the bundle, even when imported in e.g. the preview.
|
2916
2923
|
*/
|
2917
|
-
|
2924
|
+
disableBlocks?: boolean;
|
2918
2925
|
/**
|
2919
|
-
* Disable
|
2926
|
+
* Disable specific addons
|
2920
2927
|
*/
|
2921
|
-
|
2928
|
+
disabledAddons?: string[];
|
2922
2929
|
/**
|
2923
2930
|
* Filter out .mdx stories entries
|
2924
2931
|
*/
|
2925
|
-
|
2932
|
+
disableMDXEntries?: boolean;
|
2926
2933
|
/**
|
2927
2934
|
* Override autodocs to be disabled
|
2928
2935
|
*/
|
2929
|
-
|
2936
|
+
disableAutoDocs?: boolean;
|
2930
2937
|
/**
|
2931
2938
|
* Override docgen to be disabled.
|
2932
2939
|
*/
|
@@ -2940,9 +2947,9 @@ interface TestBuildFlags {
|
|
2940
2947
|
*/
|
2941
2948
|
disableTreeShaking?: boolean;
|
2942
2949
|
/**
|
2943
|
-
*
|
2950
|
+
* Minify with ESBuild when using webpack.
|
2944
2951
|
*/
|
2945
|
-
|
2952
|
+
esbuildMinify?: boolean;
|
2946
2953
|
}
|
2947
2954
|
interface TestBuildConfig {
|
2948
2955
|
test?: TestBuildFlags;
|
@@ -2996,6 +3003,12 @@ interface StorybookConfig {
|
|
2996
3003
|
* Apply decorators from preview.js before decorators from addons or frameworks
|
2997
3004
|
*/
|
2998
3005
|
legacyDecoratorFileOrder?: boolean;
|
3006
|
+
/**
|
3007
|
+
* Disallow implicit actions during rendering. This will be the default in Storybook 8.
|
3008
|
+
*
|
3009
|
+
* This will make sure that your story renders the same no matter if docgen is enabled or not.
|
3010
|
+
*/
|
3011
|
+
disallowImplicitActionsInRenderV8?: boolean;
|
2999
3012
|
};
|
3000
3013
|
build?: TestBuildConfig;
|
3001
3014
|
/**
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/react-webpack5",
|
3
|
-
"version": "7.6.0-alpha.
|
3
|
+
"version": "7.6.0-alpha.7",
|
4
4
|
"description": "Storybook for React: Develop React Component 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
|
-
"@storybook/builder-webpack5": "7.6.0-alpha.
|
51
|
-
"@storybook/preset-react-webpack": "7.6.0-alpha.
|
52
|
-
"@storybook/react": "7.6.0-alpha.
|
50
|
+
"@storybook/builder-webpack5": "7.6.0-alpha.7",
|
51
|
+
"@storybook/preset-react-webpack": "7.6.0-alpha.7",
|
52
|
+
"@storybook/react": "7.6.0-alpha.7",
|
53
53
|
"@types/node": "^18.0.0"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|