-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Reflect the new peer dependencies in docs and CLI templates #2714
Conversation
|
||
Make sure that you have `react` and `react-dom` in your dependencies as well because we list these as a peerDependency: | ||
Make sure that you have `react`, `react-dom`, and `babel-core` in your dependencies as well because we list these as a peerDependency: |
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.
I think this might read better as:
Make sure that you have `react`, `react-dom` in your dependencies and and `babel-core` in your devDependencies, because we list these as a peerDependency:
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.
If one has babel-core
in their dependencies, it will work as well
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.
yes, but it reads as if babel-core needs to be an actual dependency, I guess I am too literal with the word dependencies
🤷♂️
Codecov Report
@@ Coverage Diff @@
## master #2714 +/- ##
=======================================
Coverage 34.35% 34.35%
=======================================
Files 390 390
Lines 8772 8772
Branches 909 907 -2
=======================================
Hits 3014 3014
- Misses 5135 5164 +29
+ Partials 623 594 -29
Continue to review full report at Codecov.
|
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.
LGTM, though the snapshot test is failing due to dep ordering. (I tried updating it it on my local machine, but the snapshot order looks correct to me?!!)
Looks like there's some kind of race condition, will fix |
Reflect the new peer dependencies in docs and CLI templates
Issue: As someone has pointed out, both quick and slow start guides don't work currently, because they're missing the newly added peerDependencies