@storybook/core-webpack 7.6.0 → 8.0.0-alpha.0
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.
- package/dist/index.d.ts +2 -2
- package/package.json +6 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { StorybookConfigRaw, Options, NormalizedStoriesSpecifier } from '@storybook/types';
|
|
2
2
|
export { BuilderResult, Options, Preset, TypescriptOptions } from '@storybook/types';
|
|
3
3
|
|
|
4
4
|
type RulesConfig = any;
|
|
@@ -22,7 +22,7 @@ type BuilderOptions = {
|
|
|
22
22
|
useSWC?: boolean;
|
|
23
23
|
lazyCompilation?: boolean;
|
|
24
24
|
};
|
|
25
|
-
type StorybookConfig<TWebpackConfiguration = WebpackConfiguration> =
|
|
25
|
+
type StorybookConfig<TWebpackConfiguration = WebpackConfiguration> = StorybookConfigRaw & {
|
|
26
26
|
/**
|
|
27
27
|
* Modify or return a custom Webpack config after the Storybook's default configuration
|
|
28
28
|
* has run (mostly used by addons).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storybook/core-webpack",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0-alpha.0",
|
|
4
4
|
"description": "Storybook framework-agnostic API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"storybook"
|
|
@@ -44,14 +44,15 @@
|
|
|
44
44
|
"prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/bundle.ts"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@storybook/core-common": "
|
|
48
|
-
"@storybook/node-logger": "
|
|
49
|
-
"@storybook/types": "
|
|
47
|
+
"@storybook/core-common": "8.0.0-alpha.0",
|
|
48
|
+
"@storybook/node-logger": "8.0.0-alpha.0",
|
|
49
|
+
"@storybook/types": "8.0.0-alpha.0",
|
|
50
50
|
"@types/node": "^18.0.0",
|
|
51
51
|
"ts-dedent": "^2.0.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"
|
|
54
|
+
"slash": "^5.1.0",
|
|
55
|
+
"typescript": "^5.3.2",
|
|
55
56
|
"webpack": "5"
|
|
56
57
|
},
|
|
57
58
|
"publishConfig": {
|