@storybook/web-components-webpack5 7.6.22 → 7.6.24
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 +10 -1
- package/package.json +5 -5
package/dist/preset.d.ts
CHANGED
|
@@ -2747,7 +2747,9 @@ interface CoreConfig {
|
|
|
2747
2747
|
};
|
|
2748
2748
|
renderer?: RendererName;
|
|
2749
2749
|
disableWebpackDefaults?: boolean;
|
|
2750
|
-
channelOptions?: Partial<Options$1
|
|
2750
|
+
channelOptions?: Partial<Options$1> & {
|
|
2751
|
+
wsToken?: string;
|
|
2752
|
+
};
|
|
2751
2753
|
/**
|
|
2752
2754
|
* Disables the generation of project.json, a file containing Storybook metadata
|
|
2753
2755
|
*/
|
|
@@ -2766,6 +2768,11 @@ interface CoreConfig {
|
|
|
2766
2768
|
* @see https://storybook.js.org/telemetry
|
|
2767
2769
|
*/
|
|
2768
2770
|
enableCrashReports?: boolean;
|
|
2771
|
+
/**
|
|
2772
|
+
* Enable hostname validation for HTTP requests and WebSocket connections. Set to `[]` to disallow
|
|
2773
|
+
* all hosts except known local/network address, or `true` to allow all hosts.
|
|
2774
|
+
*/
|
|
2775
|
+
allowedHosts?: string[] | true;
|
|
2769
2776
|
/**
|
|
2770
2777
|
* enable CORS headings to run document in a "secure context"
|
|
2771
2778
|
* see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements
|
|
@@ -2853,6 +2860,8 @@ interface BuilderOptions {
|
|
|
2853
2860
|
versionCheck?: VersionCheck;
|
|
2854
2861
|
disableWebpackDefaults?: boolean;
|
|
2855
2862
|
serverChannelUrl?: string;
|
|
2863
|
+
localAddress?: string;
|
|
2864
|
+
networkAddress?: string;
|
|
2856
2865
|
}
|
|
2857
2866
|
interface StorybookConfigOptions {
|
|
2858
2867
|
presets: Presets;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/web-components-webpack5",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.24",
|
|
4
4
|
"description": "Storybook for web-components: View web components snippets in isolation with Hot Reloading.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lit",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@babel/preset-env": "^7.23.2",
|
|
54
|
-
"@storybook/builder-webpack5": "7.6.
|
|
55
|
-
"@storybook/core-common": "7.6.
|
|
56
|
-
"@storybook/preset-web-components-webpack": "7.6.
|
|
57
|
-
"@storybook/web-components": "7.6.
|
|
54
|
+
"@storybook/builder-webpack5": "7.6.24",
|
|
55
|
+
"@storybook/core-common": "7.6.24",
|
|
56
|
+
"@storybook/preset-web-components-webpack": "7.6.24",
|
|
57
|
+
"@storybook/web-components": "7.6.24",
|
|
58
58
|
"@types/node": "^18.0.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|