Files
905f7497e8 Standalone Expo Doctor (#4641)
* start scaffolding expo doctor

* standalone doctor building, able to validate sdk version

* OG 44/45+ checks are working again (online only)

* invoking npx expo install --check now working

* added schema check; started refactor

* added remaining checks, error handling

* moved dependency check to spawnAsync

* put commented out commands back in

* npm/ watchman check

* add projectRoot to deep dep checks

* reorganize, clean up text

* moved spinner to top-level checks

* unit tests

* [schemer] make asset traversal compatible with default schema from API

* Update packages/expo-doctor/src/doctor.ts

Co-authored-by: Evan Bacon <[email protected]>

* Update packages/expo-doctor/src/checks/checks.types.ts

Co-authored-by: Evan Bacon <[email protected]>

* Update packages/expo-doctor/src/checks/IllegalPackageCheck.ts

Co-authored-by: Evan Bacon <[email protected]>

* move mocks to top level

* copied/ adapted log.ts from versioned cli

* updated unit tests to check Log mock

* inline object creation in tests

* chain global prereq checks in Promise.all

* added console grouping to Log

* fix typos

* remove unsupported node version

* remove unused parameter

* Update packages/expo-doctor/src/checks/IllegalPackageCheck.ts

Co-authored-by: Kim Brandwijk <[email protected]>

* Update log.ts

* add types

* Update packages/expo-doctor/src/index.ts

Co-authored-by: Kim Brandwijk <[email protected]>

* restrict to SDK 46+; fix compile errors

* better handling for invalid SDK version in app.json

* basic debug support

* modest renaming for explain code

* refactor try/ catch

* add FYI for unimodules check failure

* clean up conditional

* attempt to handle upper and lowercase asset validation paths

* downgraded @expo/config to remove config-plugins dep

* remove unused types

* explainDependencies tests

* remove comment that doesn't make sense

* added references to copied code from expo-cli doctor

* Add doctor to automated tests

* added SDK version filter for tests

* removed module

* Update packages/expo-doctor/src/doctor.ts

Co-authored-by: Evan Bacon <[email protected]>

* fix broken tests

* use Log.exit for fatal errors

* use chalk for color

* fix tests

* switch to debug package

* more ora.fail so logging happens under correct heading

---------

Co-authored-by: Evan Bacon <[email protected]>
Co-authored-by: Kim Brandwijk <[email protected]>
2023-02-15 19:33:16 -05:00
..
2023-02-15 19:33:16 -05:00