@storybook/builder-webpack5 7.0.0-rc.7 → 7.0.0-rc.8
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.
|
@@ -891,7 +891,6 @@ interface BuilderOptions {
|
|
|
891
891
|
cache?: FileSystemCache;
|
|
892
892
|
configDir: string;
|
|
893
893
|
docsMode?: boolean;
|
|
894
|
-
env?: (envs: Record<string, string>) => Record<string, string>;
|
|
895
894
|
features?: StorybookConfig['features'];
|
|
896
895
|
versionCheck?: VersionCheck;
|
|
897
896
|
releaseNotesData?: ReleaseNotesData;
|
|
@@ -1054,6 +1053,10 @@ interface StorybookConfig {
|
|
|
1054
1053
|
* Modify or return babel config.
|
|
1055
1054
|
*/
|
|
1056
1055
|
babel?: (config: TransformOptions, options: Options) => TransformOptions | Promise<TransformOptions>;
|
|
1056
|
+
/**
|
|
1057
|
+
* Modify or return env config.
|
|
1058
|
+
*/
|
|
1059
|
+
env?: PresetValue<Record<string, string>>;
|
|
1057
1060
|
/**
|
|
1058
1061
|
* Modify or return babel config.
|
|
1059
1062
|
*/
|
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-7a4eb4de.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-
|
|
3
|
+
import { O as Options } from '../index.d-7a4eb4de.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.0.0-rc.
|
|
3
|
+
"version": "7.0.0-rc.8",
|
|
4
4
|
"description": "Storybook framework-agnostic API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -58,25 +58,25 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@babel/core": "^7.12.10",
|
|
61
|
-
"@storybook/addons": "7.0.0-rc.
|
|
62
|
-
"@storybook/api": "7.0.0-rc.
|
|
63
|
-
"@storybook/channel-postmessage": "7.0.0-rc.
|
|
64
|
-
"@storybook/channel-websocket": "7.0.0-rc.
|
|
65
|
-
"@storybook/channels": "7.0.0-rc.
|
|
66
|
-
"@storybook/client-api": "7.0.0-rc.
|
|
67
|
-
"@storybook/client-logger": "7.0.0-rc.
|
|
68
|
-
"@storybook/components": "7.0.0-rc.
|
|
69
|
-
"@storybook/core-common": "7.0.0-rc.
|
|
70
|
-
"@storybook/core-events": "7.0.0-rc.
|
|
71
|
-
"@storybook/core-webpack": "7.0.0-rc.
|
|
61
|
+
"@storybook/addons": "7.0.0-rc.8",
|
|
62
|
+
"@storybook/api": "7.0.0-rc.8",
|
|
63
|
+
"@storybook/channel-postmessage": "7.0.0-rc.8",
|
|
64
|
+
"@storybook/channel-websocket": "7.0.0-rc.8",
|
|
65
|
+
"@storybook/channels": "7.0.0-rc.8",
|
|
66
|
+
"@storybook/client-api": "7.0.0-rc.8",
|
|
67
|
+
"@storybook/client-logger": "7.0.0-rc.8",
|
|
68
|
+
"@storybook/components": "7.0.0-rc.8",
|
|
69
|
+
"@storybook/core-common": "7.0.0-rc.8",
|
|
70
|
+
"@storybook/core-events": "7.0.0-rc.8",
|
|
71
|
+
"@storybook/core-webpack": "7.0.0-rc.8",
|
|
72
72
|
"@storybook/global": "^5.0.0",
|
|
73
|
-
"@storybook/manager-api": "7.0.0-rc.
|
|
74
|
-
"@storybook/node-logger": "7.0.0-rc.
|
|
75
|
-
"@storybook/preview": "7.0.0-rc.
|
|
76
|
-
"@storybook/preview-api": "7.0.0-rc.
|
|
77
|
-
"@storybook/router": "7.0.0-rc.
|
|
78
|
-
"@storybook/store": "7.0.0-rc.
|
|
79
|
-
"@storybook/theming": "7.0.0-rc.
|
|
73
|
+
"@storybook/manager-api": "7.0.0-rc.8",
|
|
74
|
+
"@storybook/node-logger": "7.0.0-rc.8",
|
|
75
|
+
"@storybook/preview": "7.0.0-rc.8",
|
|
76
|
+
"@storybook/preview-api": "7.0.0-rc.8",
|
|
77
|
+
"@storybook/router": "7.0.0-rc.8",
|
|
78
|
+
"@storybook/store": "7.0.0-rc.8",
|
|
79
|
+
"@storybook/theming": "7.0.0-rc.8",
|
|
80
80
|
"@types/node": "^16.0.0",
|
|
81
81
|
"@types/semver": "^7.3.4",
|
|
82
82
|
"babel-loader": "^9.0.0",
|
|
@@ -131,5 +131,5 @@
|
|
|
131
131
|
],
|
|
132
132
|
"platform": "node"
|
|
133
133
|
},
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "42cc9d76db87614261e067f49b0123db30365233"
|
|
135
135
|
}
|