Skip to content
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

chore(cli): fix fast resolver #27686

Merged
merged 10 commits into from Mar 15, 2024
Merged

chore(cli): fix fast resolver #27686

merged 10 commits into from Mar 15, 2024

Conversation

EvanBacon
Copy link
Contributor

Why

There was an issue where we attempted to match against the resolution error in order to continue resolving, but the custom error didn't match our matcher function. Now we should be able to use fast resolver in most apps.

I've also switched the fs-extra methods over to fs which saves about 300ms in an app with 900 modules.

Test Plan

  • Tested manually.
  • Tests should keep working.
  • Added new tests for fragile check.

@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Mar 15, 2024
EvanBacon and others added 4 commits March 14, 2024 19:48
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Mar 15, 2024
@EvanBacon EvanBacon merged commit c779c4e into main Mar 15, 2024
7 checks passed
@EvanBacon EvanBacon deleted the @evanbacon/cli/fix-fast-resolver branch March 15, 2024 17:16
marklawlor pushed a commit that referenced this pull request Mar 18, 2024
# Why

There was an issue where we attempted to match against the resolution
error in order to continue resolving, but the custom error didn't match
our matcher function. Now we should be able to use fast resolver in most
apps.

I've also switched the fs-extra methods over to fs which saves about
300ms in an app with 900 modules.

# Test Plan

- Tested manually.
- Tests should keep working.
- Added new tests for fragile check.

---------

Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@brentvatne brentvatne added the published Changes from the PR have been published to npm label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: fingerprint compatible bot: passed checks ExpoBot has nothing to complain about published Changes from the PR have been published to npm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants