Commit Graph

3180 Commits

Author SHA1 Message Date
greenkeeper[bot]
ecd0aeea50 chore(package): update @types/node to version 13.11.0 (#968)
Summary:
Fix https://github.com/facebook/flipper/issues/965
Pull Request resolved: https://github.com/facebook/flipper/pull/968

Reviewed By: mweststrate

Differential Revision: D20837214

Pulled By: passy

fbshipit-source-id: ebfe452a0bf9364d3a0adf2f6c4cde9f58daab58
2020-04-06 09:15:07 -07:00
greenkeeper[bot]
4cf48f4f52 Update @types/jest in group pkg to the latest version � (#964)
Summary:
I think I accidentally pinned this before. That's not necessary.

Pull Request resolved: https://github.com/facebook/flipper/pull/964

Test Plan: yarn test

Reviewed By: mweststrate

Differential Revision: D20835725

Pulled By: passy

fbshipit-source-id: 627594d4f1a425cf0db410a097c82af6758d7d11
2020-04-06 09:10:15 -07:00
greenkeeper[bot]
b4e641a174 Update @types/jest in group doctor to the latest version � (#963)
Summary:
***
☝️ **Important announcement:** Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! [Find out how to migrate to Snyk and more at greenkeeper.io](https://greenkeeper.io)
***
## The devDependency [types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `24.9.1` to `25.1.5`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [types](https://www.npmjs.com/~types)
**License:** MIT

[Find out more about this release](https://github.com/DefinitelyTyped/DefinitelyTyped).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/963

Reviewed By: mweststrate

Differential Revision: D20867651

Pulled By: passy

fbshipit-source-id: 59c686a3bfc1f7807357050a2bd6b18e3a362aef
2020-04-06 09:05:05 -07:00
Pritesh Nandgaonkar
793b100dfc Export last few lines of the logs
Summary:
This diff exports the last 30 mins of logs. I noticed that the export can become massive, if Flipper is running for a long time and if all the logs are exported. Due to this I have noticed that the byte size of the exports has been huge and most probably causing out of emory exception in our end point to upload the trace.

Just exporting Logs plugin, size of Flipper trace is 1.8MB, mind that my Flipper was just open for few mins.

{F233265050}

Look at [this](https://our.intern.facebook.com/intern/scuba/query/?dataset=infinity_analytics_events&drillstate=%7B%22sampleCols%22%3A[%22infinity_version%22%2C%22session_id%22%2C%22data%22%2C%22time%22%2C%22is_headless%22%2C%22platform%22%2C%22plugin%22%2C%22namespace_version%22%2C%22arch%22%2C%22gatekeepers%22%2C%22fbid%22%2C%22event%22%2C%22type%22%2C%22namespace%22%2C%22electron_version%22%2C%22node_version%22]%2C%22cols%22%3A[%22fbid%22]%2C%22derivedCols%22%3A[]%2C%22mappedCols%22%3A[]%2C%22enumCols%22%3A[]%2C%22return_remainder%22%3Afalse%2C%22should_pivot%22%3Afalse%2C%22is_timeseries%22%3Afalse%2C%22hideEmptyColumns%22%3Afalse%2C%22start%22%3A%22-1%20week%22%2C%22samplingRatio%22%3A1%2C%22compare%22%3A%22none%22%2C%22should_transpose%22%3Afalse%2C%22dimensions%22%3A[%22event%22]%2C%22num_samples%22%3A%22100%22%2C%22metric%22%3A%22count%22%2C%22top%22%3A50%2C%22timezone%22%3A%22America%2FLos_Angeles%22%2C%22end%22%3A%22now%22%2C%22aggregateList%22%3A[]%2C%22param_dimensions%22%3A[]%2C%22modifiers%22%3A[]%2C%22order%22%3A%22none%22%2C%22order_desc%22%3Atrue%2C%22filterMode%22%3A%22DEFAULT%22%2C%22constraints%22%3A[[%7B%22column%22%3A%22type%22%2C%22op%22%3A%22eq%22%2C%22value%22%3A[%22[%5C%22usage%5C%22]%22]%7D%2C%7B%22column%22%3A%22fbid%22%2C%22op%22%3A%22eq%22%2C%22value%22%3A[%22[%5C%22100001214797081%5C%22]%22]%7D%2C%7B%22column%22%3A%22event%22%2C%22op%22%3A%22eq%22%2C%22value%22%3A[%22[%5C%22export-url%3Atrace-size%5C%22]%22]%7D]]%2C%22c_constraints%22%3A[[]]%2C%22b_constraints%22%3A[[]]%2C%22metrik_view_params%22%3A%7B%22should_use_legacy_colors%22%3Afalse%2C%22columns_skip_formatting%22%3A[]%2C%22view%22%3A%22samples_client%22%2C%22width%22%3A%222110%22%2C%22height%22%3A%221300%22%2C%22tableID%22%3A%22infinity_analytics_events%22%2C%22tooltip_outside%22%3Atrue%2C%22fitToContent%22%3Afalse%2C%22format_tooltip_in_percent%22%3Afalse%2C%22pocs%22%3A[%7B%22poc_label%22%3A%22Point%20of%20contact%22%2C%22poc_id%22%3A%22100002006986037%22%7D]%2C%22state%22%3A%22published%22%2C%22use_y_axis_hints_as_limits%22%3Atrue%2C%22has_dynamic_context_menu%22%3Atrue%2C%22has_context_menu%22%3Afalse%2C%22legend_mode%22%3A%22nongrid%22%2C%22title%22%3A%22Support%20Form%20V2%20Events%22%2C%22timezone_offset%22%3A420%2C%22y_min_hint%22%3A0%2C%22should_render_plugins_menu%22%3Afalse%2C%22title_use_v2%22%3Atrue%7D%7D&pool=uber&view=samples_client&dashboard_id&tab_id&widget_id&widget_piece_id), the size of the export is 194 MB.

Reviewed By: jknoxville

Differential Revision: D20868701

fbshipit-source-id: 1f041d11fc9cab93cdd1f1a28f15fa557b51fc75
2020-04-06 08:43:43 -07:00
Pascal Hartig
2823307c62 Add RN Android/iOS docs
Summary:
I trimmed the previous versions of this down a lot to only
focus on what RN developers need to know without duplicating
what we have in the non-RN docs.

Reviewed By: mweststrate

Differential Revision: D20816115

fbshipit-source-id: 9d88a6fb0d49e823194cce647e64b86d61d6229a
2020-04-06 08:27:20 -07:00
Anton Nikolaev
988f7442ed Add quotes to doctor command
Summary: Issue resolved: https://github.com/facebook/flipper/issues/980

Reviewed By: jknoxville

Differential Revision: D20869451

fbshipit-source-id: f6b0a46adfe868ef13d6d1c922df3e7e9637d857
2020-04-06 07:25:50 -07:00
Pascal Hartig
99a4884fad Bump Gradle plugin to 3.6.1 (#958)
Summary:
This is in line with the most recent stable Android Studio Release.
Pull Request resolved: https://github.com/facebook/flipper/pull/958

Test Plan:
Used it myself.

Open Source CI required a higher NDK, so let's first check what CI says to that internally now.

Reviewed By: jknoxville

Differential Revision: D20794634

Pulled By: passy

fbshipit-source-id: c32f934634b036ad3c1cad9fc49541e585d64329
2020-04-06 06:43:43 -07:00
Pascal Hartig
9ba990999c Fix connection with old SDKs
Summary:
D20559197 inadvertantly broke support for old SDKs by properly handling an
exception that we previously ignored. However, this meant that Android versions
that don't support reverse-proxying will not fail to get registered although
they're otherwise supported.

Changelog: Fix connections on Android devices with older SDKs (19)

Reviewed By: jknoxville

Differential Revision: D20868923

fbshipit-source-id: 409fe20a0875dc26ecc971d33264a1145012d586
2020-04-06 06:36:46 -07:00
Pascal Hartig
64e5fff9e1 Remove unused import
Summary: Drive-by change.

Reviewed By: cekkaewnumchai

Differential Revision: D20868980

fbshipit-source-id: 1c3602cc976bc37a4196d2368960fe0a5e8a62ec
2020-04-06 06:22:39 -07:00
Pascal Hartig
406f2f47af Fix DMG publish by running publish step on Ubuntu (#984)
Summary:
The current upload process is broken because the publish step only works on Linux.
This first uploads the binary to artifact storage, then downloads it on Linux and runs the publish step.

Pull Request resolved: https://github.com/facebook/flipper/pull/984

Test Plan:
@public

https://github.com/facebook/flipper/pull/984/checks?check_run_id=563996817

Everything here works apart from the publish action which throws a 400, which is expected as there's no tag/release associated with the PR. We can only really test the entire thing on a new release.

Reviewed By: nikoant

Differential Revision: D20868825

Pulled By: passy

fbshipit-source-id: 97304328ec7eb1243280ca7a9f26e8049869d33b
2020-04-06 06:21:11 -07:00
Anton Nikolaev
3e853157da Do not run tests for "doctor" and "pkg" separately (#983)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/983

This diff fixes broken test jobs on GitHub. Tests for all the packages are already being run by the "yarn test" in the root package, so I'm disabling running them separately.

Reviewed By: jknoxville

Differential Revision: D20868138

fbshipit-source-id: 04a86a8127481fecaee63af1f9fd9c7ad0f4269b
2020-04-06 04:53:26 -07:00
Roi Becker
36f1b0e9c2 Allow localhost to connect to websocket
Summary: Accept websocket connections from any localhost origin, in addition to the existing chrome extensions support.

Reviewed By: jknoxville

Differential Revision: D20792131

fbshipit-source-id: d3991aa375bfb4e6f492c02dfab9bf72b1f8c412
2020-04-06 04:50:15 -07:00
Pascal Hartig
83fd17898f Bump minimist
Summary:
Another day ending in y, another minimist vulnerability. Bumping
to `1.2.3`.

(Note: this ignores all push blocking failures!)

Reviewed By: cekkaewnumchai

Differential Revision: D20860264

fbshipit-source-id: 569abd7e521efef92cd0b31113e0325493645c2a
2020-04-06 03:11:04 -07:00
Pascal Hartig
3168fb1c0e Pin kind-of
Summary:
Got an open security alert for this one.

(Note: this ignores all push blocking failures!)

Reviewed By: cekkaewnumchai

Differential Revision: D20840586

fbshipit-source-id: b57fda5a7c3244c7bf893082896ea8d1ee138493
2020-04-06 03:11:04 -07:00
Anton Nikolaev
2690894ad0 Fix npm publishing
Summary:
Fixed npm packaging/publishing scripts for "flipper-doctor", "flipper-pkg" and "flipper-babel-transformer".

Also removed scripts for testing and linting, because these packages are tested and linted by root level package.json.

Reviewed By: jknoxville

Differential Revision: D20839959

fbshipit-source-id: 4d9d037d4921fc97356c849054c389dfece05652
2020-04-06 02:35:51 -07:00
John Knox
f1e8297800 Fix broken links on website and github readme
Summary:
The url for the getting started page was changed yesterday. (no longer getting-started.html)
This fixes some links that were broken because of it.

Reviewed By: cekkaewnumchai

Differential Revision: D20855343

fbshipit-source-id: 788efb75f3581e4fe6cecd5f69f11dd64b03e7df
2020-04-04 02:30:52 -07:00
Pascal Hartig
4be1b4d491 Add support for AndroidX fragments (#957)
Summary:
Fix https://github.com/facebook/flipper/issues/931

This is not how I would *like* to fix this, but it should do the job.
When the switch over to AndroidX was made, the overall abstraction
started to leak and we really need to remodel this in its entirety.
There's also the question of whether we want to support both support
fragments and AndroidX fragments or not. Right now it's kinda-sorta
supported but only under some circumstances, which is not great.

I also added some more defensive try/catches as there's some unsafe casting
involved and future changes may break this causing the entire layout to disappear.

Change Log: Fix support for AndroidX fragments in Layout Inspector.

Pull Request resolved: https://github.com/facebook/flipper/pull/957

Test Plan:
Changed the sample app to include some AndroidX fragments and they
now show up (again) in the view hierarchy:

![Screenshot 2020-04-01 13 40 53](https://user-images.githubusercontent.com/9906/78138910-915fbc00-741f-11ea-8386-4eeca9b7f932.png)

Tested internally that FB4A fragments show up again, too:

{F233098198}

Reviewed By: mweststrate

Differential Revision: D20792503

Pulled By: passy

fbshipit-source-id: 7030b897ab547d1e8803b7f0d7aaa34263cfaed2
2020-04-03 09:21:03 -07:00
Anton Nikolaev
492b1076d2 Flipper Snapshot Bump: v0.36.1-SNAPSHOT
Summary: Releasing snapshot version 0.36.1-SNAPSHOT

Reviewed By: passy

Differential Revision: D20835544

fbshipit-source-id: 41b8688d544817d8d57522adbafb1315c77f079c
2020-04-03 08:36:49 -07:00
Anton Nikolaev
e35bf2c1ae Flipper Release: v0.36.0
Summary: Releasing version 0.36.0

Reviewed By: passy

Differential Revision: D20835543

fbshipit-source-id: f5d9e8884410b294d4f37cb98db614da4592e6df
2020-04-03 08:36:49 -07:00
Pascal Hartig
0a68044649 Split up getting started docs
Summary:
This is a first step in breaking up the getting started docs.
Ultimately, the React Native Android and iOS bits will become
separate sections, too, but I won't to keep the diffs a bit smaller.
This one doesn't really do much apart from reorganising the current
content.

Reviewed By: mweststrate

Differential Revision: D20815235

fbshipit-source-id: 5c85b788211699a2a9f5808b9e2590c7db68a1c1
2020-04-03 06:17:49 -07:00
Anton Nikolaev
527d417ab4 Suppress Metro warning about cyclic dependencies in node_modules
Summary: Metro shows cyclic dependencies warnings in dev mode even if they are caused by 3rd party packages installed into node_modules. This produces a lot of noise, but totally unactionable. In this diff I have implemented patch for "metro" package wich disables these unactionable warnings.

Reviewed By: passy

Differential Revision: D20835057

fbshipit-source-id: 2aebc59a0f8c0adfc768ed4c170e5d0b9ced7e0e
2020-04-03 04:09:47 -07:00
Pascal Hartig
9bd58a46c4 UpdateIndicator: Fix a11y lints
Summary: Adding a role and tabIndex because it's clickable.

Reviewed By: mweststrate

Differential Revision: D20814436

fbshipit-source-id: 2d5acc06363df0cce1c24df7e77b1a6eaa98ab63
2020-04-03 04:06:59 -07:00
Chaiwat Ekkaewnumchai
e37bccaf04 Scroll to Inspected Element
Summary:
changelog: Add scroll to inspected element in layout plugin

Before this diff, when one inspected an element, one needed to scroll down to see highlighted line for that element. This diff added automatic scroll to inspected element. It will scroll so that the line is in middle of the app.

Also, fix direct state mutation and this error:
```
Public property 'onKeyDown' of exported class has or is using private name 'Element'.
```

Reviewed By: passy, mweststrate

Differential Revision: D20798587

fbshipit-source-id: 763eb63cd51abd73940e301e36e89232033722c3
2020-04-03 03:03:04 -07:00
Chaiwat Ekkaewnumchai
e68cbe8ecd Add forwardRef to ContextMenu
Summary:
There was a problem for the next diff because ContextMenu doesn't forward reference to child elements which causes no component attached to ref.

This diff forward ref of ContextMenu to its child. Also, there is casting because of genetic functional component used by NotificationHub

Reviewed By: mweststrate

Differential Revision: D20817968

fbshipit-source-id: d0a19a447decca73db53f02ea029f56fc7127e94
2020-04-03 03:03:04 -07:00
Pascal Hartig
bd81e67f76 Bump Travis Node to 12 (#961)
Summary:
Looks like jsdom for jest wants either 10 or 12, but not 11. ¯\_(ツ)_/¯
Pull Request resolved: https://github.com/facebook/flipper/pull/961

Test Plan: Watch Travis signal.

Reviewed By: cekkaewnumchai

Differential Revision: D20815326

Pulled By: passy

fbshipit-source-id: 6b7a8ddda75299443853d8bdca56fe1ce3d60afe
2020-04-02 09:44:17 -07:00
Pascal Hartig
c8e5d95c41 Show update indicator for non-FB builds
Summary:
Launcher was sort of a proxy for cases where we *wanted* to have an update
mechanism but possibly couldn't use it, e.g. Windows at FB.
This makes sure we can also show this in OSS.

Reviewed By: nikoant

Differential Revision: D20770804

fbshipit-source-id: 62d2dddf9cbd22d51098dda65eea50df420a3078
2020-04-02 06:30:38 -07:00
John Knox
5ad8106e3f Fix image links with baseUrl
Summary:
When using baseUrl in site config, it adds a prefix to all link paths.

But for assets, it doesn't work if you refer to them as `docs/assets/...`, you have to use just `assets/...`. Source: https://github.com/facebook/Docusaurus/issues/861

Reviewed By: passy

Differential Revision: D20796933

fbshipit-source-id: 2346e42b8b548f576a1e143f56ee5236eab55073
2020-04-02 03:14:08 -07:00
Michel Weststrate
cfb77148f7 Fix changelog generation search directory
Summary:
Fix issue where not the full sonar repo was search when looking for Diffs with a changelog entry.
(note that we don't use absolute paths as that gaves problems in the past on CI where a sparse checkout happens and the hg root turned out to be different)

Reviewed By: passy

Differential Revision: D20793800

fbshipit-source-id: a77e1602e00127ba2d831a4c6392e2f1984a4fc6
2020-04-02 02:20:45 -07:00
Pascal Hartig
222e09fbcb Bump kind-of
Summary: Another security vuln.

Reviewed By: jknoxville

Differential Revision: D20793404

fbshipit-source-id: c433b65d860547e181ff7b0a16c9ca9a47d575fa
2020-04-01 09:15:04 -07:00
greenkeeper[bot]
49e3ebf2b5 Update @testing-library/react in group main to the latest version � (#947)
Summary:
Note: I had to add a new Jest environment to get this to run. More context is in https://github.com/testing-library/dom-testing-library/issues/477.

Pull Request resolved: https://github.com/facebook/flipper/pull/947

Test Plan: yarn test

Reviewed By: mweststrate

Differential Revision: D20766231

Pulled By: passy

fbshipit-source-id: bd6bf732cae862d84ad5ab66a3e57d5933a030a5
2020-04-01 09:15:04 -07:00
Anton Nikolaev
0711617c63 Fixed error with 3rd plugin compilation in dev mode
Summary:
Fixed error "SHA-1 for file is not computed" on 3rd party plugin compilation in dev mode. The error started to appear after moving to yarn workspaces.

Changelog: Fixed error "SHA-1 for file is not computed" on 3rd party plugin compilation in dev mode (yarn start).

Reviewed By: mweststrate

Differential Revision: D20789712

fbshipit-source-id: bbc2fcca197955da50ebf2b51a1fd9cb62f79727
2020-04-01 03:07:39 -07:00
Anton Nikolaev
5dc3ab4ea2 Faster script execution by ts-node
Summary: It takes few seconds for ts-node to start even for small scripts. TS_NODE_TRANSPILE_ONLY env var makes loading much faster ~100-200ms.

Reviewed By: mweststrate

Differential Revision: D20769639

fbshipit-source-id: 9b09a4e128e6b9c9651de98d8193b1d3a8f42b64
2020-04-01 02:52:01 -07:00
Anton Nikolaev
3bdfea387b Install yarn modules required for prepare-release script
Summary: Install yarn modules required for release script

Reviewed By: mweststrate

Differential Revision: D20773606

fbshipit-source-id: 97ceda05e2d75229335bb77c7cef6dd328167283
2020-03-31 13:38:54 -07:00
Anton Nikolaev
2a27b47752 Fixed version bumping
Summary: Fixed version bumping in prepare-release script

Reviewed By: priteshrnandgaonkar

Differential Revision: D20771162

fbshipit-source-id: 8b8efa7111269e3f2b39b09c3dff1afe1fd0cf41
2020-03-31 11:20:27 -07:00
Pritesh Nandgaonkar
4e3c06cd54 Update the text to be clear that the export was successfull
Summary: This diff adds the capability to show the plugin names for which flipper failed to fetch metadata. These changes are done for both export as URL and export as File. This diff also fixes the logging for the export as a file and logs the result object in scuba.

Reviewed By: jknoxville

Differential Revision: D20724860

fbshipit-source-id: 4c9591267ca05045e0ed084804d96851c9d7636d
2020-03-31 11:02:16 -07:00
Pascal Hartig
22b3e89ce5 Disable auto-updater (#951)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/951

Reviewed By: jknoxville, mweststrate

Differential Revision: D20766973

fbshipit-source-id: 93bf659d8944c0cca1b513235aa43ffc32b7ada8
2020-03-31 09:15:17 -07:00
Anton Nikolaev
bf32297ad9 Publish all packages to npm on release
Summary: Publish all the public packages (excluding those with "private=true") included as workspaces to "desktop" project.

Reviewed By: jknoxville

Differential Revision: D20765097

fbshipit-source-id: 444541e9a682a90eba02cb3da85ada9bd00d93d0
2020-03-31 06:34:39 -07:00
Anton Nikolaev
eb9a2cb5e7 Bump versions for all npm packages on release
Summary:
Automatically bump versions for all local npm packages included as workspaces and fix local dependencies correspondingly.

As a part of this I have also aligned versioning for all the packages by using the same version for all of them.

Reviewed By: jknoxville

Differential Revision: D20745632

fbshipit-source-id: 2d438c4b23ee72f7d7c068c5ce161063c7ceb9e5
2020-03-31 06:34:39 -07:00
Pascal Hartig
971e0f80fd Remove easywsclient reference (#946)
Summary:
This got removed a while ago but will cause new checkouts to fail
syncing.
Pull Request resolved: https://github.com/facebook/flipper/pull/946

Test Plan: grep & CI

Reviewed By: jknoxville

Differential Revision: D20736839

Pulled By: passy

fbshipit-source-id: ea5081b5c39e79ddebae5847cafe44ef116990ee
2020-03-31 03:13:32 -07:00
Anton Nikolaev
2e88936a29 Import ws package
Summary: Import ws package in a usual way instead of importing it as source code

Reviewed By: jknoxville

Differential Revision: D20724584

fbshipit-source-id: 39cad6e544b71e66560a9351f1e5a0c89be2c152
2020-03-31 02:45:07 -07:00
Pascal Hartig
10e901e2c5 Greenkeeper/main/monorepo.babel7 20200324084100 (#944)
Summary:
Close https://github.com/facebook/flipper/issues/913
Pull Request resolved: https://github.com/facebook/flipper/pull/944

Reviewed By: nikoant

Differential Revision: D20733316

Pulled By: passy

fbshipit-source-id: e2ab0fce0a32917ce6eba5265c8f71aaab06b2e2
2020-03-30 10:24:55 -07:00
greenkeeper[bot]
e019b2a030 Update ts-jest in group doctor to the latest version � (#942)
Summary:
***
☝️ **Important announcement:** Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! [Find out how to migrate to Snyk and more at greenkeeper.io](https://greenkeeper.io)
***
## The devDependency [ts-jest](https://github.com/kulshekhar/ts-jest) was updated from `24.3.0` to `25.3.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [kul](https://www.npmjs.com/~kul)
**License:** MIT

[Find out more about this release](https://github.com/kulshekhar/ts-jest).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/942

Reviewed By: nikoant

Differential Revision: D20733257

Pulled By: passy

fbshipit-source-id: 2129d9af444223bf69f91ddd479e1230d9fd59e5
2020-03-30 10:11:25 -07:00
greenkeeper[bot]
16c11ec815 Update @types/testing-library__react in group main to the latest version � (#937)
Summary:
***
☝️ **Important announcement:** Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! [Find out how to migrate to Snyk and more at greenkeeper.io](https://greenkeeper.io)
***
## The devDependency [types/testing-library__react](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `9.1.3` to `10.0.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [types](https://www.npmjs.com/~types)
**License:** MIT

[Find out more about this release](https://github.com/DefinitelyTyped/DefinitelyTyped).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/937

Reviewed By: nikoant

Differential Revision: D20701052

Pulled By: passy

fbshipit-source-id: 06d069a66a48dca5b9d3abdf5900d3f25a55d7db
2020-03-30 10:07:01 -07:00
Anton Nikolaev
da7449c20b Enable Metro caching
Summary:
Enabling Metro cache for dev mode. For release builds we reset the cache.

Cache is used for faster compilation in dev mode for both main and renderer bundles, as well as for plugins.

Currently we have few side effects based on env vars, so cache is invalidated when they are changed. Also the cache is invalidated when transformations are changed (changed code, bumped dependency etc). Also added a script to reset the cache if something is going wrong.

Reviewed By: mweststrate

Differential Revision: D20691464

fbshipit-source-id: 478947d438bd3090f052dbfa6ad5c649523ecacb
2020-03-30 09:28:35 -07:00
Pascal Hartig
d86da8f1d2 Move hermesdebugger to OSS
Summary:
flybefree

Only moved, formatted the JSON and changed the headers.

changelog: New Hermes Debugger plugin for React Native apps.

Reviewed By: rickhanlonii

Differential Revision: D20673166

fbshipit-source-id: 9ecf4708f8834e00699d2d39aa6daa51c46a771b
2020-03-30 09:28:34 -07:00
Michel Weststrate
f803cb3cb1 Avoid dropping plugin messages if the connected device is not found
Summary:
Before we dropped all messages if the client connected before the device has been registered. Which happens typically on iOS (it can actually take very long, will investigate that as well, but not in this diff).
However, we don't need to wait for the device to process messages, we just need its serial, which we already know (given that we use that query id to find the matching device in the first place).

I think this will greatly improved perceived stability for iOS

Reviewed By: jknoxville

Differential Revision: D20734892

fbshipit-source-id: f98e8d31558ef606b9a8287e03fc41ab6c3a087d
2020-03-30 07:58:40 -07:00
Monero Jeanniton
8b9c3322f1 Imported <DescriptorMapping> and <InspectorFlipperPlugin> (#941)
Summary:
Fixed cannot find symbols: `DescriptorMapping` and `InspectorFlipperPlugin`
Pull Request resolved: https://github.com/facebook/flipper/pull/941

Reviewed By: nikoant

Differential Revision: D20725263

Pulled By: passy

fbshipit-source-id: b56dad354f936d8a2a51f55445b7b3c19394bb66
2020-03-30 06:15:11 -07:00
Pascal Hartig
39f5a07ac4 Disable sideEffect test as it's failing on GitHub
Summary: Looks like something isn't deterministic.

Reviewed By: nikoant

Differential Revision: D20725370

fbshipit-source-id: 493fa7915aba9aa7bd6cce254684ff3d0f2f7eaf
2020-03-30 02:35:19 -07:00
Anton Nikolaev
5ed3e8b1eb Set attributes to Flipper release builds
Summary: Changelog: fixed applying of product attributes (title, publisher etc) to Flipper builds.

Reviewed By: passy

Differential Revision: D20724437

fbshipit-source-id: 70e31484ddd59f1802573e2f963ee37857ab8405
2020-03-30 01:58:30 -07:00
Anton Nikolaev
d98bf10646 Force "\n" line endings in VSCode on Windows
Summary:
1) Forced consistend line endings in VSCode on all OSes
2) Copied VSCode settings to both root folder and "desktop" subfolder so both these folders can be opened as VSCode workspace

Reviewed By: passy

Differential Revision: D20724126

fbshipit-source-id: b9e35c6a055457e05cd1c2d6145a58820cc511f8
2020-03-30 01:58:30 -07:00