Skip to content

Commit

Permalink
fix: fix unmet peers
Browse files Browse the repository at this point in the history
  • Loading branch information
JSerFeng committed Sep 12, 2023
1 parent 4b82efe commit a1f2da6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
"@types/react": "^18",
"@types/react-dom": "^18"
},
"peerDependencyRules": {
"allowedVersions": {
"@mdx-js/react@^1.6.22>react": "18"
}
},
"allowedDeprecatedVersions": {
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
Expand Down
10 changes: 4 additions & 6 deletions packages/storybook/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"@modern-js/runtime": "workspace:*",
"@modern-js/utils": "workspace:*",
"@rspack/dev-client": "0.3.2",
"@storybook/api": "^7.4.0",
"@storybook/components": "^7.4.0",
"@storybook/core-common": "^7.4.0",
"@storybook/csf-plugin": "^7.4.0",
Expand All @@ -59,7 +58,7 @@
"@types/webpack-hot-middleware": "^2.25.6",
"ast-types": "^0.14.2",
"babel-plugin-react-docgen": "^4.2.1",
"minimatch": "^3.0.4",
"minimatch": "^9.0.3",
"react-docgen": "6.0.0-alpha.3",
"remark-external-links": "^9.0.1",
"remark-slug": "^7.0.1",
Expand All @@ -71,12 +70,11 @@
"@modern-js/builder-webpack-provider": "workspace:*",
"@storybook/types": "^7.4.0",
"@types/babel__core": "^7.20.1",
"@types/express": "^4.17.13",
"@types/minimatch": "^3.0.5"
"@types/express": "^4.17.13"
},
"peerDependencies": {
"@modern-js/builder-rspack-provider": "workspace:^2.33.1",
"@modern-js/builder-webpack-provider": "workspace:^2.33.1"
"@modern-js/builder-rspack-provider": "workspace:^2.34.0",
"@modern-js/builder-webpack-provider": "workspace:^2.34.0"
},
"peerDependenciesMeta": {
"@modern-js/builder-rspack-provider": {
Expand Down
2 changes: 1 addition & 1 deletion packages/storybook/builder/src/plugin-storybook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import type {
RspackConfig,
} from '@modern-js/builder-rspack-provider';
import { unplugin as csfPlugin } from '@storybook/csf-plugin';
import minimatch from 'minimatch';
import { minimatch } from 'minimatch';
import { AllBuilderConfig, FrameworkOptions } from './types';
import { toImportFn, virtualModule, maybeGetAbsolutePath } from './utils';
import { applyDocgenRspack, applyDocgenWebpack } from './docgen';
Expand Down

0 comments on commit a1f2da6

Please sign in to comment.