@storybook/builder-webpack5 7.6.12 → 7.6.13
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.
|
@@ -2781,7 +2781,7 @@ interface DirectoryMapping {
|
|
|
2781
2781
|
to: string;
|
|
2782
2782
|
}
|
|
2783
2783
|
interface Presets {
|
|
2784
|
-
apply(extension: 'typescript', config: TypescriptOptions
|
|
2784
|
+
apply(extension: 'typescript', config: Partial<TypescriptOptions>, args?: Options): Promise<Partial<TypescriptOptions>>;
|
|
2785
2785
|
apply(extension: 'framework', config?: {}, args?: any): Promise<Preset>;
|
|
2786
2786
|
apply(extension: 'babel', config?: {}, args?: any): Promise<TransformOptions>;
|
|
2787
2787
|
apply(extension: 'swc', config?: {}, args?: any): Promise<Options$2>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import webpack__default, { Configuration, Stats } from 'webpack';
|
|
2
|
-
import { O as Options$1, B as Builder } from './index.d-
|
|
3
|
-
import { StorybookConfig, Options, BuilderResult as BuilderResult$1 } from '@storybook/core-webpack';
|
|
2
|
+
import { O as Options$1, B as Builder } from './index.d-7a1d21bc.js';
|
|
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';
|
|
6
6
|
import '@babel/core';
|
|
7
7
|
import 'express';
|
|
8
8
|
import 'http';
|
|
9
9
|
|
|
10
|
-
type TypeScriptOptionsBase =
|
|
10
|
+
type TypeScriptOptionsBase = Partial<TypescriptOptions$1>;
|
|
11
11
|
/**
|
|
12
12
|
* Options for TypeScript usage within Storybook.
|
|
13
13
|
*/
|
|
@@ -17,7 +17,7 @@ interface TypescriptOptions extends TypeScriptOptionsBase {
|
|
|
17
17
|
*/
|
|
18
18
|
checkOptions?: ConstructorParameters<typeof ForkTsCheckerWebpackPlugin>[0];
|
|
19
19
|
}
|
|
20
|
-
interface StorybookConfigWebpack extends
|
|
20
|
+
interface StorybookConfigWebpack extends Omit<StorybookConfig, 'webpack' | 'webpackFinal'> {
|
|
21
21
|
/**
|
|
22
22
|
* Modify or return a custom Webpack config after the Storybook's default configuration
|
|
23
23
|
* has run (mostly used by addons).
|
|
@@ -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-7a1d21bc.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.13",
|
|
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.13",
|
|
68
|
+
"@storybook/client-logger": "7.6.13",
|
|
69
|
+
"@storybook/core-common": "7.6.13",
|
|
70
|
+
"@storybook/core-events": "7.6.13",
|
|
71
|
+
"@storybook/core-webpack": "7.6.13",
|
|
72
|
+
"@storybook/node-logger": "7.6.13",
|
|
73
|
+
"@storybook/preview": "7.6.13",
|
|
74
|
+
"@storybook/preview-api": "7.6.13",
|
|
75
75
|
"@swc/core": "^1.3.82",
|
|
76
76
|
"@types/node": "^18.0.0",
|
|
77
77
|
"@types/semver": "^7.3.4",
|