Skip to content

Commit

Permalink
CLI: Fix missing peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Jan 24, 2025
1 parent 981a861 commit 930bfd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/presets/react-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,15 @@
"typescript": "^5.3.2"
},
"peerDependencies": {
"@storybook/test": "workspace:*",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta",
"storybook": "workspace:^"
},
"peerDependenciesMeta": {
"@storybook/test": {
"optional": true
},
"typescript": {
"optional": true
}
Expand Down
3 changes: 3 additions & 0 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8319,10 +8319,13 @@ __metadata:
typescript: "npm:^5.3.2"
webpack: "npm:5"
peerDependencies:
"@storybook/test": "workspace:*"
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0-beta
storybook: "workspace:^"
peerDependenciesMeta:
"@storybook/test":
optional: true
typescript:
optional: true
languageName: unknown
Expand Down

0 comments on commit 930bfd3

Please sign in to comment.