@storybook/server 6.5.0-alpha.44 → 6.5.0-alpha.47

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.
@@ -12,7 +12,6 @@ var _coreCommon = require("@storybook/core-common");
12
12
 
13
13
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
14
14
 
15
- // eslint-disable-next-line import/no-extraneous-dependencies
16
15
  function webpack(config) {
17
16
  config.module.rules.push({
18
17
  type: 'javascript/auto',
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line import/no-extraneous-dependencies
2
1
  import path from 'path';
3
2
  import { findDistEsm } from '@storybook/core-common';
4
3
  export function webpack(config) {
@@ -1,4 +1,3 @@
1
- // eslint-disable-next-line import/no-extraneous-dependencies
2
1
  import path from 'path';
3
2
  import { findDistEsm } from '@storybook/core-common';
4
3
  export function webpack(config) {
@@ -1,4 +1,4 @@
1
- import { Configuration } from 'webpack';
2
1
  import { StorybookConfig } from '@storybook/core-common';
2
+ import { Configuration } from 'webpack';
3
3
  export declare function webpack(config: Configuration): Configuration;
4
4
  export declare const config: StorybookConfig['config'];
@@ -1,8 +1,8 @@
1
1
  /// <reference types="webpack-env" />
2
2
  /// <reference types="node" />
3
- import { ClientStoryApi, Loadable } from '@storybook/addons';
3
+ import type { ClientStoryApi, Loadable } from '@storybook/addons';
4
4
  import './globals';
5
- import { IStorybookSection, ServerFramework } from './types';
5
+ import type { IStorybookSection, ServerFramework } from './types';
6
6
  interface ClientApi extends ClientStoryApi<ServerFramework['storyResult']> {
7
7
  setAddon(addon: any): void;
8
8
  configure(loader: Loadable, module: NodeModule): void;
@@ -1,5 +1,5 @@
1
- import { RenderContext } from '@storybook/store';
2
- import { StoryFn } from '@storybook/csf';
3
- import { ServerFramework } from './types';
1
+ import type { RenderContext } from '@storybook/store';
2
+ import type { StoryFn } from '@storybook/csf';
3
+ import type { ServerFramework } from './types';
4
4
  export declare const render: StoryFn<ServerFramework>;
5
5
  export declare function renderToDOM({ id, title, name, showMain, showError, forceRemount, storyFn, storyContext, storyContext: { parameters, args, argTypes }, }: RenderContext<ServerFramework>, domElement: HTMLElement): Promise<void>;
@@ -1,4 +1,4 @@
1
- import { StoryContext } from '@storybook/csf';
1
+ import type { StoryContext } from '@storybook/csf';
2
2
  export type { RenderContext } from '@storybook/core';
3
3
  export declare type StoryFnServerReturnType = any;
4
4
  export declare type ServerFramework = {
@@ -1,4 +1,4 @@
1
- import { Configuration } from 'webpack';
2
- import { StorybookConfig } from '@storybook/core-common';
1
+ import type { StorybookConfig } from '@storybook/core-common';
2
+ import type { Configuration } from 'webpack';
3
3
  export declare function webpack(config: Configuration): Configuration;
4
4
  export declare const config: StorybookConfig['config'];
@@ -1,3 +1,3 @@
1
- import { LoadOptions } from '@storybook/core-common';
1
+ import type { LoadOptions } from '@storybook/core-common';
2
2
  declare const _default: LoadOptions;
3
3
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/server",
3
- "version": "6.5.0-alpha.44",
3
+ "version": "6.5.0-alpha.47",
4
4
  "description": "Storybook for Server: View HTML snippets from a server in isolation with Hot Reloading.",
5
5
  "keywords": [
6
6
  "storybook"
@@ -45,15 +45,15 @@
45
45
  "prepare": "node ../../scripts/prepare.js"
46
46
  },
47
47
  "dependencies": {
48
- "@storybook/addons": "6.5.0-alpha.44",
49
- "@storybook/api": "6.5.0-alpha.44",
50
- "@storybook/client-api": "6.5.0-alpha.44",
51
- "@storybook/core": "6.5.0-alpha.44",
52
- "@storybook/core-common": "6.5.0-alpha.44",
48
+ "@storybook/addons": "6.5.0-alpha.47",
49
+ "@storybook/api": "6.5.0-alpha.47",
50
+ "@storybook/client-api": "6.5.0-alpha.47",
51
+ "@storybook/core": "6.5.0-alpha.47",
52
+ "@storybook/core-common": "6.5.0-alpha.47",
53
53
  "@storybook/csf": "0.0.2--canary.87bc651.0",
54
- "@storybook/node-logger": "6.5.0-alpha.44",
55
- "@storybook/preview-web": "6.5.0-alpha.44",
56
- "@storybook/store": "6.5.0-alpha.44",
54
+ "@storybook/node-logger": "6.5.0-alpha.47",
55
+ "@storybook/preview-web": "6.5.0-alpha.47",
56
+ "@storybook/store": "6.5.0-alpha.47",
57
57
  "@types/node": "^14.14.20 || ^16.0.0",
58
58
  "@types/webpack-env": "^1.16.0",
59
59
  "core-js": "^3.8.2",
@@ -76,6 +76,6 @@
76
76
  "publishConfig": {
77
77
  "access": "public"
78
78
  },
79
- "gitHead": "0125cb2b688dc1acca71a7fbf2795466fd55c0e3",
79
+ "gitHead": "e848de5c5d389fcb452d85f7ebdfc27f1e3c10c4",
80
80
  "sbmodern": "dist/modern/client/index.js"
81
81
  }