-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
dependencies: move chalk to react-dev-utils #6150
dependencies: move chalk to react-dev-utils #6150
Conversation
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed. If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
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.
Oops haha, it wasn't intentional. Wouldn't be misleading to have a package with it's dependencies listed on |
Also @mrmckeb, I didn't understand how this would work 🤔 By not removing the dependency from Please explain to me if I understood wrongly, but as far as I've seen on https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/scripts/eject.js#L178, the code just copies the |
Hi @otaviopace, the issue is that you've now changed all usage of 'chalk' to user I understand why |
7f50005
to
9a7ce2f
Compare
Ohh, I see @mrmckeb , I've fixed the issue 🙂 |
9a7ce2f
to
56a2b04
Compare
Hmm, the |
56a2b04
to
25b20a3
Compare
Hi @otaviopace. We're currently working on the CI builds to fix what you've noticed here. Sorry it's holding you up. |
No problem @ianshmitz! I am not on a hurry 🙂 |
25b20a3
to
304491e
Compare
This is being done to minimize the amount of dependencies are expose to the end user when running a `npm run eject`. Related to issue: facebook#751
Yesss, I rebased my branch with the |
Please sign the CLA and we can get this merged. 😄 |
@Timer, done! I've signed the CLA 🙂 |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
Thanks @otaviopace, great work :) |
Yayyyy!!!! 🎊 |
This is being done to minimize the amount of dependencies
are expose to the end user when running a
npm run eject
.Related to issue: #751.
I thought since
chalk
is probably not used directly by the end user, it could be onreact-dev-utils
instead of directly onreact-scripts
dependencies.