Skip to content

Commit

Permalink
Merge pull request #21278 from storybookjs/ndelangen/webpack-preset-d…
Browse files Browse the repository at this point in the history
…irect-dependency

Tech: change to a regular dependencies removing peerDep warnings
  • Loading branch information
ndelangen authored Feb 28, 2023
2 parents 3b7e607 + 66f1fe8 commit 475b6d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions code/presets/react-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@
"babel-plugin-react-docgen": "^4.2.1",
"fs-extra": "^11.1.0",
"react-refresh": "^0.11.0",
"semver": "^7.3.7"
"semver": "^7.3.7",
"webpack": "5"
},
"devDependencies": {
"typescript": "~4.9.3"
},
"peerDependencies": {
"@babel/core": "^7.11.5",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0",
"webpack": "5"
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@babel/core": {
Expand Down
2 changes: 1 addition & 1 deletion code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6639,11 +6639,11 @@ __metadata:
react-refresh: ^0.11.0
semver: ^7.3.7
typescript: ~4.9.3
webpack: 5
peerDependencies:
"@babel/core": ^7.11.5
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
webpack: 5
peerDependenciesMeta:
"@babel/core":
optional: true
Expand Down

0 comments on commit 475b6d3

Please sign in to comment.