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

refactor(cli): enable inspector proxy with network support by default #22936

Merged
merged 6 commits into from
Jun 17, 2023

Conversation

byCedric
Copy link
Member

Why

Flipping this switch to be opt-out for SDK 49.

How

  • Renamed EXPO_USE_CUSTOM_INSPECTOR_PROXY=true to EXPO_NO_INSPECTOR_PROXY=false

This change made more sense as you would have to set EXPO_USE_CUSTOM_INSPECTOR_PROXY=false to revert back to the original (Metro) inspector proxy.

Test Plan

  • $ EXPO_DEBUG=true expo start -> should mention Expo inspector proxy enabled in the debug logs.

Checklist

@byCedric byCedric requested review from Kudo and EvanBacon June 16, 2023 12:28
@expo-bot expo-bot added the bot: suggestions ExpoBot has some suggestions label Jun 16, 2023
Co-authored-by: Expo Bot <34669131+expo-bot@users.noreply.github.com>
@expo-bot expo-bot added bot: passed checks ExpoBot has nothing to complain about and removed bot: suggestions ExpoBot has some suggestions labels Jun 16, 2023
@@ -326,6 +326,7 @@ For example, you are testing a new version of `react-native-reanimated` to verif
You can exclude specific packages from the version checks while still allowing the `install` command to install, check, and fix any other dependencies. This configuration extends to the checking done by `npx expo-doctor`.

To exclude packages from version checking, set the `expo.install` config object in your project's **package.json**:

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ran "format" on this page, which added this, but I can remove it 🤷 (but it seems like a good addition, separating code blocks with text a bit nicer)

Copy link
Contributor

@Kudo Kudo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leaving a nit comment. thanks for helping this 🙏

docs/pages/more/expo-cli.mdx Outdated Show resolved Hide resolved
{formatName(status)}
{note && `: ${note}`}
</span>
<span css={labelStyle}>{status ? formatName(status) + (note ? `: ${note}` : '') : note}</span>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was required to use the <StatusTag /> with just notes (as in, for just adding "SDK XX+")

image

@byCedric byCedric merged commit 33bd1a4 into main Jun 17, 2023
5 of 7 checks passed
@byCedric byCedric deleted the @bycedric/cli/enable-inspector-by-default branch June 17, 2023 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot: passed checks ExpoBot has nothing to complain about
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants