-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move @storybook/addons
to peerDependencies in all addons
#2335
Changes from 3 commits
da232ae
f3531a8
fad2ba1
dd0a5e5
23e8953
3fc64a1
9635c29
f78732a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ | |
"storybook": "start-storybook -p 9001" | ||
}, | ||
"dependencies": { | ||
"@storybook/addons": "^3.3.0-alpha.3", | ||
"@storybook/components": "^3.3.0-alpha.3", | ||
"global": "^4.3.2", | ||
"prop-types": "^15.5.10" | ||
|
@@ -33,6 +32,7 @@ | |
"shelljs": "^0.7.8" | ||
}, | ||
"peerDependencies": { | ||
"@storybook/addons": "^3.3.0-alpha", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should this be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It depends on whether we want to allow different versions of our packages to be used. If not, we should omit the caret in all cross-dependencies (direct and peer) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok, it turns out that lerna can update peerDeps as well, so I changed the version to the current one everywhere |
||
"react": "*", | ||
"react-dom": "*" | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It isn't actually used here