@storybook/html-webpack5 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.
- package/dist/preset.d.ts +13 -0
- package/package.json +8 -10
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;
|
@@ -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/html-webpack5",
|
3
|
-
"version": "7.6.0-alpha.
|
3
|
+
"version": "7.6.0-alpha.7",
|
4
4
|
"description": "Storybook for HTML: View HTML snippets in isolation with Hot Reloading.",
|
5
5
|
"keywords": [
|
6
6
|
"storybook"
|
@@ -43,24 +43,22 @@
|
|
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/core-common": "7.6.0-alpha.
|
50
|
+
"@storybook/builder-webpack5": "7.6.0-alpha.7",
|
51
|
+
"@storybook/core-common": "7.6.0-alpha.7",
|
52
52
|
"@storybook/global": "^5.0.0",
|
53
|
-
"@storybook/html": "7.6.0-alpha.
|
54
|
-
"@storybook/preset-html-webpack": "7.6.0-alpha.
|
53
|
+
"@storybook/html": "7.6.0-alpha.7",
|
54
|
+
"@storybook/preset-html-webpack": "7.6.0-alpha.7",
|
55
55
|
"@types/node": "^18.0.0"
|
56
56
|
},
|
57
57
|
"devDependencies": {
|
58
58
|
"typescript": "~4.9.3"
|
59
59
|
},
|
60
60
|
"peerDependencies": {
|
61
|
-
"@babel/core": "*"
|
62
|
-
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
63
|
-
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
|
61
|
+
"@babel/core": "*"
|
64
62
|
},
|
65
63
|
"engines": {
|
66
64
|
"node": ">=16.0.0"
|