-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
fix(gatsby-plugin-styletron): Styletron to peerDependencies #22731
Conversation
1330d5c
to
dccfb5a
Compare
Can you explain the problem you have? We typically encourage everyone to open an issue before the PR so that there was enough context on the problem. |
We don't want projects to end up with more than one Styletron version or not be able to upgrade as Styletron is plugin's dependency vs peer. |
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.
Hey @nadiia
Thanks, peer-deps make sense here. I slapped the breaking-change label on there so we don't forget to push a major out.
If you clear your package-lock.json or yarn.lock you probably end up with only 1 version.
Successfully published in gatsby-plugin-styletron@5.0.0 |
Thank you for your PR! And sorry to keep you waiting to get this resolved. |
Description
Move
styletron-react
andstyletron-engine-atomic
topeerDependencies
ingatsby-plugin-styletron
.Documentation