@storybook/builder-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.
|
@@ -2748,7 +2748,9 @@ interface CoreConfig {
|
|
|
2748
2748
|
};
|
|
2749
2749
|
renderer?: RendererName;
|
|
2750
2750
|
disableWebpackDefaults?: boolean;
|
|
2751
|
-
channelOptions?: Partial<Options$1
|
|
2751
|
+
channelOptions?: Partial<Options$1> & {
|
|
2752
|
+
wsToken?: string;
|
|
2753
|
+
};
|
|
2752
2754
|
/**
|
|
2753
2755
|
* Disables the generation of project.json, a file containing Storybook metadata
|
|
2754
2756
|
*/
|
|
@@ -2767,6 +2769,11 @@ interface CoreConfig {
|
|
|
2767
2769
|
* @see https://storybook.js.org/telemetry
|
|
2768
2770
|
*/
|
|
2769
2771
|
enableCrashReports?: boolean;
|
|
2772
|
+
/**
|
|
2773
|
+
* Enable hostname validation for HTTP requests and WebSocket connections. Set to `[]` to disallow
|
|
2774
|
+
* all hosts except known local/network address, or `true` to allow all hosts.
|
|
2775
|
+
*/
|
|
2776
|
+
allowedHosts?: string[] | true;
|
|
2770
2777
|
/**
|
|
2771
2778
|
* enable CORS headings to run document in a "secure context"
|
|
2772
2779
|
* see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements
|
|
@@ -2857,6 +2864,8 @@ interface BuilderOptions {
|
|
|
2857
2864
|
versionCheck?: VersionCheck;
|
|
2858
2865
|
disableWebpackDefaults?: boolean;
|
|
2859
2866
|
serverChannelUrl?: string;
|
|
2867
|
+
localAddress?: string;
|
|
2868
|
+
networkAddress?: string;
|
|
2860
2869
|
}
|
|
2861
2870
|
interface StorybookConfigOptions {
|
|
2862
2871
|
presets: Presets;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import webpack__default, { Configuration, Stats } from 'webpack';
|
|
2
|
-
import { O as Options$1, B as Builder } from './index.d-
|
|
2
|
+
import { O as Options$1, B as Builder } from './index.d-2270f7ac.js';
|
|
3
3
|
import { StorybookConfig, Options, BuilderResult as BuilderResult$1, TypescriptOptions as TypescriptOptions$1 } from '@storybook/core-webpack';
|
|
4
4
|
import ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin';
|
|
5
5
|
import 'file-system-cache';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as webpack$1 from 'webpack';
|
|
2
2
|
import { Configuration } from 'webpack';
|
|
3
|
-
import { O as Options } from '../index.d-
|
|
3
|
+
import { O as Options } from '../index.d-2270f7ac.js';
|
|
4
4
|
import 'file-system-cache';
|
|
5
5
|
import '@babel/core';
|
|
6
6
|
import 'express';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/builder-webpack5",
|
|
3
|
-
"version": "7.6.
|
|
3
|
+
"version": "7.6.24",
|
|
4
4
|
"description": "Storybook framework-agnostic API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@babel/core": "^7.23.2",
|
|
67
|
-
"@storybook/channels": "7.6.
|
|
68
|
-
"@storybook/client-logger": "7.6.
|
|
69
|
-
"@storybook/core-common": "7.6.
|
|
70
|
-
"@storybook/core-events": "7.6.
|
|
71
|
-
"@storybook/core-webpack": "7.6.
|
|
72
|
-
"@storybook/node-logger": "7.6.
|
|
73
|
-
"@storybook/preview": "7.6.
|
|
74
|
-
"@storybook/preview-api": "7.6.
|
|
67
|
+
"@storybook/channels": "7.6.24",
|
|
68
|
+
"@storybook/client-logger": "7.6.24",
|
|
69
|
+
"@storybook/core-common": "7.6.24",
|
|
70
|
+
"@storybook/core-events": "7.6.24",
|
|
71
|
+
"@storybook/core-webpack": "7.6.24",
|
|
72
|
+
"@storybook/node-logger": "7.6.24",
|
|
73
|
+
"@storybook/preview": "7.6.24",
|
|
74
|
+
"@storybook/preview-api": "7.6.24",
|
|
75
75
|
"@swc/core": "^1.3.82",
|
|
76
76
|
"@types/node": "^18.0.0",
|
|
77
77
|
"@types/semver": "^7.3.4",
|