Commit Graph

286 Commits

Author SHA1 Message Date
Anton Nikolaev
ab0078a13f Typescriptify the main process code (14/N)
Summary: Converted scripts/yarn-install.js to typescript

Reviewed By: passy

Differential Revision: D20098071

fbshipit-source-id: be56a95a11089cd857efb00e62866213a88b739c
2020-02-27 05:45:24 -08:00
Anton Nikolaev
caf04e4e4a Typescriptify the main process code (9/N)
Summary: Converted scripts/build-release.js and scripts/build-headless.js to typescript

Reviewed By: passy

Differential Revision: D20066504

fbshipit-source-id: 25f336062361e1211b581f96979978a6bf4fe6d4
2020-02-27 05:45:23 -08:00
Pascal Hartig
4c82d3f4d3 Back out "Upgrade electron" (#831)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/831

Original commit changeset: a2282c2f4062

Reviewed By: cekkaewnumchai

Differential Revision: D20077962

fbshipit-source-id: 6387a3e765cd284ed819e84103abab67589ce256
2020-02-25 16:47:18 -08:00
greenkeeper[bot]
d22530fff3 Update uuid in group main to the latest version � (#827)
Summary:
## The dependency [uuid](https://github.com/uuidjs/uuid) was updated from `3.4.0` to `7.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:** [ctavan](https://www.npmjs.com/~ctavan)
**License:** MIT

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

 ---

<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/827

Reviewed By: jknoxville

Differential Revision: D20067749

Pulled By: passy

fbshipit-source-id: 045c94cc1c28f0854680340f56bb35b854a37c51
2020-02-24 19:49:24 -08:00
Anton Nikolaev
609ca27eae Typescriptify the main process code (8/N)
Summary:
- Enabled typescript in "scripts" folder
- Converted start-dev-server.js to typescript

Reviewed By: passy

Differential Revision: D20066501

fbshipit-source-id: 23550cf3774e07fad0a8783831e3d574baee977f
2020-02-24 19:07:08 -08:00
Anton Nikolaev
64e85f226c Typescriptify the main process code (7/N)
Summary: Typescriptified static/launcher.js

Reviewed By: passy

Differential Revision: D20066497

fbshipit-source-id: 64fc47086fc599f36f2313406e2c72a76c481fb0
2020-02-24 19:07:08 -08:00
Pascal Hartig
6c72fa3dbb Flipper Release: v0.32.0
Summary:
== Highlights ==

- Android: Theme information for Application, Activity and View descriptors are now visible in the Layout plugin. (6f4de969fb)
- App Visualiser: When importing an archived device, you can now see and inspect the last screen of the app. (20db85adf4)

== Fixes ==

- Fix `FlipperKit` warnings in XCode. (972277b031)
- Upgrade Folly to v2020.02.17.00 (GH809)
- Several performance improvements, originally caused by unnecessary rerenders.
- Crash reports weren't scrollable. (e1e8bb841c)
- Kill orhpaned instruments processes. (GH819)

Reviewed By: nikoant

Differential Revision: D20067792

fbshipit-source-id: 3f0ebcb03881373fd909f513e5d82e23a5f9f1f1
2020-02-24 06:53:42 -08:00
Anton Nikolaev
bd0c7bb58f Typescriptify the main process code (4/N)
Summary: Skip the main process code bundling when nothing changed

Reviewed By: mweststrate

Differential Revision: D20030261

fbshipit-source-id: 78de87377afe7e768627059425c51081239687dd
2020-02-24 05:23:47 -08:00
Anton Nikolaev
89180d0b07 Typescriptify the main process code (3/N)
Summary: Fixed yarn commands "lint" and "reset" considering the new static folder structure

Reviewed By: mweststrate

Differential Revision: D19972963

fbshipit-source-id: 323cc87598e14ccea30aa7dc5fc8c10a2e0c2db7
2020-02-24 05:23:46 -08:00
Anton Nikolaev
18c259dc22 Typescriptify the main process code (1/N)
Summary:
As a first step I've configured bundling for the main process code using Metro. For now I haven't converted anything to ts, just made that possible.

The bundle is just produced into the "static" directory. To avoid too many changes I kept the "static" folder as it is, but probably non-static code should be moved from there.

Also installed modules from "node_modules" for the main process are not bundled to avoid potential issues with node native modules.

Reviewed By: mweststrate

Differential Revision: D19960982

fbshipit-source-id: efbd426254e2b37c913c5f5f75f042c50ccee2f3
2020-02-24 05:23:45 -08:00
Chaiwat Ekkaewnumchai
b5256abd0c Upgrade electron
Summary:
Tried to upgrade both electron and electron-builder but failed due to Windows binary build stuck.

Upgraded only electron for now. electron-builder will be upgraded separately

Reviewed By: nikoant

Differential Revision: D19877865

fbshipit-source-id: a2282c2f4062e6b470cdcba2e9e693419bfeaec4
2020-02-24 03:24:59 -08:00
greenkeeper[bot]
27c0a03ac2 Update @types/rsocket-core to the latest version � (#811)
Summary:
## The devDependency [types/rsocket-core](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `0.0.4` to `0.0.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/811

Reviewed By: mweststrate

Differential Revision: D19969478

Pulled By: passy

fbshipit-source-id: b813bafdb5b0e9f72db16c11c822748383098a5a
2020-02-19 08:26:11 -08:00
Michel Weststrate
7d92e3ee58 Flipper Release: v0.31.2
Summary: Releasing Flipper 0.31.2 as preview for the improved React Native support (blog post will follow)

Reviewed By: cekkaewnumchai

Differential Revision: D19939347

fbshipit-source-id: 4bff1aabdd4e63003de9c9c0af2002ed67504da1
2020-02-17 06:21:46 -08:00
greenkeeper[bot]
72c1c1fa4d Greenkeeper/react player 1.15.2 (#800)
Summary:
Fix https://github.com/facebook/flipper/issues/771
Pull Request resolved: https://github.com/facebook/flipper/pull/800

Reviewed By: mweststrate

Differential Revision: D19902547

Pulled By: passy

fbshipit-source-id: d6b0a1ae8355f8a87df87a45cdd9616963bf3597
2020-02-14 13:25:04 -08:00
John Knox
a24b043df0 Allow websocket connections from browser
Summary: Gets flipper to open up a websocket server for web browser connections.

Reviewed By: passy, priteshrnandgaonkar

Differential Revision: D19501123

fbshipit-source-id: e506f35d7ddce622128932494e8bb10802d3747b
2020-02-13 13:56:37 -08:00
greenkeeper[bot]
eeabb5dd13 Update react-debounce-render to the latest version � (#778)
Summary:
## The dependency [react-debounce-render](https://github.com/podefr/react-debounce-render) was updated from `5.0.0` to `6.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:** [podefr](https://www.npmjs.com/~podefr)
**License:** MIT

[Find out more about this release](https://github.com/podefr/react-debounce-render).

 ---

<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/778

Reviewed By: jknoxville

Differential Revision: D19854350

Pulled By: passy

fbshipit-source-id: f874123004e8551cd041eb4a1b3fe77ce187921c
2020-02-13 04:12:28 -08:00
Pascal Hartig
effa2ec5a5 Flipper Release: v0.31.1
Summary: Bugfix release for startup problem.

Reviewed By: cekkaewnumchai

Differential Revision: D19832703

fbshipit-source-id: 75451e39f53b2d231e1ad10219b37620593f0998
2020-02-11 06:09:58 -08:00
greenkeeper[bot]
17e6e454f5 Greenkeeper/immer 5.3.5
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/788

Reviewed By: passy

Differential Revision: D19815556

Pulled By: jknoxville

fbshipit-source-id: 22c20765b812588b27e005fafc8857cc5a9e7036
2020-02-11 05:22:15 -08:00
greenkeeper[bot]
dae1caee29 chore(package): update @typescript-eslint/parser to version 2.19.2 (#792)
Summary:
Close https://github.com/facebook/flipper/issues/789
Pull Request resolved: https://github.com/facebook/flipper/pull/792

Reviewed By: mweststrate

Differential Revision: D19832374

Pulled By: passy

fbshipit-source-id: 3c13e621905e13e705a7399731fc7b9b23d22e25
2020-02-11 04:15:51 -08:00
greenkeeper[bot]
94ac63dc48 chore(package): update @typescript-eslint/eslint-plugin to version 2.… (#791)
Summary:
Fixes https://github.com/facebook/flipper/issues/790
Pull Request resolved: https://github.com/facebook/flipper/pull/791

Reviewed By: mweststrate

Differential Revision: D19832361

Pulled By: passy

fbshipit-source-id: 88ae5e63ce3c6403650032df83df69e1d6b4d001
2020-02-11 04:15:51 -08:00
greenkeeper[bot]
018b074ec3 Update flow-bin to the latest version � (#780)
Summary:
## The devDependency [flow-bin](https://github.com/flowtype/flow-bin) was updated from `0.117.0` to `0.118.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:** [samwgoldman](https://www.npmjs.com/~samwgoldman)
**License:** MIT

[Find out more about this release](https://github.com/flowtype/flow-bin).

 ---

<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/780

Reviewed By: jknoxville

Differential Revision: D19813983

Pulled By: passy

fbshipit-source-id: 34265730b8d5ae48568f92421344835b557660fd
2020-02-10 08:59:52 -08:00
Pascal Hartig
72a140bd96 Flipper Release: v0.31.0
Summary:
== Highlights ==

- Database query favourites are now persisted across sessions (b0caaa7)
- Allow disabling iOS development in Settings
(aab004a)
- Various improvements to the sidebar
- FPS graph to visualize slow UIs for plugin developers (31df1db)
- Window theme attributes when clicking on a window in the inspector (c430fc3)
- Removed Stetho dependency (48d6ea4). Thanks, ZacSweers!
- Install plugins directly from package files (b9e7f5d6d1)

== Fixes ==

-  Mac plugins not showing up (02e0233)
- Doctor: log both shown and suppressed warnings (35d62e70cb). Thanks, mateosilguero!
- Fix default SDK path on Windows (e178221)
-  Doctor complains Android SDK is not installed
(b625efe)
-  Update welcome screen links (33ad41c)
- Fix 'Timed out waiting for device' error (060e8c0)

Reviewed By: priteshrnandgaonkar

Differential Revision: D19813089

fbshipit-source-id: 8b1fc6fb140d02b7f78adcadd7c45a3ed1755f2f
2020-02-10 07:03:07 -08:00
greenkeeper[bot]
000ef9e8fd Update @types/rsocket-core to the latest version � (#784)
Summary:
## The devDependency [types/rsocket-core](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `0.0.3` to `0.0.4`.
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/784

Reviewed By: cekkaewnumchai

Differential Revision: D19805486

Pulled By: passy

fbshipit-source-id: 7f5168669f571b31da81225fd6736facdc1c7cee
2020-02-10 04:45:58 -08:00
Anton Nikolaev
99d4d44957 VSCode debug task for debugging main process
Summary: Just a small task to make debugging of the main process easier

Reviewed By: jknoxville

Differential Revision: D19792592

fbshipit-source-id: 9d1060dbb58a01615230bff2361144cfc88e41b7
2020-02-10 03:44:55 -08:00
Pascal Hartig
0af9065225 Upgrade rsocket packages (#779)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/779

Close https://github.com/facebook/flipper/pull/773
Close https://github.com/facebook/flipper/pull/774

Reviewed By: nikoant

Differential Revision: D19771979

fbshipit-source-id: c56b655a3cfb428d60f221a653b2d689d2a71fb0
2020-02-07 02:55:43 -08:00
Anton Nikolaev
e42e44c324 Support installation of plugins packaged as vsix
Summary: This is experimental feature to prove that vsix format can be used to publish plugins. Turns out there are almost no differences of vsix in comparison with npm packages.

Reviewed By: jknoxville

Differential Revision: D19770476

fbshipit-source-id: b3c62e7f2a4e8000113b9f1651e8657eb3e0d6fa
2020-02-06 11:14:15 -08:00
Anton Nikolaev
b9e7f5d6d1 Install plugin from package file
Summary:
Adding a way to install plugins directly from package files. This is required for testing after packaging format changes.

Stage 3: Implemented installation of plugins directly from package file.

Reviewed By: jknoxville

Differential Revision: D19765619

fbshipit-source-id: 57f36c87d3cf5d4e1c9a1f8f9f9f32b14a18bc8b
2020-02-06 09:43:27 -08:00
greenkeeper[bot]
e48966f529 Update algoliasearch to the latest version � (#772)
Summary:
## The dependency [algoliasearch]() was updated from `3.35.1` to `4.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:** [nunomaduro](https://www.npmjs.com/~nunomaduro)
**License:** MIT

[Find out more about this release]().

 ---

<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/772

Test Plan: Manually tested searching and installing still works.

Reviewed By: jknoxville

Differential Revision: D19690706

Pulled By: passy

fbshipit-source-id: 46cb05fb2c0429c4a1f7fb31a833cd000805825d
2020-02-03 14:54:19 -08:00
greenkeeper[bot]
96208910ea Update @types/jest to the latest version � (#764)
Summary:
## The devDependency [types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped) was updated from `24.9.1` to `25.1.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/764

Reviewed By: jknoxville, mweststrate

Differential Revision: D19602722

Pulled By: passy

fbshipit-source-id: 8f20b325389c68e4422842eea164c2f6fc84162a
2020-02-03 14:32:18 -08:00
greenkeeper[bot]
c5a30abce0 Update ts-jest to the latest version � (#768)
Summary:
## The devDependency [ts-jest](https://github.com/kulshekhar/ts-jest) was updated from `24.3.0` to `25.1.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/768

Reviewed By: mweststrate

Differential Revision: D19639975

Pulled By: passy

fbshipit-source-id: d3e344d54d76127476c42146e2cc6c4c578d89c8
2020-02-03 14:32:17 -08:00
greenkeeper[bot]
5f5cb64753 Update flow-bin to the latest version � (#763)
Summary:
## The devDependency [flow-bin](https://github.com/flowtype/flow-bin) was updated from `0.115.0` to `0.117.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:** [mvitousek](https://www.npmjs.com/~mvitousek)
**License:** MIT

[Find out more about this release](https://github.com/flowtype/flow-bin).

 ---

<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/763

Reviewed By: passy

Differential Revision: D19621269

Pulled By: mweststrate

fbshipit-source-id: d213eeda19ba3715471f3843b38a8ae5d7a53713
2020-01-31 04:48:23 -08:00
Michel Weststrate
cd3a2f4f29 Update some deps, fixes #751, #766
Summary: Update the deps as proposed by greenkeeper, to check if they indeed break the build

Reviewed By: passy

Differential Revision: D19620346

fbshipit-source-id: 9e273012373f7091180d90c368a8193572b7155a
2020-01-29 08:30:54 -08:00
greenkeeper[bot]
f0a3b5aeb9 Update mkdirp in group main to the latest version � (#757)
Summary:
## The dependency [mkdirp](https://github.com/isaacs/node-mkdirp) was updated from `0.5.1` to `1.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:** [isaacs](https://www.npmjs.com/~isaacs)
**License:** MIT

[Find out more about this release](https://github.com/isaacs/node-mkdirp).

 ---

<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/757

Reviewed By: mweststrate

Differential Revision: D19578531

Pulled By: passy

fbshipit-source-id: b31ca29fabf263978242af464882cc530ff6564d
2020-01-28 02:58:48 -08:00
greenkeeper[bot]
53d0971540 Update cross-env to the latest version � (#759)
Summary:
## The dependency [cross-env](https://github.com/kentcdodds/cross-env) was updated from `6.0.3` to `7.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:** [kentcdodds](https://www.npmjs.com/~kentcdodds)
**License:** MIT

<details>
<summary>Release Notes for v7.0.0</summary>

<h1><a href="https://urls.greenkeeper.io/kentcdodds/cross-env/compare/v6.0.3...v7.0.0">7.0.0</a> (2020-01-25)</h1>
<h3>Features</h3>
<ul>
<li>update dependencies (<a href="https://urls.greenkeeper.io/kentcdodds/cross-env/issues/223" data-hovercard-type="pull_request" data-hovercard-url="/kentcdodds/cross-env/pull/223/hovercard">https://github.com/facebook/flipper/issues/223</a>) (<a href="4ec6f4009d">4ec6f40</a>)</li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>Drop Node 8 support</li>
</ul>
</details>

<details>
<summary>Commits</summary>
<p>The new version differs by 1 commits.</p>
<ul>
<li><a href="4ec6f4009d"><code>4ec6f40</code></a> <code>feat: update dependencies (https://github.com/facebook/flipper/issues/223)</code></li>
</ul>
<p>See the <a href="67f21c3254...4ec6f4009d">full diff</a></p>
</details>

 ---

<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/759

Reviewed By: mweststrate

Differential Revision: D19578528

Pulled By: passy

fbshipit-source-id: 0b3add4ae98fe7ff7d1ed9762a4c546c91b2b282
2020-01-27 09:04:59 -08:00
Anton Nikolaev
b625efee3d Doctor complains Android SDK is not installed
Summary:
There are complaints about Android SDK being reported as "not installed" when it is actually installed. To address them, I changed the way how we detect SDK and also added some minimal actionable feedback for each check.

The problem with the previous implementation of Android SDK check via "envinfo" is that the library uses "sdkmanager" tool under the hood, and this tool doesn't work on Java 9+. To fix this I'm changing the way how we assume SDK is installed to simple check for "adb" tool existence.

Actionable feedback is shown on Doctor report when you click to an item.

Reviewed By: jknoxville

Differential Revision: D19517769

fbshipit-source-id: 1c21f1bdcd05c7c0ae3f97b9c3454efa2c861d26
2020-01-23 13:37:02 -08:00
Anton Nikolaev
4d91f6eb60 Flipper Release: v0.30.2
Reviewed By: passy

Differential Revision: D19494145

fbshipit-source-id: d5d0bdf6a033c3de286029adec3e0f6245864a62
2020-01-21 03:56:46 -08:00
Anton Nikolaev
f94446310d ~10% of healthcheck runs failed with error "Cannot fine property length of undefned"
Summary: According to dashboard, ~10% of healthcheck runs failed with error "Cannot find property length of undefned". So here I'm fixing the only place where length property is used by doctor.

Reviewed By: passy

Differential Revision: D19470886

fbshipit-source-id: 3ad88370e5cb652c6f20034ebf5f38fadc46bf53
2020-01-20 09:54:24 -08:00
Pascal Hartig
ef0cf87448 Remove custom react-virtualized type overlay
Summary:
This takes presendence over the official types and
masked a bunch of errors we had in the codebase.

Reviewed By: mweststrate

Differential Revision: D19374741

fbshipit-source-id: 2fd5074f42381dd552b9cc2d460769766ab67b85
2020-01-17 03:58:33 -08:00
greenkeeper[bot]
d1ec9797bf Greenkeeper/@types/react 16.9.17 (#745)
Summary:
Close https://github.com/facebook/flipper/issues/669
Pull Request resolved: https://github.com/facebook/flipper/pull/745

Reviewed By: mweststrate

Differential Revision: D19408457

Pulled By: passy

fbshipit-source-id: 2cf380b48d80e719a36c6f9ea8c10410185eebb1
2020-01-15 05:05:28 -08:00
Pascal Hartig
acc2f293bd Remove child-process-es6-promise
Summary:
We're using two libraries to do the same thing.
The other one is better.

Reviewed By: mweststrate

Differential Revision: D18954485

fbshipit-source-id: 33ed2f452badf30cb72c69661527edc54708efba
2020-01-13 08:11:15 -08:00
Chaiwat Ekkaewnumchai
61df5de3ed @typescript-eslint Plugin Dependency Upgrade
Summary:
https://github.com/facebook/flipper/issues/720
https://github.com/facebook/flipper/issues/721

Reviewed By: passy

Differential Revision: D19360891

fbshipit-source-id: 616885213413417a4373597016a0b44bd40fd98d
2020-01-13 07:48:18 -08:00
Chaiwat Ekkaewnumchai
9f22e90491 Eslint Plugin Dependency Upgrade
Summary:
https://github.com/facebook/flipper/issues/683
https://github.com/facebook/flipper/issues/703

Reviewed By: passy

Differential Revision: D19347837

fbshipit-source-id: 23dc80cccd56f8610b38e9d61a19981bb451b1d9
2020-01-13 07:48:18 -08:00
Pascal Hartig
b2c3125a1a Upgrade invariant types
Summary: The new type defs make use of TypeScript 3.7 assertion functions which means they actually have a semantic effect on the rest of the lexical unit, which is quite neat.

Reviewed By: mweststrate

Differential Revision: D19348035

fbshipit-source-id: 3c7a21b5bece091c32f8879fed12d8e46e205ea4
2020-01-13 07:45:12 -08:00
Michel Weststrate
40f9b385bb Fix refresh plugins not having any effect
Summary:
If a plugin was registered beyond the initial start command, this didn't show up in the Flipper UI. The reason for this is that the client map is updated, but since that object is mutable, components won't detect nor reflect the change.

This diff changes to make sure a new plugin map is created if it is changed.

Reviewed By: passy

Differential Revision: D19345464

fbshipit-source-id: 3aa343e1739caf124a015c88680a94973b87f701
2020-01-10 06:32:02 -08:00
Anton Nikolaev
5c8ab0790b Add watchman installation check
Summary: Doctor to show warning if Watchman is not available

Reviewed By: mweststrate

Differential Revision: D19298730

fbshipit-source-id: 68f915c63c5f78aad91f549aabda8d4d972f4e39
2020-01-08 01:59:57 -08:00
greenkeeper[bot]
205e04fe6c Update flow-bin to the latest version � (#727)
Summary:
## The devDependency [flow-bin](https://github.com/flowtype/flow-bin) was updated from `0.114.0` to `0.115.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:** [mroch](https://www.npmjs.com/~mroch)
**License:** MIT

[Find out more about this release](https://github.com/flowtype/flow-bin).

 ---

<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/727

Reviewed By: mweststrate

Differential Revision: D19288142

Pulled By: passy

fbshipit-source-id: 1285148e9e32660462e196923afbfaf2764bc04c
2020-01-07 06:38:29 -08:00
Chaiwat Ekkaewnumchai
bacb1958fc Back out "Back out Electron 7.1.1/7.1.2 upgrades"
Summary:
Original commit changeset: 05d13aca7145

Attempt to upgrade `electron` as it instacrashed; `electron-builder` version 22.1.0 didn't sign package correctly and caused the instacrash,

Reduced the version to 21.2.0 (latest).

Reviewed By: passy, nikoant

Differential Revision: D18954671

fbshipit-source-id: bc2dbd4fec9afb51d9a535974651b13d195407b4
2020-01-06 09:44:13 -08:00
Anton Nikolaev
b7c8d5b996 Fix resolving watchman package for release build
Summary: Fixed resolving watchman package for release build

Reviewed By: jknoxville

Differential Revision: D19263946

fbshipit-source-id: 4e3f15c979f4a503599e01cb04af5da4155facd4
2020-01-02 10:35:47 -08:00
Anton Nikolaev
2bee021966 Do not show Doctor warning on startup for already seen problems
Summary: Doctor sometimes can show false-positives and in such case there is no way to suppress showing warning message on each startup. To reduce annoyance I've added an option to save the problems already seen by user and show the Doctor warning only for new problems.

Reviewed By: mweststrate

Differential Revision: D19187095

fbshipit-source-id: 14c1fcc9674f47fbe0b5b0f2d5d1bceb47f7b45d
2020-01-02 08:55:15 -08:00
Michel Weststrate
d2a2e2ab75 Introduce async message queuing
Summary:
This diff introduces the logic for queueing incoming messages rather then directly processing them you are behind the `flipper_event_queue` GK.

The reason the queue processing is a bit complicated is to make the queue can be processed non-blocking, can be cancelled, and is safe to concurrency issues.
The idea here is that the queue is processed when we switch to a plugin, report it's progress, and abort the process when switching to another plugin without loosing any work.

This diff does not include
[x] updates to the UI (**SO DON"T LAND IN ISOLATION**)
[x] metrics to see the effect

The effect of the changes can be seen when profiling the application, before this change there are very regular CPU spikes (see the small yellow bar on the top):

https://pxl.cl/TQtl

These go away when the events are no longer processed
https://pxl.cl/TQtp

Reviewed By: nikoant

Differential Revision: D19095564

fbshipit-source-id: 0b8c3421acc4a4f240bf2aab5c1743132f69aa6e
2020-01-02 07:14:12 -08:00