File tree Expand file tree Collapse file tree 4 files changed +280
-1065
lines changed Expand file tree Collapse file tree 4 files changed +280
-1065
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @module-federation/storybook-addon ' : patch
3
+ ---
4
+
5
+ correct peerDependencies declaration
Original file line number Diff line number Diff line change 11
11
" module-federation" ,
12
12
" typescript" ,
13
13
" storybook" ,
14
+ " rsbuild" ,
15
+ " storybook-rsbuild" ,
14
16
" addon"
15
17
],
16
18
"files" : [
54
56
"webpack-virtual-modules" : " 0.6.2"
55
57
},
56
58
"peerDependencies" : {
59
+ "@rsbuild/core" : " ^1.0.1" ,
57
60
"@module-federation/utilities" : " ^3.1.27" ,
58
- "@nx/react" : " ~ 16.0.0 || ~17.0.0 || ~17.2 .0" ,
59
- "@nx/webpack" : " ~ 16.0.0 || ~17.0.0 || ~17.2 .0" ,
60
- "@storybook/core-common" : " ^6.5.16 || ^7.0.0" ,
61
- "@storybook/node-logger" : " ^6.5.16 || ^7.0.0" ,
61
+ "@nx/react" : " >= 16.0.0" ,
62
+ "@nx/webpack" : " >= 16.0.0" ,
63
+ "@storybook/core-common" : " ^6.5.16 || ^7.0.0 || ^ 8.0.0 " ,
64
+ "@storybook/node-logger" : " ^6.5.16 || ^7.0.0 || ^ 8.0.0 " ,
62
65
"webpack" : " ^5.75.0" ,
63
66
"webpack-virtual-modules" : " ^0.5.0 || ^0.6.0"
67
+ },
68
+ "peerDependenciesMeta" : {
69
+ "@rsbuild/core" : {
70
+ "optional" : true
71
+ },
72
+ "@module-federation/utilities" : {
73
+ "optional" : true
74
+ },
75
+ "@nx/react" : {
76
+ "optional" : true
77
+ },
78
+ "@nx/webpack" : {
79
+ "optional" : true
80
+ },
81
+ "@storybook/core-common" : {
82
+ "optional" : true
83
+ },
84
+ "@storybook/node-logger" : {
85
+ "optional" : true
86
+ },
87
+ "webpack" : {
88
+ "optional" : true
89
+ },
90
+ "webpack-virtual-modules" : {
91
+ "optional" : true
92
+ }
64
93
}
65
94
}
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ import * as process from 'process';
4
4
import VirtualModulesPlugin from 'webpack-virtual-modules' ;
5
5
import { container , Configuration } from 'webpack' ;
6
6
import { logger } from '@storybook/node-logger' ;
7
+ // NOTE: @storybook /core-common is deprecated while still available, considering importing
8
+ // from 'storybook/internal/common' or '@storybook/core'. Considering requires Storybook 8
9
+ // at least and change this in the next breaking change version.
7
10
import { normalizeStories } from '@storybook/core-common' ;
8
11
import { ModuleFederationPluginOptions } from '@module-federation/utilities' ;
9
12
You can’t perform that action at this time.
0 commit comments