* [doctor] run tests in parallel
* refactor into separate parallel runner
* unit tests
* prevent null error when there's network errors during checks
* fix verb conjugation to read a little nicer
* Update packages/expo-doctor/src/checks/InstalledDependencyVersionCheck.ts
Co-authored-by: Aman Mittal <[email protected]>
* Update packages/expo-doctor/src/checks/InstalledDependencyVersionCheck.ts
Co-authored-by: Brent Vatne <[email protected]>
* fuzzier string match since debug mode is on for automated tests
---------
Co-authored-by: Aman Mittal <[email protected]>
Co-authored-by: Brent Vatne <[email protected]>
* 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]>
# Why
officially add sdk 48 support for install-expo-modules
# How
add sdk 48 to the version mappings
# Test Plan
```sh
$ npx react-native init RN071 --version 0.71
$ cd RN071
$ /path/to/expo/expo-cli/packages/install-expo-modules/build/index.js
```
* feature(create-expo-app): add support for examples
* fix(create-expo-app): update to tar 6.1.13 to avoid premature closed stream errors with node 18+
* test(create-expo-app): explicitly turn off CI even in CI
* fix(create-expo-app): throw when --template and --example are both used