-
Notifications
You must be signed in to change notification settings - Fork 906
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
feat(doctor): adjust healthchecks based on where command was ran #2049
Conversation
Initially we thought about using doctor as a tool to verify that the environment is set up correctly to init an app. I guess that use case could be moved to init anyway |
cc @arushikesarwani94 wdyt? |
ATM doctor is definitely a tool to verify that the environment is set up correctly to init an app. Not yet moved completely to init. This is also majorly used in issues reported in RN repo as a recommendation to run doctor and paste it's output to quickly spot something wrong with the set-up. The plan was also to move RN packages like |
What we should take into account is that right now we have few parts of |
IMHO This should be the preferred approach.
My 2c: It still makes sense to run outside of a project. |
@cortinico make sense, so I will adjust this PR to check if the command was ran outside React Native project if yes I will hide the project specific checks. 👍 |
a9c05a1
to
1c79acc
Compare
doctor
command to project commands1c79acc
to
25f8d52
Compare
After final testing, the |
Summary:
Update
doctor
command to detect if command was ran in React Native app, if yes we can show the project specific checks.Test plan
Checklist