@storybook/preact-vite 7.6.0-alpha.5 → 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;
|
@@ -2912,19 +2919,19 @@ interface TestBuildFlags {
|
|
2912
2919
|
/**
|
2913
2920
|
* The package @storybook/blocks will be excluded from the bundle, even when imported in e.g. the preview.
|
2914
2921
|
*/
|
2915
|
-
|
2922
|
+
disableBlocks?: boolean;
|
2916
2923
|
/**
|
2917
|
-
* Disable
|
2924
|
+
* Disable specific addons
|
2918
2925
|
*/
|
2919
|
-
|
2926
|
+
disabledAddons?: string[];
|
2920
2927
|
/**
|
2921
2928
|
* Filter out .mdx stories entries
|
2922
2929
|
*/
|
2923
|
-
|
2930
|
+
disableMDXEntries?: boolean;
|
2924
2931
|
/**
|
2925
2932
|
* Override autodocs to be disabled
|
2926
2933
|
*/
|
2927
|
-
|
2934
|
+
disableAutoDocs?: boolean;
|
2928
2935
|
/**
|
2929
2936
|
* Override docgen to be disabled.
|
2930
2937
|
*/
|
@@ -2938,9 +2945,9 @@ interface TestBuildFlags {
|
|
2938
2945
|
*/
|
2939
2946
|
disableTreeShaking?: boolean;
|
2940
2947
|
/**
|
2941
|
-
*
|
2948
|
+
* Minify with ESBuild when using webpack.
|
2942
2949
|
*/
|
2943
|
-
|
2950
|
+
esbuildMinify?: boolean;
|
2944
2951
|
}
|
2945
2952
|
interface TestBuildConfig {
|
2946
2953
|
test?: TestBuildFlags;
|
@@ -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
package/dist/preset.d.ts
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/preact-vite",
|
3
|
-
"version": "7.6.0-alpha.
|
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.
|
52
|
-
"@storybook/preact": "7.6.0-alpha.
|
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",
|