<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in withMetroResolvers.ts</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>8a424beb - [lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/withMetroResolvers.ts#8a424beb</link>
        <description>[lint] Upgrade to Prettier v3, typescript-eslint to v6 (#23544)Why---Prettier 3 is out. Add support for it with this linter config.**Note for reviewer:** the first commit is the one with the actualchanges. The rest of this PR are changes to get the linter passing(mostly autofix).How---Update eslint-config-prettier and eslint-plugin-prettier. To addressdeprecation warnings, also update typescript-eslint/parser andtypescript-eslint/eslint-plugin.Because of an update to typescript-eslint/parser, we need to suppressdeprecation warnings (documented in a comment).Regenerated test snapshots. Due to the upgraded dependencies, typecastsand optional chaining are now auto-fixable by lint. This convertswarnings into autofixes.Test Plan---`yarn test` in the linter config. Run `expotools check --all --fix-lint--no-build --no-test --no-uniformity-check` to try this config on thewhole repo.---------Co-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/withMetroResolvers.ts</description>
        <pubDate>Fri, 11 Aug 2023 07:31:41 +0000</pubDate>
        <dc:creator>James Ide &lt;ide@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>4e5f28ee - feat(metro): support mjs extensions in Expo (#23528)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/withMetroResolvers.ts#4e5f28ee</link>
        <description>feat(metro): support mjs extensions in Expo (#23528)# Why- A number of libraries are using this file, unclear how we should useit though.- This PR doesn&apos;t enable `unstable_packageExports` but it does pull inthe default `unstable_conditionNames` from the recommended react-nativemetro config.- mjs is resolved after js/ts files when bundling for Node.jsenvironments.# Test Plan- Expo Camera works in Expo Router on web.- Added tests for continuous functionality.&lt;!--Please describe how you tested this change and how a reviewer couldreproduce your test, especially if this PR does not include automatedtests! If possible, please also provide terminal output and/orscreenshots demonstrating your test/reproduction.--&gt;# Checklist&lt;!--Please check the appropriate items below if they apply to your diff.This is required for changes to Expo modules.--&gt;- [ ] Documentation is up to date to reflect these changes (eg:https://docs.expo.dev and README.md).- [ ] Conforms with the [Documentation Writing StyleGuide](https://github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md)- [ ] This diff will work correctly for `npx expo prebuild` &amp; EAS Build(eg: updated a module plugin).---------Co-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/withMetroResolvers.ts</description>
        <pubDate>Sat, 29 Jul 2023 17:54:23 +0000</pubDate>
        <dc:creator>Evan Bacon &lt;bacon@expo.io&gt;</dc:creator>
    </item>
<item>
        <title>2fbedb18 - feat(cli, metro): add inverse import error stack (#23551)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/withMetroResolvers.ts#2fbedb18</link>
        <description>feat(cli, metro): add inverse import error stack (#23551)# WhyMany users encounter issues where a library reaches into react-nativeinternals on web and the error isn&apos;t helpful. This PR creates a graph ofresolutions to print the full stack of imports that lead to an invalidresolution. This helps show which application code can be modified tofix a bug.Unclear if we want to add an experimental version of this in Expo CLI orin Metro. For now, I&apos;m opening the draft so some power-users can pullthe branch and use it to debug their projects.I&apos;ll be splitting parts of this PR out and merging them into upstream(expo/expo) in the meantime.### Before&lt;img width=&quot;1140&quot; alt=&quot;Screenshot 2023-07-15 at 4 24 21 PM&quot;src=&quot;https://github.com/expo/expo/assets/9664363/d75291e8-7ba0-45ae-b236-e688be8eee16&quot;&gt;### After&lt;img width=&quot;1148&quot; alt=&quot;Screenshot 2023-07-15 at 4 17 21 PM&quot;src=&quot;https://github.com/expo/expo/assets/9664363/4da8cbb7-c55e-4697-a09b-fb2e4752d5ec&quot;&gt;## Usage in dev- Pull this branch- [Setup local CLI indev](https://github.com/expo/expo/blob/main/packages/%40expo/cli/README.md#contributing).- Start your project with local CLI in dev.# Test Plan- TBD---------Co-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/withMetroResolvers.ts</description>
        <pubDate>Fri, 28 Jul 2023 03:48:35 +0000</pubDate>
        <dc:creator>Evan Bacon &lt;bacon@expo.io&gt;</dc:creator>
    </item>
<item>
        <title>6fb512fa - fix(cli): Set `preferNativePlatform` to `false` for all web requests. (#23527)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/withMetroResolvers.ts#6fb512fa</link>
        <description>fix(cli): Set `preferNativePlatform` to `false` for all web requests. (#23527)# Why- Currently we fallback on the default or user-defined resolver if theexpo resolver fails. Now we&apos;ll skip the default if the expo resolverasserts.- If the user-defined resolver is called, it will now have`preferNativePlatform` disabled. This ensures we never attempt toresolve a web file with `.native` extensions.# Test Plan- Unit tests---------Co-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/withMetroResolvers.ts</description>
        <pubDate>Fri, 14 Jul 2023 20:26:58 +0000</pubDate>
        <dc:creator>Evan Bacon &lt;bacon@expo.io&gt;</dc:creator>
    </item>
<item>
        <title>837127ed - fix(cli): allow chained Metro resolvers to resolve when the predecessor resolvers throw a Metro resolution error. (#20704)</title>
        <link>http://172.16.0.5:8080/history/expo/packages/@expo/cli/src/start/server/metro/withMetroResolvers.ts#837127ed</link>
        <description>fix(cli): allow chained Metro resolvers to resolve when the predecessor resolvers throw a Metro resolution error. (#20704)# WhyReimplements #19874 but with tests and proper checking.&lt;!--Please describe the motivation for this PR, and link to relevant GitHubissues, forums posts, or feature requests.--&gt;# How- When a metro resolver throws a metro resolution error, we shouldattempt to resolve using the next resolver in the chain.- Added debug logs so users can examine the progress.- Added tests for all known cases.Co-authored-by: Expo Bot &lt;34669131+expo-bot@users.noreply.github.com&gt;

            List of files:
            /expo/packages/@expo/cli/src/start/server/metro/withMetroResolvers.ts</description>
        <pubDate>Wed, 04 Jan 2023 16:26:21 +0000</pubDate>
        <dc:creator>Evan Bacon &lt;bacon@expo.io&gt;</dc:creator>
    </item>
</channel>
</rss>
