@storybook/builder-webpack5 7.1.0-alpha.32 → 7.1.0-alpha.33

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.
@@ -908,6 +908,7 @@ interface CLIOptions {
908
908
  disableTelemetry?: boolean;
909
909
  enableCrashReports?: boolean;
910
910
  host?: string;
911
+ initialPath?: string;
911
912
  /**
912
913
  * @deprecated Use 'staticDirs' Storybook Configuration option instead
913
914
  */
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-89ee7695.js';
2
+ import { O as Options$1, B as Builder } from './index.d-309af0c3.js';
3
3
  import { StorybookConfig, Options, BuilderResult as BuilderResult$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-89ee7695.js';
3
+ import { O as Options } from '../index.d-309af0c3.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.1.0-alpha.32",
3
+ "version": "7.1.0-alpha.33",
4
4
  "description": "Storybook framework-agnostic API",
5
5
  "keywords": [
6
6
  "storybook"
@@ -56,24 +56,24 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@babel/core": "^7.22.0",
59
- "@storybook/addons": "7.1.0-alpha.32",
60
- "@storybook/api": "7.1.0-alpha.32",
61
- "@storybook/channel-postmessage": "7.1.0-alpha.32",
62
- "@storybook/channels": "7.1.0-alpha.32",
63
- "@storybook/client-api": "7.1.0-alpha.32",
64
- "@storybook/client-logger": "7.1.0-alpha.32",
65
- "@storybook/components": "7.1.0-alpha.32",
66
- "@storybook/core-common": "7.1.0-alpha.32",
67
- "@storybook/core-events": "7.1.0-alpha.32",
68
- "@storybook/core-webpack": "7.1.0-alpha.32",
59
+ "@storybook/addons": "7.1.0-alpha.33",
60
+ "@storybook/api": "7.1.0-alpha.33",
61
+ "@storybook/channel-postmessage": "7.1.0-alpha.33",
62
+ "@storybook/channels": "7.1.0-alpha.33",
63
+ "@storybook/client-api": "7.1.0-alpha.33",
64
+ "@storybook/client-logger": "7.1.0-alpha.33",
65
+ "@storybook/components": "7.1.0-alpha.33",
66
+ "@storybook/core-common": "7.1.0-alpha.33",
67
+ "@storybook/core-events": "7.1.0-alpha.33",
68
+ "@storybook/core-webpack": "7.1.0-alpha.33",
69
69
  "@storybook/global": "^5.0.0",
70
- "@storybook/manager-api": "7.1.0-alpha.32",
71
- "@storybook/node-logger": "7.1.0-alpha.32",
72
- "@storybook/preview": "7.1.0-alpha.32",
73
- "@storybook/preview-api": "7.1.0-alpha.32",
74
- "@storybook/router": "7.1.0-alpha.32",
75
- "@storybook/store": "7.1.0-alpha.32",
76
- "@storybook/theming": "7.1.0-alpha.32",
70
+ "@storybook/manager-api": "7.1.0-alpha.33",
71
+ "@storybook/node-logger": "7.1.0-alpha.33",
72
+ "@storybook/preview": "7.1.0-alpha.33",
73
+ "@storybook/preview-api": "7.1.0-alpha.33",
74
+ "@storybook/router": "7.1.0-alpha.33",
75
+ "@storybook/store": "7.1.0-alpha.33",
76
+ "@storybook/theming": "7.1.0-alpha.33",
77
77
  "@swc/core": "^1.3.49",
78
78
  "@types/node": "^16.0.0",
79
79
  "@types/semver": "^7.3.4",
@@ -1,14 +1,14 @@
1
1
  import { global } from '@storybook/global';
2
2
 
3
3
  import { ClientApi, PreviewWeb, addons, composeConfigs } from '@storybook/preview-api';
4
- import { createChannel as createPostMessageChannel } from '@storybook/channel-postmessage';
4
+ import { createBrowserChannel } from '@storybook/channels';
5
5
 
6
6
  import { importFn } from './{{storiesFilename}}';
7
7
 
8
8
  const getProjectAnnotations = () =>
9
9
  composeConfigs([{{#each previewAnnotations}}require('{{this}}'),{{/each}}]);
10
10
 
11
- const channel = createPostMessageChannel({ page: 'preview' });
11
+ const channel = createBrowserChannel({ page: 'preview' });
12
12
  addons.setChannel(channel);
13
13
 
14
14
  if (global.CONFIG_TYPE === 'DEVELOPMENT'){