Summary:
In newer builds of react-native if you passed parameters PRODUCTION=1, flipper pods won't get installed
you can see that in their codebase here [react_native_pods.rb](6a43fafd78/scripts/react_native_pods.rb (L140))
so when building ios `react-native-flipper` set `compiler_flags = '-DFB_SONARKIT_ENABLED=1'` in the podspec file
which initializeFlipper and lead to the following error:
`node_modules/react-native-flipper/ios/FlipperReactNativeJavaScriptPluginManager.h:12:9: 'FlipperKit/FlipperClient.h' file not found`
## Changelog
use same condition as react-native to wrap `s.compiler_flags = compiler_flags`
and conditionally pass `compiler_flags = '-DFB_SONARKIT_ENABLED=1'` to compiler_flags to avoid build problems
Pull Request resolved: https://github.com/facebook/flipper/pull/4275
Test Plan:
To reproduce
- create new react-native app
- install react-native-flipper `yarn add react-native-flipper`
- run `env PRODUCTION=1 npx pod-install `
- run `yarn ios`
Before patch:
```sh
node_modules/react-native-flipper/ios/FlipperReactNativeJavaScriptPluginManager.h:12:9: 'FlipperKit/FlipperClient.h' file not found
```
After patch:
```sh
▸ Build Succeeded
success Successfully built the app
```
Reviewed By: jknoxville
Differential Revision: D41298345
Pulled By: mweststrate
fbshipit-source-id: fb46772d46b8105fccb1abb673502bca428eea1d
Summary:
Bumps [metro-config](https://github.com/facebook/metro) from 0.73.1 to 0.75.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-config's releases</a>.</em></p>
<blockquote>
<h2>Release v0.75.0</h2>
<ul>
<li><strong>[Breaking]</strong>: Formalise minimum Node JS requirement at 14.17.0 via <code>package.json#engines</code>. (<a href="c3e453ede5</a>)</li>
<li><strong>[Breaking]</strong>: Filter untyped context properties passed to custom resolvers. (<a href="cb01ec09c6</a>)</li>
<li><strong>[Breaking]</strong>: Change default <code>context.redirectModulePath</code> implementation to return absolute path in all cases. (<a href="acbfe63d83</a>)</li>
<li><strong>[Feature]</strong>: Add <code>mainFields</code>, <code>getPackage</code>, and <code>getPackageForModule</code> to custom resolver context. (<a href="adfb59329f</a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.74.1...v0.75.0">https://github.com/facebook/metro/compare/v0.74.1...v0.75.0</a></p>
<h2>Release v0.74.1</h2>
<ul>
<li><strong>[Feature]</strong>: Add <code>babel/plugin-proposal-numeric-separator</code> to <code>metro-react-native-babel-preset</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/681">facebook/metro#681</a> by <a href="https://github.com/SConaway"><code>@SConaway</code></a>)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.74.0...v0.74.1">https://github.com/facebook/metro/compare/v0.74.0...v0.74.1</a></p>
<h2>Release v0.74.0</h2>
<ul>
<li><strong>[Breaking]</strong> Remove <code>@babel/plugin-transform-template-literals</code> from metro-react-native-babel-preset (<a href="322dea8dc7</a>)</li>
<li><strong>[Breaking]</strong> Remove <code>postProcessBundleSourcemap</code> from config (<a href="339794e434</a>)</li>
<li><strong>[Fix]</strong> Don't log ENOENT errors to console for expected URL stack frames (<a href="1031ae6713</a>)</li>
<li><strong>[Fix]</strong> Don't attempt to use the <code>find</code> crawler on Windows (<a href="735aa9f523</a>)</li>
<li><strong>[Performance]</strong> Improve AST processing during transformation (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/854">facebook/metro#854</a> by <a href="https://github.com/EvanBacon"><code>@EvanBacon</code></a>)</li>
<li><strong>[Performance]</strong> Improve Fast Refresh responsiveness when watching a large number of files (<a href="b942eca551</a>)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.73.6...v0.74.0">https://github.com/facebook/metro/compare/v0.73.6...v0.74.0</a></p>
<h2>Release v0.73.7</h2>
<p><em>This is a hotfix on the <code>0.73.x</code> branch.</em></p>
<ul>
<li><strong>[Fix]</strong> Don't attempt to use the <code>find</code> crawler on Windows (<a href="370301981b</a>)</li>
</ul>
<h2>Release v0.73.6</h2>
<ul>
<li><strong>[Fix]</strong> Fix duplicate 'add' events, reduce dropped events on new subtrees in <code>NodeWatcher</code> (non-Watchman, non-macOS).(<a href="51fb7e349c</a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> <code>experimentalImportBundleSupport</code>: Move bundle path hints into serialised dependency map(<a href="https://github-redirect.dependabot.com/facebook/metro/pull/901">facebook/metro#901</a>)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.73.5...v0.73.6">https://github.com/facebook/metro/compare/v0.73.5...v0.73.6</a></p>
<h2>Release v0.73.5</h2>
<ul>
<li><strong>[Fix]</strong>: Make all <code>getTransformOptions</code> result properties optional. (<a href="a07c8235a3</a>)</li>
<li><strong>[Fix]</strong>: Bug that can lead to "unknown module" errors at runtime after an incremental build. (<a href="b1be263f7d</a>)</li>
<li><strong>[Fix]</strong>: <code>metro-runtime</code>: Re-throw cached module errors without wrapping. (<a href="032c4a1e03</a>)</li>
<li><strong>[Fix]</strong> Bump <code>babel/types</code> dependency to <code>^7.20.0</code> for more consistent exposed AST Bump <code>babel/types</code> dependency to <code>^7.20.0</code> for more consistent exposed AST</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.73.4...v0.73.5">https://github.com/facebook/metro/compare/v0.73.4...v0.73.5</a></p>
<h2>Release v0.73.4</h2>
<ul>
<li><strong>[Feature]:</strong> Expose <code>watch</code> option in <code>RunServerOptions</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/889">facebook/metro#889</a> by <a href="https://github.com/EvanBacon"><code>@EvanBacon</code></a>)</li>
<li><strong>[Feature]:</strong> <code>metro-runtime</code>: Emit additional context on WebSocket <code>'close'</code> events (<a href="d54986c49c</a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a110931489"><code>a110931</code></a> Release 0.75.0</li>
<li><a href="28b38bb0af"><code>28b38bb</code></a> Remove duplicated engines entry from metro-symbolicate package.json</li>
<li><a href="acbfe63d83"><code>acbfe63</code></a> Refactor subpath matching logic in browser spec resolution</li>
<li><a href="c3e453ede5"><code>c3e453e</code></a> Add "engines" field to all packages to indicate minimum Node JS version</li>
<li><a href="e890c997d0"><code>e890c99</code></a> Back out "Process files before adding them to <code>FileSystem</code>"</li>
<li><a href="1a81060c6c"><code>1a81060</code></a> Process files before adding them to <code>FileSystem</code></li>
<li><a href="aa442cacdb"><code>aa442ca</code></a> Move default redirectModulePath implementation into metro-resolver</li>
<li><a href="adfb59329f"><code>adfb593</code></a> Add getPackageForModule function to resolution context</li>
<li><a href="11a468140c"><code>11a4681</code></a> Document unstable_perfLoggerFactory (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/920">https://github.com/facebook/flipper/issues/920</a>)</li>
<li><a href="7acb686f28"><code>7acb686</code></a> allow passing config for unstable_perfLoggerFactory without warning</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.73.1...v0.75.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/4488
Reviewed By: lblasa
Differential Revision: D43345664
Pulled By: ivanmisuno
fbshipit-source-id: 5d790d6f3990692f6c9021c9c3ee8c62fade5a7e
Summary:
allow-large-files
Bumps [react-native](https://github.com/facebook/react-native) from 0.68.2 to 0.68.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react-native/releases">react-native's releases</a>.</em></p>
<blockquote>
<h2>0.68.4</h2>
<h3>Changed</h3>
<ul>
<li>Bump version of <code>promise</code> from 8.0.3 to 8.2.0, enabling <code>Promise.allSettled</code> (<a href="951538c080">951538c080</a> by <a href="https://github.com/retyui"><code>@retyui</code></a>)</li>
<li>Bump react-native-codegen to 0.0.18 (<a href="40a3ae3613">40a3ae3613</a> by <a href="https://github.com/dmytrorykun"><code>@dmytrorykun</code></a>)</li>
</ul>
<h4>Android specific</h4>
<ul>
<li>Correctly resolve classes with FindClass(..) (<a href="361b310bcc">361b310bcc</a> by <a href="https://github.com/evancharlton"><code>@evancharlton</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Codegen should ignore <code>.d.ts</code> files (<a href="0f0d52067c">0f0d52067c</a> by <a href="https://github.com/tido64"><code>@tido64</code></a>)</li>
</ul>
<h4>iOS specific</h4>
<ul>
<li>Fix the way the orientation events are published (<a href="7d42106d4c">7d42106d4c</a> by <a href="https://github.com/lbaldy">lbaldy</a>)</li>
</ul>
<hr />
<p>You can participate in the conversation on the status of this release in this <a href="https://github.com/reactwg/react-native-releases/discussions/37">discussion</a></p>
<hr />
<p>To help you upgrade to this version, you can use the <a href="https://react-native-community.github.io/upgrade-helper/">upgrade helper</a> ⚛️</p>
<hr />
<p>You can find the whole changelog history in the <a href="https://github.com/facebook/react-native/blob/main/CHANGELOG.md">changelog.md file</a></p>
<h2>0.68.3</h2>
<h3>Changed</h3>
<h4>Android specific</h4>
<ul>
<li>Let's not build reactnativeutilsjni shared library (<a href="af9225ec5f">af9225ec5f</a> by <a href="https://github.com/SparshaSaha"><code>@SparshaSaha</code></a>)</li>
<li>Modified <strong>getDefaultJSExecutorFactory</strong> method (<a href="87cfd386cb">87cfd386cb</a> by <a href="https://github.com/KunalFarmah98"><code>@KunalFarmah98</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Use monotonic clock for performance.now() (<a href="114d31feee">114d31feee</a>)</li>
</ul>
<h4>Android specific</h4>
<ul>
<li>Logging a soft error when ReactRootView has an id other than -1 instead of crashing the app in hybrid apps (<a href="1ca2c24930">1ca2c24930</a> by <a href="https://github.com/Kunal-Airtel2022"><code>@Kunal-Airtel2022</code></a>)</li>
</ul>
<hr />
<p>You can participate in the conversation on the status of this release in this <a href="https://github.com/reactwg/react-native-releases/discussions/29">discussion</a></p>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/facebook/react-native/blob/main/CHANGELOG.md">react-native's changelog</a>.</em></p>
<blockquote>
<h2>v0.68.4</h2>
<h3>Changed</h3>
<ul>
<li>Bump version of <code>promise</code> from 8.0.3 to 8.2.0, enabling <code>Promise.allSettled</code> (<a href="951538c080">951538c080</a> by <a href="https://github.com/retyui"><code>@retyui</code></a>)</li>
<li>Bump react-native-codegen to 0.0.18 (<a href="40a3ae3613">40a3ae3613</a> by <a href="https://github.com/dmytrorykun"><code>@dmytrorykun</code></a>)</li>
</ul>
<h4>Android specific</h4>
<ul>
<li>Correctly resolve classes with FindClass(..) (<a href="361b310bcc">361b310bcc</a> by <a href="https://github.com/evancharlton"><code>@evancharlton</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Codegen should ignore <code>.d.ts</code> files (<a href="0f0d52067c">0f0d52067c</a> by <a href="https://github.com/tido64"><code>@tido64</code></a>)</li>
</ul>
<h4>iOS specific</h4>
<ul>
<li>Fix the way the orientation events are published (<a href="7d42106d4c">7d42106d4c</a> by <a href="https://github.com/lbaldy">lbaldy</a>)</li>
</ul>
<h2>v0.68.3</h2>
<h3>Changed</h3>
<h4>Android specific</h4>
<ul>
<li>Let's not build reactnativeutilsjni shared library (<a href="af9225ec5f">af9225ec5f</a> by <a href="https://github.com/SparshaSaha"><code>@SparshaSaha</code></a>)</li>
<li>Modified <strong>getDefaultJSExecutorFactory</strong> method (<a href="87cfd386cb">87cfd386cb</a> by <a href="https://github.com/KunalFarmah98"><code>@KunalFarmah98</code></a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Use monotonic clock for performance.now() (<a href="114d31feee">114d31feee</a>)</li>
</ul>
<h4>Android specific</h4>
<ul>
<li>Logging a soft error when ReactRootView has an id other than -1 instead of crashing the app in hybrid apps (<a href="1ca2c24930">1ca2c24930</a> by <a href="https://github.com/Kunal-Airtel2022"><code>@Kunal-Airtel2022</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b55518c4bf"><code>b55518c</code></a> [0.68.4] Bump version numbers</li>
<li><a href="40a3ae3613"><code>40a3ae3</code></a> Bump react-native-codegen to 0.0.18</li>
<li><a href="782e0bff4a"><code>782e0bf</code></a> Add support <code>Promise.allSettled</code> out of box (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/34544">#34544</a>)</li>
<li><a href="e22ed7d676"><code>e22ed7d</code></a> fix: Correctly resolve classes with FindClass(..) (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/34533">#34533</a>)</li>
<li><a href="4575ef516f"><code>4575ef5</code></a> Fix codegen trying to parse <code>.d.ts</code> files (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/34439">#34439</a>)</li>
<li><a href="4f7eb6197f"><code>4f7eb61</code></a> prevent from publishing dimensions change event when app changes state (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/34014">#34014</a>)</li>
<li><a href="36153e2557"><code>36153e2</code></a> [0.68.3] Bump version numbers</li>
<li><a href="d2d244cb8f"><code>d2d244c</code></a> [LOCAL] align pods version config with the rest of the repo</li>
<li><a href="af9225ec5f"><code>af9225e</code></a> Let's not build reactnativeutilsjni shared library (<a href="https://github-redirect.dependabot.com/facebook/react-native/issues/34345">#34345</a>)</li>
<li><a href="4555fc7865"><code>4555fc7</code></a> Added additional builder method receiving arguments for using jsc or hermes t...</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/react-native/compare/v0.68.2...v0.68.4">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/4206
Reviewed By: aigoncharov
Differential Revision: D40334958
Pulled By: mweststrate
fbshipit-source-id: d9f520596ea7c9868686d5f7d9c41e53abfcb4dc
Summary:
Bumps [metro-config](https://github.com/facebook/metro) from 0.72.3 to 0.73.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-config's releases</a>.</em></p>
<blockquote>
<h2>Release v0.73.1</h2>
<ul>
<li><strong>[Fix]</strong>: Generate a unique name for each Watchman subscription. (3b0e78a76f4eea9f02e8b8464cf5b5e4549d6ac7)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental][Fix]</strong>: Normalize file paths for <code>require.context</code> on Windows (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/876">facebook/metro#876</a> by <a href="https://github.com/byCedric"><code>@byCedric</code></a>)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.73.0...v0.73.1">https://github.com/facebook/metro/compare/v0.73.0...v0.73.1</a></p>
<h2>Release v0.73.0</h2>
<ul>
<li><strong>[Breaking]</strong> Switch default minifier from <code>uglify-es</code> to <code>terser</code>. (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/871">https://github.com/facebook/flipper/issues/871</a>)</li>
<li><strong>[Breaking]</strong>: Increase minimum supported Node.js version to ^14.17.0. (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/872">https://github.com/facebook/flipper/issues/872</a>)</li>
<li><strong>[Breaking]</strong>: Drop support for old (pre-CalVer) Watchman versions. (422055a5ccaca41edb1864ca07d4f810b3e03791)</li>
<li><strong>[Feature]</strong>: Support <code>fsevents</code> watcher on Apple Silicon. (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/875">https://github.com/facebook/flipper/issues/875</a>)</li>
<li><strong>[Feature]</strong>: Support loading source URLs in inspector-proxy. (db19b06bdd6d2fbbe109e4f3be4b3af3489c1f1c)</li>
<li><strong>[Fix]</strong>: Log warning on unexpected error during <code>metro-file-map</code> cache read. (7028b7f51074f9ceef22258a8643d0f90de2388b)</li>
<li><strong>[Fix]</strong>: Remove exponentiation operator transform from <code>metro-react-native-babel-preset</code>. (c2365bb1d72a3773b31c05feab13a96afac484df)</li>
<li><strong>[Fix]</strong>: Don’t check <code>watchman --version</code> if <code>useWatchman</code> is false. (76c9307ed61efa7794b30b4e585cc5941ed73e16)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.72.3...v0.73.0">https://github.com/facebook/metro/compare/v0.72.3...v0.73.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="79266cc0ef"><code>79266cc</code></a> Release 0.73.1</li>
<li><a href="3b0e78a76f"><code>3b0e78a</code></a> Use per-watch Watchman subscription names</li>
<li><a href="4bace2a9f3"><code>4bace2a</code></a> Normalize file paths for require context on Windows (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/876">https://github.com/facebook/flipper/issues/876</a>)</li>
<li><a href="3ab9c00f3f"><code>3ab9c00</code></a> Fix a $FlowFixMe</li>
<li><a href="1b064f2639"><code>1b064f2</code></a> Release 0.73.0</li>
<li><a href="4b78430648"><code>4b78430</code></a> Introduce a platform allowlist for libraries</li>
<li><a href="f0e9c731da"><code>f0e9c73</code></a> Add watch-related <code>debug</code> and <code>perfLogger</code> output to <code>metro-file-map</code></li>
<li><a href="43a1ba4ca0"><code>43a1ba4</code></a> Revert D39966518: Release 0.73.0</li>
<li><a href="b83ad852ed"><code>b83ad85</code></a> Release 0.73.0</li>
<li><a href="db19b06bdd"><code>db19b06</code></a> Support loading source URLs in inspector-proxy</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.72.3...v0.73.1">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/4193
Reviewed By: aigoncharov
Differential Revision: D40334991
Pulled By: mweststrate
fbshipit-source-id: 2e069dd11263fe5c9c77b4955074a5e8ee46abe2
Summary: Allowing Flipper react native code also when FB_SONARKIT_ENABLED is defined
Reviewed By: lblasa
Differential Revision: D40224308
fbshipit-source-id: e9cf1c0e04b5748ffb5bb97fe9fd9046956b32b5
Summary:
Bumps [metro-config](https://github.com/facebook/metro) from 0.72.0 to 0.72.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-config's releases</a>.</em></p>
<blockquote>
<h2>Release v0.72.3</h2>
<ul>
<li><strong>[Fix]</strong>: Incremental build crashing when garbage collecting modules reachable via multiple paths in the graph. (<a href="50bb451e9c</a>)</li>
<li>Updated metro logo on startup</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.72.2...v0.72.3">https://github.com/facebook/metro/compare/v0.72.2...v0.72.3</a></p>
<h2>Release 0.72.2</h2>
<ul>
<li><strong>[Feature]</strong> Pass <a href="https://facebook.github.io/metro/docs/resolution/#customresolveroptions-string-mixed"><code>customResolverOptions</code></a> from bundle URL into <code>resolveRequest</code> (<a href="623b55d548</a>)</li>
<li><strong>[Performance]</strong> Load <code>hermes-parser</code> conditionally when hermes is enabled (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/855">facebook/metro#855</a> by <a href="https://github.com/EvanBacon"><code>@EvanBacon</code></a>)</li>
<li><strong>[Performance]</strong> Lazily import <code>metro-hermes-compiler</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/856">facebook/metro#856</a> by <a href="https://github.com/EvanBacon"><code>@EvanBacon</code></a>)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.72.1%E2%80%A6v0.72.2"><code>v0.72.1...v0.72.2</code></a></p>
<h2>Release v0.72.1</h2>
<ul>
<li><strong>[Feature]</strong> Expose the <code>react-refresh/runtime</code> module as part of the <code>metro-runtime</code> package</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> Add <code>require.context</code> support (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/822">facebook/metro#822</a> by <a href="https://github.com/EvanBacon"><code>@EvanBacon</code></a>)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.72.0%E2%80%A6v0.72.1"><code>v0.72.0...v0.72.1</code></a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f9aaca6f47"><code>f9aaca6</code></a> Release 0.72.3</li>
<li><a href="4758e3771b"><code>4758e37</code></a> update version tool add missing package</li>
<li><a href="384e3ee4cb"><code>384e3ee</code></a> Remove unused Flow suppressions</li>
<li><a href="b5847b3bd7"><code>b5847b3</code></a> Prepare for Jest 27+</li>
<li><a href="19d364816a"><code>19d3648</code></a> Remove various unused $FlowFixMes</li>
<li><a href="50bb451e9c"><code>50bb451</code></a> Fix crash when GCing modules reachable via multiple paths</li>
<li><a href="e9ee037c4a"><code>e9ee037</code></a> Update ASCII art logo, print version when starting up</li>
<li><a href="e5f9b1e65b"><code>e5f9b1e</code></a> metro-react-native-interop-tools added literal error</li>
<li><a href="3215ff468d"><code>3215ff4</code></a> Fix hero buttons responsive layout</li>
<li><a href="299512936e"><code>2995129</code></a> metro-react-native-interop-tools modified the error structure</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.72.0...v0.72.3">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/4110
Reviewed By: antonk52
Differential Revision: D39933630
Pulled By: antonk52
fbshipit-source-id: 75239a63c65836d5657bc8541b4379e5751e58f9
Summary:
BREAKING CHANGE: it won't work with react-native CLI 4.2.2 as it will search for an xcode project
Fixes https://github.com/facebook/flipper/issues/3859
## Changelog
fix: dependency.platforms.ios.project is not allowed on RN 0.69
Pull Request resolved: https://github.com/facebook/flipper/pull/3860
Test Plan:
I don't know how to test my branch directly, but I did a simple change that can easily be tested with this method:
Start a fresh `react-native` 0.69 project:
```
npx react-native init flipperBugTest
```
Then install `react-native-flipper` package:
```
yarn add -D react-native-flipper
```
Navigate to `flipperBugTest/node_modules/react-native-flipper` and delete `react-native.config.js` file.
And start `react-native` metro:
```
react-native start
```
Reviewed By: antonk52
Differential Revision: D39345618
Pulled By: lblasa
fbshipit-source-id: 2cc74e2dd7100aab693c8e66f01d5b4ced402dd3
Summary:
Last diff in the the RNW saga.
This change creates the necessary bridgings between the module and the plugin.
With this in place, JS plugins can be written and used. Also, we have a fully functional RNW sample app.
Reviewed By: aigoncharov
Differential Revision: D39087480
fbshipit-source-id: f4fde404716aa619a64553ffa556d060f49c0ac7
Summary:
^
This diff brings most things together and can be considered the test platform for RNW.
With this, Flipper client gets initialised and started.
This means the application connects and is ready for debugging.
Reviewed By: antonk52
Differential Revision: D39054912
fbshipit-source-id: 94397f6a72b1e9d9c0f2f3efaf9967be525076cd
Summary: Introduces a Scheduler implementation using ReactDispatcher. The scheduler is/will be used by the FlipperConnectionManager as to serialise socket operations in it.
Reviewed By: antonk52
Differential Revision: D39053301
fbshipit-source-id: 5bc2d68a753ec4be3e28533b4c29e2d6ff6d8ba0
Summary:
This change is the direct results of doing the following:
npx react-native-windows-init --overwrite
Notes: ignore the format warnings below. In this case, the ordering of includes does matter. Missing license is for auto-generated files, so ignore too.
Reviewed By: aigoncharov
Differential Revision: D36775215
fbshipit-source-id: 1cd00ff2bfc258c8505e97dcdbd9cb4365c4acfb
Summary:
React Native 0.69 already depends on React 18 so it complains when using latest version of react-native-flipper.
## Changelog
Added React 18 as peer dependency for react-native-flipper
Pull Request resolved: https://github.com/facebook/flipper/pull/3993
Reviewed By: passy
Differential Revision: D38785141
Pulled By: mweststrate
fbshipit-source-id: 82b1832efde879a4dffec39f54fe61c521a56021
Summary:
Bumps [metro-config](https://github.com/facebook/metro) from 0.67.0 to 0.72.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro-config's releases</a>.</em></p>
<blockquote>
<h2>Release v0.72.0</h2>
<ul>
<li><strong>[Breaking]</strong> Enable React 17 new JSX transform (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/848">facebook/metro#848</a> by <a href="https://github.com/danilobuerger"><code>@danilobuerger</code></a>)</li>
<li><strong>[Breaking]</strong> Add <code>watcher.additionalExts</code> option, enable inclusion of <code>.cjs</code> and <code>.mjs</code> files by default (c1c6d9c09fa92aa2ba71d803fdfa480e4dbb6a51)</li>
<li><strong>[Breaking]</strong> <code>.json</code> files will no longer be implicitly resolved if removed from <code>resolver.sourceExts</code> (a3dc30aa0d54d65d6dbd426662f59b0ec398a612)</li>
<li><strong>[Breaking]</strong> With a default config, any <code>.jsx</code> files will now be resolved before <code>.json</code>, <code>.ts</code>, <code>.tsx</code> (1b479314dc08f2a2e2f76438971f32fcf431ee89)</li>
<li><strong>[Breaking]</strong> Enable strict CLI validation when <code>metro</code> is passed an invalid subcommand or argument (19c4f7edb85f5b61b056580515348ca9715dd361)</li>
<li><strong>[Feature]</strong> Add <code>start</code> alias for <code>serve</code> CLI command (19c4f7edb85f5b61b056580515348ca9715dd361)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.71.3%E2%80%A6v0.72.0"><code>v0.71.3...v0.72.0</code></a></p>
<h2>Release v0.71.3</h2>
<ul>
<li><strong>[Fix]</strong> End watchman client on calling MetroFileMap end. (fc042d06bb6db98dd819bb0d22b7d536ee396c24)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/metro/compare/v0.71.2...v0.71.3">https://github.com/facebook/metro/compare/v0.71.2...v0.71.3</a></p>
<h2>Release v0.71.2</h2>
<ul>
<li><strong>[Feature]</strong> Add <a href="https://facebook.github.io/metro/docs/configuration/#requirecycleignorepatterns"><code>requireCycleIgnorePatterns</code></a> option to suppress warnings for require cycles, suppress <code>node_modules</code> by default (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/707">facebook/metro#707</a> by <a href="https://github.com/hsource"><code>@hsource</code></a>)</li>
<li><strong>[Feature]</strong> Add <a href="https://facebook.github.io/metro/docs/configuration/#watchmandeferstates"><code>deferStates</code></a> option for Watchman (570c38039abc32b758f8d241896b21e28ca4ba83)</li>
<li><strong>[Fix]</strong> Incremental build bug with parallel edges to the same module (fc29a1177f883144674cf85a813b58567f69d545)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> Add <code>unstable_allowRequireContext</code> config option, implement transformer support for <a href="https://webpack.js.org/guides/dependency-management/#requirecontext"><code>require.context</code></a> (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/821">facebook/metro#821</a> by <a href="https://github.com/EvanBacon"><code>@EvanBacon</code></a>)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.71.1%E2%80%A6v0.71.2"><code>v0.71.1...v0.71.2</code></a></p>
<h2>Release v0.71.1</h2>
<ul>
<li><strong>[Fix]</strong> Add missing <code>.npmignore</code> files (e8bb8fb4035699c83fce4b35aabcaec208513f3c)</li>
<li><strong>[Fix]</strong> Rewrite DeltaBundler garbage collection (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/820">facebook/metro#820</a>)</li>
<li><strong>[Fix]</strong> Remove deprecated Prop Types from lazy imports (<a href="https://github-redirect.dependabot.com/facebook/metro/pull/824">facebook/metro#824</a> by <a href="https://github.com/ecreeth"><code>@ecreeth</code></a>)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
<ul>
<li><strong>[Experimental]</strong> Expose <code>unstable_fileMapCacheManagerFactory</code> config option (e7419900d2e063f2d531313f810d18c487f807f8)</li>
<li><strong>[Experimental]</strong> Add <code>unstable_perfLogger</code> config option (eec0d7bf00aa707ae210b25218501b3e17dc4bf2)</li>
<li><strong>[Experimental]</strong> Remove <code>unstable_hasteMapModulePath</code> from Metro config (1cae8d8007d04ba62a739a6c4dff991c69af26e4)</li>
</ul>
<p><strong>Full Changelog:</strong> <a href="https://github.com/facebook/metro/compare/v0.70.2%E2%80%A6v0.71.0"><code>v0.71.0...v0.71.1</code></a></p>
<h2>Release v0.71.0</h2>
<ul>
<li><strong>[Breaking]</strong> Reject runServer promise if the HTTP server can't start listening (f39af2cba2c3f39f674ad40ddf97ca7c3daa91f5)</li>
<li><strong>[Feature]</strong> Add <code>fileMapCacheDirectory</code> config option, deprecate <code>hasteMapCacheDirectory</code> (93966c0065e24dfaed15e409eeedf4b9bc209a41)</li>
<li><strong>[Fix]</strong> Fail <code>runServer</code> quickly if the port is not available (6d9623eec0250f8b0e78d1843c18a531444713ff)</li>
<li><strong>[Fix]</strong> Add explicit dependency on <code>babel/runtime</code> to <code>metro-runtime</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/816">https://github.com/facebook/flipper/issues/816</a>)</li>
<li><strong>[Fix]</strong> Fix missing dependency on <code>metro-transform-worker</code> (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/817">https://github.com/facebook/flipper/issues/817</a>)</li>
<li><strong>[Fix]</strong> Fix batching bugs causing modules to be incorrectly omitted from delta updates(<a href="https://github-redirect.dependabot.com/facebook/metro/issues/819">https://github.com/facebook/flipper/issues/819</a>)</li>
<li><strong>[Fix]</strong> <code>InspectorProxy</code>: Don't pass an <code>Error</code> object to <code>socket.close()</code> (fdc4ef17230ee093cfd302ddc8c59a88019b1f02)</li>
</ul>
<blockquote>
<p>NOTE: Experimental features are not covered by semver and can change at any time.</p>
</blockquote>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d699f9d141"><code>d699f9d</code></a> Release 0.72.0</li>
<li><a href="c1c6d9c09f"><code>c1c6d9c</code></a> Add watcher.additionalExts option, enable inclusion of .cjs and .mjs files by...</li>
<li><a href="a3dc30aa0d"><code>a3dc30a</code></a> Replace hard default of 'json' in sourceExts with package.json WatcherImpl glob</li>
<li><a href="1b479314dc"><code>1b47931</code></a> Add 'jsx' to resolver.sourceExts defaults</li>
<li><a href="75ac509182"><code>75ac509</code></a> update staticdocs</li>
<li><a href="d0ea806173"><code>d0ea806</code></a> Fixed typo causing option to not be applied (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/849">https://github.com/facebook/flipper/issues/849</a>)</li>
<li><a href="1b6dd6f05a"><code>1b6dd6f</code></a> Enable react 17 new jsx transform (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/848">https://github.com/facebook/flipper/issues/848</a>)</li>
<li><a href="b8252d866a"><code>b8252d8</code></a> Added isTurboModule helper function</li>
<li><a href="b6ebccf9e6"><code>b6ebccf</code></a> Remove MaskedViewIOS from react-native-github</li>
<li><a href="419caf7565"><code>419caf7</code></a> Release resolved-env</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.67.0...v0.72.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/3956
Reviewed By: lblasa
Differential Revision: D38315210
Pulled By: LukeDefeo
fbshipit-source-id: 71fc8336118f0fa67b5e19a8e78da323420eed89