565d26a72f32756a80b9dfbc373f86a4bc487903
207 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
ddf483a5e9 |
Bump jest from 24.9.0 to 26.1.0 in /react-native/ReactNativeFlipperExample (#1356)
Summary: Bumps [jest](https://github.com/facebook/jest) from 24.9.0 to 26.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/releases">jest's releases</a>.</em></p> <blockquote> <h2>26.1.0</h2> <h3>Features</h3> <ul> <li><code>[jest-mock]</code> Export <code>Mock</code>, <code>MockInstance</code>, <code>SpyInstance</code> types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10138">#10138</a>)</li> <li><code>[jest-config]</code> Support config files exporting (<code>async</code>) <code>function</code>s (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10001">#10001</a>)</li> <li><code>[jest-cli, jest-core]</code> Add <code>--selectProjects</code> CLI argument to filter test suites by project name (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/8612">#8612</a>)</li> <li><code>[jest-cli, jest-init]</code> Add <code>coverageProvider</code> to <code>jest --init</code> prompts (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10044">#10044</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-console]</code> <code>getConsoleOutput</code> to receive global stack trace config and use it to format stack trace (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10081">#10081</a>)</li> <li><code>[jest-jasmine2]</code> Stop adding <code>:</code> after an error that has no message (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9990">#9990</a>)</li> <li><code>[jest-diff]</code> Control no diff message color with <code>commonColor</code> in diff options (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9997">#9997</a>)</li> <li><code>[jest-snapshot]</code> Fix TypeScript compilation (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10008">#10008</a>)</li> </ul> <h3>Chore & Maintenance</h3> <ul> <li><code>[docs]</code> Correct confusing filename in <code>enableAutomock</code> example (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10055">#10055</a>)</li> <li><code>[jest-core]</code> 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10000">#10000</a>)</li> <li><code>[jest-core, jest-reporters, jest-test-result, jest-types]</code> Cleanup <code>displayName</code> type (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10049">#10049</a>)</li> <li><code>[jest-runtime]</code> Jest-internal sandbox escape hatch (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9907">#9907</a>)</li> <li><code>[jest-fake-timers]</code> Update <code>now</code> param type to support <code>Date</code> in addition to <code>number</code>. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10169">#10169</a>)</li> <li><code>[docs]</code> Add param to <code>setSystemTime</code> docs and remove preceding period from it and <code>getRealSystemTime</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10169">#10169</a>)</li> <li><code>[jest-snapshot, jest-util]</code> Replace <code>make-dir</code> with <code>fs.mkdir</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10136">#10136</a>)</li> </ul> <h3>Performance</h3> <ul> <li><code>[jest-core, jest-transform, jest-haste-map]</code> Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10131">#10131</a>)</li> </ul> <h2>26.0.1</h2> <h3>Fixes</h3> <ul> <li><code>[jest-circus]</code> Backward compatibility for deprecated <code>DescribeBlock.tests</code> to not break e.g. Detox reporter</li> </ul> <h2>26.0.0</h2> <h3>Features</h3> <ul> <li><code>[jest-environment-jsdom]</code> [<strong>BREAKING</strong>] Upgrade <code>jsdom</code> to v16 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9606">#9606</a>)</li> <li><code>[jest/fake-timers]</code> Add possibility to use a modern implementation of fake timers, backed by <code>sinonjs/fake-timers</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/7776">#7776</a>)</li> <li><code>[jest-runtime]</code> Add <code>createMockFromModule</code> as an alias for <code>genMockFromModule</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9962">#9962</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[babel-jest]</code> Handle <code>null</code> being passed to <code>createTransformer</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9955">#9955</a>)</li> <li><code>[jest-circus, jest-console, jest-jasmine2, jest-reporters, jest-util, pretty-format]</code> Fix time durating formatting and consolidate time formatting code (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9765">#9765</a>)</li> <li><code>[jest-circus]</code> [<strong>BREAKING</strong>] Fail tests if a test takes a done callback and have return values (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9129">#9129</a>)</li> <li><code>[jest-circus]</code> [<strong>BREAKING</strong>] Throw a proper error if a test / hook is defined asynchronously (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/8096">#8096</a>)</li> <li><code>[jest-circus]</code> Throw more descriptive error if hook is defined inside test (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9957">#9957</a>)</li> <li><code>[jest-circus]</code> [<strong>BREAKING</strong>] Align execution order of tests to match <code>jasmine</code>'s top to bottom order (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9965">#9965</a>)</li> <li><code>[jest-config, jest-resolve]</code> [<strong>BREAKING</strong>] Remove support for <code>browser</code> field (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9943">#9943</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/blob/master/CHANGELOG.md">jest's changelog</a>.</em></p> <blockquote> <h2>26.1.0</h2> <h3>Features</h3> <ul> <li><code>[jest-mock]</code> Export <code>Mock</code>, <code>MockInstance</code>, <code>SpyInstance</code> types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10138">#10138</a>)</li> <li><code>[jest-config]</code> Support config files exporting (<code>async</code>) <code>function</code>s (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10001">#10001</a>)</li> <li><code>[jest-cli, jest-core]</code> Add <code>--selectProjects</code> CLI argument to filter test suites by project name (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/8612">#8612</a>)</li> <li><code>[jest-cli, jest-init]</code> Add <code>coverageProvider</code> to <code>jest --init</code> prompts (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10044">#10044</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-console]</code> <code>getConsoleOutput</code> to receive global stack trace config and use it to format stack trace (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10081">#10081</a>)</li> <li><code>[jest-jasmine2]</code> Stop adding <code>:</code> after an error that has no message (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9990">#9990</a>)</li> <li><code>[jest-diff]</code> Control no diff message color with <code>commonColor</code> in diff options (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9997">#9997</a>)</li> <li><code>[jest-snapshot]</code> Fix TypeScript compilation (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10008">#10008</a>)</li> </ul> <h3>Chore & Maintenance</h3> <ul> <li><code>[docs]</code> Correct confusing filename in <code>enableAutomock</code> example (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10055">#10055</a>)</li> <li><code>[jest-core]</code> 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10000">#10000</a>)</li> <li><code>[jest-core, jest-reporters, jest-test-result, jest-types]</code> Cleanup <code>displayName</code> type (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10049">#10049</a>)</li> <li><code>[jest-runtime]</code> Jest-internal sandbox escape hatch (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9907">#9907</a>)</li> <li><code>[jest-fake-timers]</code> Update <code>now</code> param type to support <code>Date</code> in addition to <code>number</code>. (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10169">#10169</a>)</li> <li><code>[docs]</code> Add param to <code>setSystemTime</code> docs and remove preceding period from it and <code>getRealSystemTime</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10169">#10169</a>)</li> <li><code>[jest-snapshot, jest-util]</code> Replace <code>make-dir</code> with <code>fs.mkdir</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10136">#10136</a>)</li> <li><code>[docs]</code> Added parcel-bundler documentation inside readme.md file</li> </ul> <h3>Performance</h3> <ul> <li><code>[jest-core, jest-transform, jest-haste-map]</code> Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10131">#10131</a>)</li> </ul> <h2>26.0.1</h2> <h3>Fixes</h3> <ul> <li><code>[jest-circus]</code> Backward compatibility for deprecated <code>DescribeBlock.tests</code> to not break e.g. Detox reporter</li> </ul> <h2>26.0.0</h2> <h3>Features</h3> <ul> <li><code>[jest-environment-jsdom]</code> [<strong>BREAKING</strong>] Upgrade <code>jsdom</code> to v16 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9606">#9606</a>)</li> <li><code>[jest/fake-timers]</code> Add possibility to use a modern implementation of fake timers, backed by <code>sinonjs/fake-timers</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/7776">#7776</a>)</li> <li><code>[jest-runtime]</code> Add <code>createMockFromModule</code> as an alias for <code>genMockFromModule</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9962">#9962</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[babel-jest]</code> Handle <code>null</code> being passed to <code>createTransformer</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9955">#9955</a>)</li> <li><code>[jest-circus, jest-console, jest-jasmine2, jest-reporters, jest-util, pretty-format]</code> Fix time durating formatting and consolidate time formatting code (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9765">#9765</a>)</li> <li><code>[jest-circus]</code> [<strong>BREAKING</strong>] Fail tests if a test takes a done callback and have return values (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/9129">#9129</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
fdc5e5e503 |
Bump react-native-flipper from 0.47.0 to 0.49.0 in /react-native/ReactNativeFlipperExample (#1353)
Summary: Bumps [react-native-flipper](https://github.com/facebook/flipper) from 0.47.0 to 0.49.0. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
|
2af309d476 |
Resolve security deps
Summary: Still got four warnings up for this on GitHub. Let's do the same we do in the rest of the repo. Reviewed By: mweststrate Differential Revision: D22233188 fbshipit-source-id: eb76409b1e5ff5735e354bdbd93f875d22f2add2 |
||
|
|
03b231703b |
Update react-native dependency @allow-large-files
Summary: This should fix https://github.com/facebook/flipper/issues/1274 I had some cleaning up to do to get to this point. Changelog: Fix `react-native-flipper` dependency pulling in debug-only artifacts into release builds. Reviewed By: mweststrate Differential Revision: D22160304 fbshipit-source-id: 0ebc0ed942427f2966bccd721bf01aafa38ba400 |
||
|
|
8a7e0578ff |
Update to rc.5
Summary: * Followed plan of D20221558 * Manually bumped Flipper version on iOS to 0.33.1, which contains https://github.com/facebook/flipper/pull/874/files (make Flipper compatible with iOS 9). * Will submit a PR on RN to bump the iOS template Reviewed By: passy Differential Revision: D20361824 fbshipit-source-id: 4f013b731b40e2d4f941742f9201bf2bb4382ec3 |
||
|
|
f3fd8646e3 |
Upgrade example app to 0.62.0-rc.3
Summary: ^ 1. Remove entire `react-native/ReactNativeExampleFlipper` folder 2. Run `npx react-native init --version 0.62.0-rc.3 ReactNativeExampleFlipper` 4. restore the `package.json` and `TicTacToe` file and import 5. removed `.eslintrc`, `_BUCK` and `build_defz.bzl`, `.watchmenconfig` Added comments below to highlight the non-generated changes Reviewed By: passy Differential Revision: D20221558 fbshipit-source-id: da1c895a2b0e7ce48092e64cdb5ffdb9e4a1a10b |
||
|
|
0fa0899299 |
Create React Native example project
Summary: This diff creates a sample React Native project (based on the 0.62-rc.0 template). This example is created like: (Documenting this here as in the future this might be easier than upgrading the project itself) 1. Run `npx react-native init ReactNativeFlipperExample --version 0.62.0-rc.0` 2. Follow the installation steps to enable Flipper, that is, call `initializeFlipper(this, getReactNativeHost().getReactInstanceManager());` at the end of the `onCreate` method in `MainApplication.java` 3. Put `FlipperTicTacToe` in the root of the project, and call it from `App.js` as a component 4. install `react-native-flipper` as dependency 5. install `relative-deps` as dev dependency, and set it up as shown in `package.json`. This tool make sure that we build and test this project against the version of react-native-flipper in this repository, rather than against the one on NPM. 6. removed some stuff, like tests and linting, which is just in the way in this repo This PR does not support iOS, as Flipper + RN iOS is still broken in 0.62.0-rc.0, and the current version of react-native-flipper doesn't support iOS yet either. Documentation on how to set up Flipper in general is not part of this Diff _N.B. since this is a **public** project, to be visible and runnable by our OSS community, the build setup is kept plain, vanilla, react-native, and **not** wired up to our normal / internal build processes. This is also the reason that lint suggestions beyond the license headers have been ignored. If any others should be applied, it is probably the official react native template that requires updating_ Reviewed By: passy Differential Revision: D19449295 fbshipit-source-id: 2aeb6044f8dd01f09a95350c84fff2419d685a65 |