Skip to content

Commit

Permalink
Merge pull request #2894 from modernweb-dev/fix/npm-update
Browse files Browse the repository at this point in the history
fix: try to prevent npm update issue
  • Loading branch information
bashmish authored Feb 18, 2025
2 parents 9bcdf00 + 1bd1e53 commit e5f5797
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
6 changes: 6 additions & 0 deletions .changeset/spicy-dragons-search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@web/storybook-utils': patch
'@web/mocks': patch
---

try to prevent npm update issue "Could not resolve dependency" between Storybook 7 and 8
11 changes: 5 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions packages/mocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,9 @@
"mocks",
"msw"
],
"peerDependencies": {
"@storybook/manager-api": "^7.0.0 || ^8.0.0",
"@storybook/preview-api": "^7.0.0 || ^8.0.0"
},
"dependencies": {
"@storybook/manager-api": "^7.0.0 || ^8.0.0",
"@storybook/preview-api": "^7.0.0 || ^8.0.0",
"@web/storybook-prebuilt": "^0.1.37",
"@web/storybook-utils": "^1.1.0",
"lit": "^2.7.5 || ^3.0.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/storybook-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@
"utils"
],
"peerDependencies": {
"@storybook/core-events": "^7.0.0 || ^8.0.0",
"react": "^18.0.0"
},
"dependencies": {
"@storybook/core-events": "^7.0.0 || ^8.0.0"
},
"devDependencies": {
"react": "^18.0.0"
}
Expand Down

0 comments on commit e5f5797

Please sign in to comment.