Commit Graph

152 Commits

Author SHA1 Message Date
Pascal Hartig
864e296f35 Recover from corrupted config.json
Summary: This has caused a few tasks to be raised. We do replace broken configs with a fresh template elsewhere, but we shouldn't throw in this place since we have a fallback.

Reviewed By: antonk52

Differential Revision: D51393314

fbshipit-source-id: 8c04946c5b0e74f5f0d42c9492aa381aa608fd35
2023-11-21 10:30:06 -08:00
Anton Kastritskiy
f2ef26cd9a bump fs-extra types
Summary: `recursive` was dropped in when [dropping](https://github.com/jprichardson/node-fs-extra/issues/886) node v10

Reviewed By: aigoncharov

Differential Revision: D48780242

fbshipit-source-id: 29349590a7f14da85fe8df28b20d9b418e7a8b1d
2023-09-05 07:17:06 -07:00
Pascal Hartig
160b05a5bd Bump deps
Summary:
This updates minor and patch level dependencies. Frustratingly, I had to revert a bunch
of changes in that version range that still caused incompatibilities and test failures.

If I find time, I'll dig a bit deeper.

Reviewed By: ivanmisuno

Differential Revision: D48433210

fbshipit-source-id: 9ab12e774c1992d4f22cc1428d34f102ce820b75
2023-08-21 03:03:30 -07:00
Lorenzo Blasa
ff6f98fc0d Import File implementation
Summary: Implementation was missing for the browser. This provides a default implementation.

Reviewed By: aigoncharov

Differential Revision: D48311198

fbshipit-source-id: fd067600f571234e0fbccfb90853b62f175ff8fb
2023-08-14 11:33:06 -07:00
Lorenzo Blasa
6430403da0 Jest update v26.6.3 -> v29.5.1
Summary:
^

Basically, update Jest and fix any raised issues. Mainly:
- Update necessary dependencies
- Update snapshots
- `useFakeTimers` caused a few issues which meant that the way we hook into the performance object had to be tweaked. The main code change is: `//fbsource/xplat/sonar/desktop/scripts/jest-setup-after.tsx`
- `mocked` -> `jest.mocked`

Changelog: Update Jest to v29.5.1

Reviewed By: antonk52

Differential Revision: D46319818

fbshipit-source-id: d218ca8f7e43abac6b00844953ddeb7f4e1010a2
2023-05-31 14:19:29 -07:00
Luke De Feo
da268f0095 Bump mock-fs
Summary: various tests failing due to this dep

Reviewed By: antonk52

Differential Revision: D45731274

fbshipit-source-id: cb79199c15a8973f50e5075dab16605d0120b30c
2023-05-10 07:47:19 -07:00
dependabot[bot]
f99bf3d15b Bump algoliasearch from 4.13.0 to 4.14.3 in /desktop (#4521)
Summary:
Bumps [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) from 4.13.0 to 4.14.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/releases">algoliasearch's releases</a>.</em></p>
<blockquote>
<h2>4.14.3</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.14.2...4.14.3">v4.14.3</a></h2>
<ul>
<li>fix(recommend): remove unused trendingFacets props  (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1433">https://github.com/facebook/flipper/issues/1433</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/ffbfc05">ffbfc05</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1433">https://github.com/facebook/flipper/issues/1433</a></li>
<li>fix(recommend): update trending facets query props (RECO-1184) (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1434">https://github.com/facebook/flipper/issues/1434</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/913443f">913443f</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1434">https://github.com/facebook/flipper/issues/1434</a></li>
<li>docs: Fix incorrect property description (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1429">https://github.com/facebook/flipper/issues/1429</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/ba59b68">ba59b68</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1429">https://github.com/facebook/flipper/issues/1429</a></li>
</ul>
<h2>4.14.2</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.14.1...4.14.2">v4.14.2</a></h2>
<ul>
<li>fix(types): add <code>abTestID</code> to <code>SearchResponse</code> (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1419">https://github.com/facebook/flipper/issues/1419</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/05059f2">05059f2</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1419">https://github.com/facebook/flipper/issues/1419</a></li>
</ul>
<h2>4.14.1</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.14.0...4.14.1">v4.14.1</a></h2>
<ul>
<li>fix(types): Updating searchoptions with explain attribute (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1415">https://github.com/facebook/flipper/issues/1415</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/c46932e">c46932e</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1415">https://github.com/facebook/flipper/issues/1415</a></li>
</ul>
<h2>4.14.0</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.13.1...4.14.0">v4.14.0</a></h2>
<ul>
<li>chore: mention <code>next</code> version in <code>README</code> (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1413">https://github.com/facebook/flipper/issues/1413</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/100d180">100d180</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1413">https://github.com/facebook/flipper/issues/1413</a></li>
<li>feat(fetch-requester): add <code>algolia/requester-fetch</code> (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1411">https://github.com/facebook/flipper/issues/1411</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/7b62403">7b62403</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1411">https://github.com/facebook/flipper/issues/1411</a></li>
</ul>
<h2>4.13.1</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.13.0...4.13.1">v4.13.1</a></h2>
<ul>
<li>fix(search): add type for queryLanguages (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1406">https://github.com/facebook/flipper/issues/1406</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/61c2976">61c2976</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1406">https://github.com/facebook/flipper/issues/1406</a> <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1405">https://github.com/facebook/flipper/issues/1405</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/blob/master/CHANGELOG.md">algoliasearch's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.14.2...4.14.3">v4.14.3</a></h2>
<ul>
<li>fix(recommend): remove unused trendingFacets props  (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1433">https://github.com/facebook/flipper/issues/1433</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/ffbfc05">ffbfc05</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1433">https://github.com/facebook/flipper/issues/1433</a></li>
<li>fix(recommend): update trending facets query props (RECO-1184) (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1434">https://github.com/facebook/flipper/issues/1434</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/913443f">913443f</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1434">https://github.com/facebook/flipper/issues/1434</a></li>
<li>docs: Fix incorrect property description (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1429">https://github.com/facebook/flipper/issues/1429</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/ba59b68">ba59b68</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1429">https://github.com/facebook/flipper/issues/1429</a></li>
</ul>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.14.1...4.14.2">v4.14.2</a></h2>
<ul>
<li>fix(types): add <code>abTestID</code> to <code>SearchResponse</code> (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1419">https://github.com/facebook/flipper/issues/1419</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/05059f2">05059f2</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1419">https://github.com/facebook/flipper/issues/1419</a></li>
</ul>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.14.0...4.14.1">v4.14.1</a></h2>
<ul>
<li>fix(types): Updating searchoptions with explain attribute (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1415">https://github.com/facebook/flipper/issues/1415</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/c46932e">c46932e</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1415">https://github.com/facebook/flipper/issues/1415</a></li>
</ul>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.13.1...4.14.0">v4.14.0</a></h2>
<ul>
<li>chore: mention <code>next</code> version in <code>README</code> (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1413">https://github.com/facebook/flipper/issues/1413</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/100d180">100d180</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1413">https://github.com/facebook/flipper/issues/1413</a></li>
<li>feat(fetch-requester): add <code>algolia/requester-fetch</code> (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1411">https://github.com/facebook/flipper/issues/1411</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/7b62403">7b62403</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1411">https://github.com/facebook/flipper/issues/1411</a></li>
</ul>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.13.0...4.13.1">v4.13.1</a></h2>
<ul>
<li>fix(search): add type for queryLanguages (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1406">https://github.com/facebook/flipper/issues/1406</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/61c2976">61c2976</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1406">https://github.com/facebook/flipper/issues/1406</a> <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1405">https://github.com/facebook/flipper/issues/1405</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="35e9858a86"><code>35e9858</code></a> chore: release v4.14.3 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1435">https://github.com/facebook/flipper/issues/1435</a>)</li>
<li><a href="913443fed5"><code>913443f</code></a> fix(recommend): update trending facets query props (RECO-1184) (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1434">https://github.com/facebook/flipper/issues/1434</a>)</li>
<li><a href="ffbfc05c74"><code>ffbfc05</code></a> fix(recommend): remove unused trendingFacets props  (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1433">https://github.com/facebook/flipper/issues/1433</a>)</li>
<li><a href="ba59b68aa9"><code>ba59b68</code></a> docs: Fix incorrect property description (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1429">https://github.com/facebook/flipper/issues/1429</a>)</li>
<li><a href="b906cbf064"><code>b906cbf</code></a> chore: release v4.14.2 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1420">https://github.com/facebook/flipper/issues/1420</a>)</li>
<li><a href="05059f281e"><code>05059f2</code></a> fix(types): add <code>abTestID</code> to <code>SearchResponse</code> (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1419">https://github.com/facebook/flipper/issues/1419</a>)</li>
<li><a href="76c7061d22"><code>76c7061</code></a> chore: release v4.14.1 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1417">https://github.com/facebook/flipper/issues/1417</a>)</li>
<li><a href="c46932e467"><code>c46932e</code></a> fix(types): Updating searchoptions with explain attribute (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1415">https://github.com/facebook/flipper/issues/1415</a>)</li>
<li><a href="407e949f07"><code>407e949</code></a> chore: release v4.14.0 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1414">https://github.com/facebook/flipper/issues/1414</a>)</li>
<li><a href="100d180270"><code>100d180</code></a> chore: mention <code>next</code> version in <code>README</code> (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1413">https://github.com/facebook/flipper/issues/1413</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.13.0...4.14.3">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=algoliasearch&package-manager=npm_and_yarn&previous-version=4.13.0&new-version=4.14.3)](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/4521

Reviewed By: mweststrate

Differential Revision: D43305160

Pulled By: ivanmisuno

fbshipit-source-id: ef1724538d3dd42deb5756813e4f2d641cd0742b
2023-02-16 06:33:32 -08:00
Pascal Hartig
18b6ce6f24 Dep bump
Summary: Combining a bunch of individual tasks for dep upgrades into one diff.

Reviewed By: ivanmisuno

Differential Revision: D42706074

fbshipit-source-id: 054b2545ad1295699f47f4c6eb5065b7b9a1d6a0
2023-01-25 04:35:09 -08:00
Andrey Goncharov
8dc5f4d3ea Remove stale build options
Summary: Now that we build all plugins at all times and it is super-fast, these options are redundant

Reviewed By: lblasa

Differential Revision: D39542723

fbshipit-source-id: 1b30ba384267ec4fd0c35b4dc14f0223ffe414c9
2022-09-15 10:02:19 -07:00
Andrey Goncharov
650ff4bcfb Remove plugin bundling
Summary: Remove the notion of bundled plugins

Reviewed By: lblasa

Differential Revision: D39308888

fbshipit-source-id: aa88ddbf2801ad1da95f89e4c761259b697b0d66
2022-09-15 10:02:19 -07:00
Joshua May
13afb8b802 Use supplied path when installing plugin from NPM to prevent escaping issues (#3825)
Summary:
Resolves https://github.com/facebook/flipper/issues/3819

This PR fixes Flipper's plugin installation, so that scoped plugins (with `/` in the name) can be successfully installed (+removed).

In more detail, Flipper's function [`installPluginFromNpm()`](69bac4a3d6/desktop/plugin-lib/src/pluginInstaller.tsx (L99-L114)) relies on the `live-plugin-manager` package to handle the NPM package to a temporary directory.

Before this patch, Flipper would assume the name of the directory (incorrectly). This patch simply uses the directory as provided by `live-plugin-manager`'s result.

If we use `shopify/flipper-plugin-react-native-performance` as a concrete example after this patch:

- `installPluginFromNpm()` is called to install `shopify/flipper-plugin-react-native-performance`
- `plugManNoDep.install()` installs the plugin to `/path/to/tmp/shopify/flipper-plugin-react-native-performance`
  - note: before this patch, it would have been assumed to be installed to: `/path/to/tmp/shopify__flipper-plugin-react-native-performance` which does not exist
- `installPluginFromTempDir()` is called to install the package to `~/.flipper/installed-plugins/shopify__flipper-plugin-react-native-performance/{version}` (where `{version}` is the current version, i.e. `1.0.0`)

Once the plugin is in `~/.flipper/installed-plugins/`, the escaping is correctly applied consistently by Flipper, and there are no further issues managing/using the plugin.

## Changelog

Fixed errors when installing scoped NPM plugins

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

Test Plan:
Ideally we'd have some unit tests, but mocking out the NPM fetching in `live-plugin-manager` seems like a bunch of work. If you have some shortcuts, let me know, because this would be useful to test across platforms.

But in the meantime, we can easily manually test this.

### Reproduce the failure

First, let's reproduce the failure:

- run Flipper 0.150.0 (or `yarn start` on master, etc)
- open plugin marketplace, attempt to install scoped plugins
- installation will fail (with ⚠️ icon)
<img width="1541" alt="Screen Shot 2022-06-20 at 1 18 21 pm" src="https://user-images.githubusercontent.com/33126/174590735-ed25d192-a661-4333-af08-e494678b9fbb.png">
- logs will show a failure to read `package.json`
<img width="1175" alt="Screen Shot 2022-06-20 at 1 18 39 pm" src="https://user-images.githubusercontent.com/33126/174590824-339ba7ef-dcde-42b6-90ac-b99424845c3e.png">

### Demonstrate success

- run Flipper from this branch (via `yarn start`)
- open plugin marketplace, attempt to install scoped plugins
- installation will succeed, with notification to restart Flipper
<img width="1541" alt="image" src="https://user-images.githubusercontent.com/33126/174591112-880f55bf-0439-457c-a199-4bab0b3f193f.png">
- (package can also be successfully used/upgraded/uninstalled)

Reviewed By: lawrencelomax

Differential Revision: D39345564

Pulled By: lblasa

fbshipit-source-id: 729d70a29c7941e59ac03bb21061fc1d2bc8d998
2022-09-08 04:27:00 -07:00
Andrey Goncharov
2b16916a85 Deprecate kaios-portal
Reviewed By: passy

Differential Revision: D36807506

fbshipit-source-id: 660f334a46dbf7847c90ce6e67f2dc974c1daf90
2022-06-07 04:00:02 -07:00
Andrey Goncharov
59761ecd50 Mark deprecated plugins in the UI
Summary:
Changelog: Add a deprecation warning for deprecated plugins.

Closes https://github.com/facebook/flipper/issues/2074

Reviewed By: lblasa, antonk52

Differential Revision: D36760209

fbshipit-source-id: 64cf799644f28aeedf88824c949738a6a766b094
2022-05-30 07:32:12 -07:00
Andrey Goncharov
50111ef24b Add headless plugin definition
Summary: Support explicitly marking headless plugins as "headless"

Reviewed By: passy

Differential Revision: D35891387

fbshipit-source-id: 50b5acb3a7c52d7aedf32e271ebe6fc6d4fcef73
2022-05-10 05:13:24 -07:00
Pascal Hartig
342e22bd87 Upgrade more /desktop deps
Summary: More bumps for patch and minor releases. allow-large-files

Reviewed By: aigoncharov

Differential Revision: D36104098

fbshipit-source-id: 6db995e660afbe4febd72aa70ed8150cc16a8c93
2022-05-04 04:03:19 -07:00
Pascal Hartig
cc3aca0e8b Upgrade @types/node to one version everywhere
Summary: Caused some inconsistencies when running `tsc`. This brings them back in line.

Reviewed By: aigoncharov

Differential Revision: D36101548

fbshipit-source-id: b8f757c59f879911c9b0920fe11396246ffa37e2
2022-05-04 04:03:19 -07:00
dependabot[bot]
04eadc7059 Bump algoliasearch from 4.12.2 to 4.13.0 in /desktop (#3537)
Summary:
Bumps [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) from 4.12.2 to 4.13.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/releases">algoliasearch's releases</a>.</em></p>
<blockquote>
<h2>4.13.0</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.12.2...4.13.0">v4.13.0</a></h2>
<ul>
<li>feat(recommend): Add trending types and methods (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1396">https://github.com/facebook/flipper/issues/1396</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/6882ec8">6882ec8</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1396">https://github.com/facebook/flipper/issues/1396</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/blob/master/CHANGELOG.md">algoliasearch's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.12.2...4.13.0">v4.13.0</a></h2>
<ul>
<li>feat(recommend): Add trending types and methods (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1396">https://github.com/facebook/flipper/issues/1396</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/6882ec8">6882ec8</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1396">https://github.com/facebook/flipper/issues/1396</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="30518b030e"><code>30518b0</code></a> chore: release v4.13.0 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1400">https://github.com/facebook/flipper/issues/1400</a>)</li>
<li><a href="a91cc5b3de"><code>a91cc5b</code></a> fix(recommend): declare type before usage (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1399">https://github.com/facebook/flipper/issues/1399</a>)</li>
<li><a href="6882ec8cb3"><code>6882ec8</code></a> feat(recommend): Add trending types and methods (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1396">https://github.com/facebook/flipper/issues/1396</a>)</li>
<li>See full diff in <a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.12.2...4.13.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=algoliasearch&package-manager=npm_and_yarn&previous-version=4.12.2&new-version=4.13.0)](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/3537

Reviewed By: mweststrate

Differential Revision: D34867303

Pulled By: lblasa

fbshipit-source-id: 5bcd9bfb0eafcdcbf1f56ed1843e50e8356819d6
2022-03-15 05:48:37 -07:00
Pascal Hartig
9d390d0864 Dep bump for /desktop
Summary: Combining dependabot bumps.

Reviewed By: nikoant

Differential Revision: D34682717

fbshipit-source-id: 09975ed9f258d2f5bed6871e15643c38a07e0459
2022-03-08 03:02:11 -08:00
Pascal Hartig
7c1251075f Dep bump for /desktop
Summary:
Combining a bunch of dependabot PRs.

N.B. I had to manually clean up the `yarn.lock` a few times because some dependencies resolved to multiple version numbers, catching tsc off-guard.
allow-large-files

Reviewed By: nikoant

Differential Revision: D34579180

fbshipit-source-id: a4848e1010ff240d9b0e721d3878585e7b4bd078
2022-03-03 04:11:52 -08:00
Andrey Goncharov
5cdb7c952e Update build scripts to support bundling server add-ons
Summary: Summary

Reviewed By: nikoant

Differential Revision: D34170565

fbshipit-source-id: be9904809bf33e85536a4c6ead0e753ef05209ff
2022-02-28 03:50:34 -08:00
Andrey Goncharov
fc20abf392 Add Flipper server command definitions
Reviewed By: lblasa

Differential Revision: D33980529

fbshipit-source-id: b64f48134d4816d3502c70d15beff90a044490a4
2022-02-28 03:50:34 -08:00
dependabot[bot]
5805d03091 Bump algoliasearch from 4.12.0 to 4.12.1 in /desktop (#3419)
Summary:
Bumps [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) from 4.12.0 to 4.12.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/releases">algoliasearch's releases</a>.</em></p>
<blockquote>
<h2>4.12.1</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.12.0...4.12.1">v4.12.1</a></h2>
<ul>
<li>fix(types): allow mix of strings and arrays in facetFilters (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1384">https://github.com/facebook/flipper/issues/1384</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/dfc2a09">dfc2a09</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1384">https://github.com/facebook/flipper/issues/1384</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/blob/master/CHANGELOG.md">algoliasearch's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.12.0...4.12.1">v4.12.1</a></h2>
<ul>
<li>fix(types): allow mix of strings and arrays in facetFilters (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1384">https://github.com/facebook/flipper/issues/1384</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/dfc2a09">dfc2a09</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1384">https://github.com/facebook/flipper/issues/1384</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="49d6635f48"><code>49d6635</code></a> chore: release v4.12.1 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1386">https://github.com/facebook/flipper/issues/1386</a>)</li>
<li><a href="dfc2a0988c"><code>dfc2a09</code></a> fix(types): allow mix of strings and arrays in facetFilters (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1384">https://github.com/facebook/flipper/issues/1384</a>)</li>
<li>See full diff in <a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.12.0...4.12.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=algoliasearch&package-manager=npm_and_yarn&previous-version=4.12.0&new-version=4.12.1)](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/3419

Reviewed By: passy

Differential Revision: D34049847

Pulled By: mweststrate

fbshipit-source-id: e68d4ef48b4b04f84737e08694104da6d0f14843
2022-02-09 02:13:06 -08:00
Anton Kastritskiy
69bac4a3d6 Rename second batch for '.ts' files to '.tsx' in plugin-lib dir
Summary: Rename first batch for '.ts' files to '.tsx'

Reviewed By: passy

Differential Revision: D33843245

fbshipit-source-id: 28fd161e258e4d20200620b083aea48f9e58ea64
2022-01-31 06:08:28 -08:00
dependabot[bot]
b4f32a0f17 Bump algoliasearch from 4.11.0 to 4.12.0 in /desktop (#3314)
Summary:
Bumps [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) from 4.11.0 to 4.12.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/releases">algoliasearch's releases</a>.</em></p>
<blockquote>
<h2>4.12.0</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.11.0...4.12.0">v4.12.0</a></h2>
<ul>
<li>feat(types): add reranking engine settings to types (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1378">https://github.com/facebook/flipper/issues/1378</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/e9c0f30">e9c0f30</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1378">https://github.com/facebook/flipper/issues/1378</a></li>
<li>chore: clean up unused package and auto exports (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1315">https://github.com/facebook/flipper/issues/1315</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/dfa7254">dfa7254</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1315">https://github.com/facebook/flipper/issues/1315</a></li>
<li>chore: Configure Renovate (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1304">https://github.com/facebook/flipper/issues/1304</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/f75924d">f75924d</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1304">https://github.com/facebook/flipper/issues/1304</a></li>
<li>chore: disable renovate until the test suite is less flaky (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1370">https://github.com/facebook/flipper/issues/1370</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/8c8db3d">8c8db3d</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1370">https://github.com/facebook/flipper/issues/1370</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/blob/master/CHANGELOG.md">algoliasearch's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.11.0...4.12.0">v4.12.0</a></h2>
<ul>
<li>feat(types): add reranking engine settings to types (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1378">https://github.com/facebook/flipper/issues/1378</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/e9c0f30">e9c0f30</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1378">https://github.com/facebook/flipper/issues/1378</a></li>
<li>chore: clean up unused package and auto exports (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1315">https://github.com/facebook/flipper/issues/1315</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/dfa7254">dfa7254</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1315">https://github.com/facebook/flipper/issues/1315</a></li>
<li>chore: Configure Renovate (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1304">https://github.com/facebook/flipper/issues/1304</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/f75924d">f75924d</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1304">https://github.com/facebook/flipper/issues/1304</a></li>
<li>chore: disable renovate until the test suite is less flaky (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1370">https://github.com/facebook/flipper/issues/1370</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/8c8db3d">8c8db3d</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1370">https://github.com/facebook/flipper/issues/1370</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2c626a3dd5"><code>2c626a3</code></a> chore: release v4.12.0 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1379">https://github.com/facebook/flipper/issues/1379</a>)</li>
<li><a href="e9c0f3073d"><code>e9c0f30</code></a> feat(types): add reranking engine settings to types (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1378">https://github.com/facebook/flipper/issues/1378</a>)</li>
<li><a href="8c8db3d1d6"><code>8c8db3d</code></a> chore: disable renovate until the test suite is less flaky (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1370">https://github.com/facebook/flipper/issues/1370</a>)</li>
<li><a href="f75924d4b3"><code>f75924d</code></a> chore: Configure Renovate (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1304">https://github.com/facebook/flipper/issues/1304</a>)</li>
<li><a href="dfa7254b1d"><code>dfa7254</code></a> chore: clean up unused package and auto exports (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1315">https://github.com/facebook/flipper/issues/1315</a>)</li>
<li>See full diff in <a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.11.0...4.12.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=algoliasearch&package-manager=npm_and_yarn&previous-version=4.11.0&new-version=4.12.0)](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/3314

Reviewed By: aigoncharov

Differential Revision: D33622434

Pulled By: passy

fbshipit-source-id: 8436ea8d0b7e5acfa40ebb2a51937334b5340f77
2022-01-18 06:10:48 -08:00
dependabot[bot]
479ac97661 Bump live-plugin-manager from 0.17.0 to 0.17.1 in /desktop (#3263)
Summary:
Bumps [live-plugin-manager](https://github.com/davideicardi/live-plugin-manager) from 0.17.0 to 0.17.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/davideicardi/live-plugin-manager/releases">live-plugin-manager's releases</a>.</em></p>
<blockquote>
<h2>v0.17.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix: import <code>console</code> explicitly for electron-renderer by <a href="https://github.com/ylc395"><code>@​ylc395</code></a> in <a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/pull/64">davideicardi/live-plugin-manager#64</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/ylc395"><code>@​ylc395</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/pull/64">davideicardi/live-plugin-manager#64</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/davideicardi/live-plugin-manager/compare/v0.17.0...v0.17.1">https://github.com/davideicardi/live-plugin-manager/compare/v0.17.0...v0.17.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4c751a1d8b"><code>4c751a1</code></a> 0.17.1</li>
<li><a href="54719cc0b2"><code>54719cc</code></a> Fix: import <code>console</code> explicitly for electron-renderer (<a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/issues/64">https://github.com/facebook/flipper/issues/64</a>)</li>
<li>See full diff in <a href="https://github.com/davideicardi/live-plugin-manager/compare/v0.17.0...v0.17.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=live-plugin-manager&package-manager=npm_and_yarn&previous-version=0.17.0&new-version=0.17.1)](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/3263

Reviewed By: antonk52

Differential Revision: D33511686

Pulled By: passy

fbshipit-source-id: fb94a0dc102e0615dd160a0bac0d8512956361bb
2022-01-12 05:49:14 -08:00
Andres Suarez
79023ee190 Update copyright headers from Facebook to Meta
Reviewed By: bhamodi

Differential Revision: D33331422

fbshipit-source-id: 016e8dcc0c0c7f1fc353a348b54fda0d5e2ddc01
2021-12-27 14:31:45 -08:00
Michel Weststrate
5df34a337c Unshare global types
Summary:
This diff adds `types` fields on the compiler config for every project. This way we can make sure that for example node types and packages are not available in flipper-ui-core. Without an explicit types field, all types would be shared between all packages, and implicitly included into the compilation of everything. For the same reason `types/index.d.ts` has been removed, we want to be intentional on which types are being used in which package.

This diff does most of the work, the next diff will fine tune the globals, and do some further cleanup.

As an alternative solution I first tried a `nohoist: **/node_modules/types/**` and make sure every package list explicitly the types used in package json, which works but is much more error prone, as for example two different react types versions in two packages will cause the most unreadable compiler error due to the types not being shared and not literally the same.

Reviewed By: lawrencelomax

Differential Revision: D33124441

fbshipit-source-id: c2b9d768f845ac28005d8331ef5fa1066c7e4cd7
2021-12-17 07:36:07 -08:00
Michel Weststrate
dcfeb4a4d5 Clean up packages and types
Summary:
This diff removes most deps from the root package.json, which now only contains electron and shared build / test infra structure: lint, prettier, jest, typescript.

This makes it possible to control much better which packages are used where, as all sub packages now have their deps explicitly in their package.json instead of incidentally shared. This allows for example to disable DOM types for all packages by default (flipper-plugin, ui(-core) and app still request it), and in the next diff I hope to add to this that nodeJS types are no longer shared either, so that UI oriented packages will generate compile errors when using Node built-ins

This diff removes most deps that were currently unused, and dedupes a bunch of other ones, so the build should probably be a bit smaller now as well:

{F686704253}

{F686704295}

Reviewed By: antonk52

Differential Revision: D33062859

fbshipit-source-id: 5afaa4f2103d055188382a3370c1fffa295a298a
2021-12-16 14:54:59 -08:00
Michel Weststrate
accef856fc Remove remaining Node imports from core
Summary:
Removed remaining path / fs imports from Flipper core.

`expand-tide` needed replacement too, but noticed that it never actually rewrites paths since all use cases were already using absolute paths, so removed it instead.

Reviewed By: aigoncharov

Differential Revision: D33017654

fbshipit-source-id: e12f66ef68b5f9e4279411c94445a2fb87249e9a
2021-12-13 05:48:17 -08:00
Michel Weststrate
ad4a55f263 move node types, stub node modules
Summary: This diff stubs all node modules when running in the browser, so that, albeit with a lot of errors and without plugins, the UI loads in a browser. To be continued in the rest of this diff

Reviewed By: antonk52

Differential Revision: D32665705

fbshipit-source-id: 4632e241f59c5b9712a41d01a26878afb01f69b5
2021-12-08 04:30:57 -08:00
Michel Weststrate
64747dc417 move plugin management from ui-core to server-core
Summary:
Follow up of D32665064, this diff moves all plugin management logic from flipper-ui to flipper-server. Things like downloading, installing, querying new plugins.

Loading plugins is handled separately in the next diff.

Reviewed By: nikoant

Differential Revision: D32666537

fbshipit-source-id: 9786b82987f00180bb26200e38735b334dc4d5c3
2021-12-08 04:30:56 -08:00
Michel Weststrate
e7f841b6d2 Move flipper plugin from flipper-lib types to flipper-common
Summary: Moved all types related to plugin descriptions from plugin-lib (which handles downloads and such) to flipper-common. The goal of that is to remove all plugin-lib usage from ui-core to server-core, so that the UI itself doesn't do any file operations anymore related to plugins. That will be done in next diffs, this just moves types but no code.

Reviewed By: nikoant, aigoncharov

Differential Revision: D32665064

fbshipit-source-id: 86d908e7264569b0229b09290a891171876c8e00
2021-12-08 04:30:55 -08:00
dependabot[bot]
6313a3da3a Bump mock-fs from 5.0.0 to 5.1.2 in /desktop (#3114)
Summary:
Bumps [mock-fs](https://github.com/tschaub/mock-fs) from 5.0.0 to 5.1.2.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tschaub/mock-fs/blob/main/changelog.md">mock-fs's changelog</a>.</em></p>
<blockquote>
<h2>5.1.2</h2>
<ul>
<li>Avoid open <code>FSREQCALLBACK</code> file handles (thanks <a href="https://github.com/jloleysens"><code>@​jloleysens</code></a>, see <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/342">https://github.com/facebook/flipper/issues/342</a><a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/342">https://github.com/facebook/flipper/issues/342</a>)</li>
</ul>
<h2>5.1.1</h2>
<ul>
<li>Added <code>engines</code> to <code>package.json</code> to clarify that Node &gt;= 12 is required (thanks <a href="https://github.com/tillig"><code>@​tillig</code></a>, see <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/337">https://github.com/facebook/flipper/issues/337</a><a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/337">https://github.com/facebook/flipper/issues/337</a>)</li>
</ul>
<h2>5.1.0</h2>
<ul>
<li>Added support for Node &gt;= 16.3 (thanks <a href="https://github.com/Rugvip"><code>@​Rugvip</code></a>, see <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/335">https://github.com/facebook/flipper/issues/335</a><a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/335">https://github.com/facebook/flipper/issues/335</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ebfc4b7aa9"><code>ebfc4b7</code></a> 5.1.2</li>
<li><a href="7e3a746e26"><code>7e3a746</code></a> Log changes</li>
<li><a href="abd285a86e"><code>abd285a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/342">https://github.com/facebook/flipper/issues/342</a> from jloleysens/fix/call-original-fsBinding-open</li>
<li><a href="9bbd98719f"><code>9bbd987</code></a> also return the result of originalOpen</li>
<li><a href="2d48c6cd58"><code>2d48c6c</code></a> call original fsBinding.open when collecting ReadFileContext proto to avoid c...</li>
<li><a href="313cd08c4a"><code>313cd08</code></a> 5.1.1</li>
<li><a href="69283aa62c"><code>69283aa</code></a> Log changes</li>
<li><a href="31d901796c"><code>31d9017</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/tschaub/mock-fs/issues/337">https://github.com/facebook/flipper/issues/337</a> from tillig/patch-1</li>
<li><a href="0b8d63e77c"><code>0b8d63e</code></a> <code>engines</code> block to specify min requirements</li>
<li><a href="8a6ad90999"><code>8a6ad90</code></a> 5.1.0</li>
<li>Additional commits viewable in <a href="https://github.com/tschaub/mock-fs/compare/v5.0.0...v5.1.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mock-fs&package-manager=npm_and_yarn&previous-version=5.0.0&new-version=5.1.2)](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/3114

Reviewed By: jknoxville

Differential Revision: D32698511

Pulled By: passy

fbshipit-source-id: 0e1a698bab4ffdf01186184176848d8180789400
2021-11-30 23:11:39 -08:00
dependabot[bot]
182d1084de Bump live-plugin-manager from 0.16.0 to 0.17.0 in /desktop (#3087)
Summary:
Bumps [live-plugin-manager](https://github.com/davideicardi/live-plugin-manager) from 0.16.0 to 0.17.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/davideicardi/live-plugin-manager/releases">live-plugin-manager's releases</a>.</em></p>
<blockquote>
<h2>v0.17.0</h2>
<h2>What's Changed</h2>
<ul>
<li>simplify and fix how global are defined inside the sandbox by <a href="https://github.com/davideicardi"><code>@​davideicardi</code></a> in <a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/pull/63">davideicardi/live-plugin-manager#63</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/davideicardi/live-plugin-manager/compare/v0.16.0...v0.17.0">https://github.com/davideicardi/live-plugin-manager/compare/v0.16.0...v0.17.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="4acf7bbcb0"><code>4acf7bb</code></a> simplify and fix how global are defined inside the sandbox (<a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/issues/63">https://github.com/facebook/flipper/issues/63</a>)</li>
<li>See full diff in <a href="https://github.com/davideicardi/live-plugin-manager/compare/v0.16.0...v0.17.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=live-plugin-manager&package-manager=npm_and_yarn&previous-version=0.16.0&new-version=0.17.0)](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/3087

Reviewed By: lblasa

Differential Revision: D32674354

Pulled By: passy

fbshipit-source-id: e83925aea00e33a2e3cb81df70343c533a73c930
2021-11-26 10:26:15 -08:00
dependabot[bot]
3297c4f44b Bump algoliasearch from 4.10.5 to 4.11.0 in /desktop (#2998)
Summary:
Bumps [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) from 4.10.5 to 4.11.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/releases">algoliasearch's releases</a>.</em></p>
<blockquote>
<h2>4.11.0</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.10.5...4.11.0">v4.11.0</a></h2>
<ul>
<li>fix(insideBoundingBox): allow strings (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1310">https://github.com/facebook/flipper/issues/1310</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/87d5b0d">87d5b0d</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1310">https://github.com/facebook/flipper/issues/1310</a></li>
<li>feat: add custom request function (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1312">https://github.com/facebook/flipper/issues/1312</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/3cea192">3cea192</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1312">https://github.com/facebook/flipper/issues/1312</a></li>
<li>feat(ts): document enableReRanking (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1306">https://github.com/facebook/flipper/issues/1306</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/00ad924">00ad924</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1306">https://github.com/facebook/flipper/issues/1306</a></li>
<li>docs(recommend): add TSDoc (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1305">https://github.com/facebook/flipper/issues/1305</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/a5df2fb">a5df2fb</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1305">https://github.com/facebook/flipper/issues/1305</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/blob/master/CHANGELOG.md">algoliasearch's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.10.5...4.11.0">v4.11.0</a></h2>
<ul>
<li>fix(insideBoundingBox): allow strings (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1310">https://github.com/facebook/flipper/issues/1310</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/87d5b0d">87d5b0d</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1310">https://github.com/facebook/flipper/issues/1310</a></li>
<li>feat: add custom request function (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1312">https://github.com/facebook/flipper/issues/1312</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/3cea192">3cea192</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1312">https://github.com/facebook/flipper/issues/1312</a></li>
<li>feat(ts): document enableReRanking (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1306">https://github.com/facebook/flipper/issues/1306</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/00ad924">00ad924</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1306">https://github.com/facebook/flipper/issues/1306</a></li>
<li>docs(recommend): add TSDoc (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1305">https://github.com/facebook/flipper/issues/1305</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/a5df2fb">a5df2fb</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1305">https://github.com/facebook/flipper/issues/1305</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="9392aa43ab"><code>9392aa4</code></a> chore: release v4.11.0 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1313">https://github.com/facebook/flipper/issues/1313</a>)</li>
<li><a href="dfe3eac629"><code>dfe3eac</code></a> ci(circle): use nvm for node unit tests (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1314">https://github.com/facebook/flipper/issues/1314</a>)</li>
<li><a href="8011c0ecb7"><code>8011c0e</code></a> chore(ci): remove unused travis config</li>
<li><a href="87d5b0d842"><code>87d5b0d</code></a> fix(insideBoundingBox): allow strings (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1310">https://github.com/facebook/flipper/issues/1310</a>)</li>
<li><a href="3cea192c5c"><code>3cea192</code></a> feat: add custom request function (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1312">https://github.com/facebook/flipper/issues/1312</a>)</li>
<li><a href="7c38e642b2"><code>7c38e64</code></a> chore: dockerize development environment (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1308">https://github.com/facebook/flipper/issues/1308</a>)</li>
<li><a href="6223bf63f5"><code>6223bf6</code></a> fix(ci): update docker image (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1309">https://github.com/facebook/flipper/issues/1309</a>)</li>
<li><a href="00ad9246a9"><code>00ad924</code></a> feat(ts): document enableReRanking (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1306">https://github.com/facebook/flipper/issues/1306</a>)</li>
<li><a href="a5df2fb905"><code>a5df2fb</code></a> docs(recommend): add TSDoc (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1305">https://github.com/facebook/flipper/issues/1305</a>)</li>
<li>See full diff in <a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.10.5...4.11.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=algoliasearch&package-manager=npm_and_yarn&previous-version=4.10.5&new-version=4.11.0)](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/2998

Reviewed By: mweststrate

Differential Revision: D31991634

Pulled By: cekkaewnumchai

fbshipit-source-id: 3e6f04390b542f2e51d42446f8758e2ed591bb9b
2021-10-28 06:18:11 -07:00
Pascal Hartig
f8117240af Fix async filtering (#3008)
Summary:
I relied too much on the types which in this case don't help at all.
Filtering on a promise will just automatically get all values to pass.

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

Test Plan: `yarn build --mac` works again on the GH checkout.

Reviewed By: mweststrate

Differential Revision: D31991576

Pulled By: passy

fbshipit-source-id: f632d29ddfc09b7130b68b4b17264fd30e1969ce
2021-10-28 05:36:52 -07:00
Pascal Hartig
1b5cd3d2d5 Fix Flipper lints #12
Reviewed By: timur-valiev

Differential Revision: D31932981

fbshipit-source-id: 4cf905495494466462c0494116f56cd16773e549
2021-10-27 11:10:52 -07:00
Pascal Hartig
b3fa8dd6c1 Dep bump
Summary:
Took a few iterations to make offline mirror happy, but everything is green now.

allow-large-files

Reviewed By: nikoant

Differential Revision: D31690614

fbshipit-source-id: 38d0d6cb5e3f63b3707d917a1ed6fc6144762731
2021-10-19 09:21:36 -07:00
Pascal Hartig
dd190ef2e0 Big dep bump
Summary: Conservatively bumping only patch versions (except the ones we know break stuff).

Reviewed By: nikoant

Differential Revision: D31511737

fbshipit-source-id: 5b55b4689e71975824577f0ac43d806ca37ea232
2021-10-11 02:32:44 -07:00
dependabot[bot]
7396a32be6 Bump live-plugin-manager from 0.15.1 to 0.16.0 in /desktop (#2781)
Summary:
Bumps [live-plugin-manager](https://github.com/davideicardi/live-plugin-manager) from 0.15.1 to 0.16.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/davideicardi/live-plugin-manager/releases">live-plugin-manager's releases</a>.</em></p>
<blockquote>
<h2>v0.16.0</h2>
<ul>
<li>update dependencies</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="a05d1fd3b5"><code>a05d1fd</code></a> Feature/update dependencies (<a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/issues/58">https://github.com/facebook/flipper/issues/58</a>)</li>
<li><a href="7a6405231a"><code>7a64052</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/issues/34">https://github.com/facebook/flipper/issues/34</a> from strogonoff/patch-1</li>
<li><a href="c0c3278490"><code>c0c3278</code></a> docs(readme): fix a typo</li>
<li>See full diff in <a href="https://github.com/davideicardi/live-plugin-manager/compare/v0.15.1...v0.16.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=live-plugin-manager&package-manager=npm_and_yarn&previous-version=0.15.1&new-version=0.16.0)](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/2781

Reviewed By: passy

Differential Revision: D30840638

Pulled By: mweststrate

fbshipit-source-id: eab1315cecd77d14886ffd567fdac1a650224a60
2021-09-13 03:27:01 -07:00
Michel Weststrate
1a91dc53fd Upgrade TS to 4.4
Summary: per title. TS 4.4 is awesome btw, with the much improved control flow analysis.

Reviewed By: timur-valiev

Differential Revision: D30806769

fbshipit-source-id: a41aa7bf10fdb0047ddb6210082b5e1fbdfb255f
2021-09-08 09:59:38 -07:00
Pascal Hartig
d48293c30f Bump dependencies
Summary: Again, bundling a bunch of dependabot tasks I've received.

Reviewed By: mweststrate

Differential Revision: D30667465

fbshipit-source-id: 1acd29a36a642984105bbccfc75e0e3dd9e0f79b
2021-09-02 03:30:25 -07:00
Pascal Hartig
1304e7c5d7 Monday patch dep bump
Summary:
allow-large-files
Only patch bumps of >1.0.0, should be safe.

Reviewed By: jknoxville

Differential Revision: D30482302

fbshipit-source-id: b5f331822ba6931b6e5f68190c7d50c62611a153
2021-08-24 17:08:25 -07:00
Ananya Arun
025ca05d62 Enrich plugin metadata on what apps they support and add unit tests
Summary:
- This Diff is part 1 of 2 of milestone 1 of my internship project flipper self sufficiency. The task can be found here - https://www.internalfb.com/tasks?q=958574791613645&t=91334896

- I have extended the plugin package meta data format to support a "supportedApps" field that consists of appID (facebook, instagram, messenger etc) along with OS and type that were previously defined in supportedDevices as well.

- The diff also adds unit tests for this new format to ensure addition of the supportedApps field does not break anything.

Reviewed By: nikoant

Differential Revision: D30133225

fbshipit-source-id: 6ef0d1cadd61c0d69640cf61793322acb4cd65f4
2021-08-06 07:14:44 -07:00
Pascal Hartig
27eaf4f03d Tuesday dep bump
Summary:
allow-large-files
Got a ton of open bumps in GitHub. Want to address a bunch of them in one swoop.

Reviewed By: jknoxville, nikoant

Differential Revision: D29933570

fbshipit-source-id: d5dc18fab22e8c5b300ab318e60dd1514aecfd52
2021-07-27 11:42:46 -07:00
Pascal Hartig
3981ac9b1e Monday dep bump
Summary:
Going through all the patch updates and other small updates to pre-empt dependabot.

allow-large-files

Reviewed By: jknoxville

Differential Revision: D29547777

fbshipit-source-id: 86ef2408da0564049916cd96d66665074cdc23f2
2021-07-05 08:30:31 -07:00
Pascal Hartig
099e792aaf Clean up deps
Summary: These seem unused.

Reviewed By: fabiomassimo

Differential Revision: D29328071

fbshipit-source-id: b4f6d163d03caa9390696fbc33a3b8afcfc6ad2a
2021-06-30 10:00:13 -07:00
Anton Nikolaev
9fc85730ba Show plugin documentation in Flipper
Reviewed By: passy

Differential Revision: D29392524

fbshipit-source-id: 675de1fc070b1b8b22d0b27721c16dbd6f7076ef
2021-06-29 13:02:05 -07:00
Pascal Hartig
bf1b10c130 Tuesday dep bump
Summary:
allow-large-files

More easy patch version updates.

Reviewed By: jknoxville

Differential Revision: D29453190

fbshipit-source-id: ef9bd37317f9e8e1809d624db5ed62ce34b56931
2021-06-29 09:33:22 -07:00
dependabot[bot]
5a974b594b Bump typescript from 4.3.2 to 4.3.4 in /desktop (#2528)
Summary:
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.2 to 4.3.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/Microsoft/TypeScript/releases">typescript's releases</a>.</em></p>
<blockquote>
<h2>TypeScript 4.3.4</h2>
<p>This release</p>
<ul>
<li>adds an optional <code>getCustomTransformers</code> method to the <code>SolutionBuilderHost*</code> APIs</li>
<li>uses the transforms given by <code>getCustomTransformers</code> in Builder Program instances when running <code>emit()</code> methods in cases where <code>customTransforms</code> are not given.</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/microsoft/TypeScript/pull/44489">See the change for more details</a></p>
<h2>TypeScript 4.3.3</h2>
<p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-4-3">release announcement</a>.</p>
<p>For the complete list of fixed issues, check out the</p>
<ul>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+4.3.0%22+is%3Aclosed+">fixed issues query for TypeScript v4.3.0 (Beta)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+4.3.1%22+is%3Aclosed+">fixed issues query for TypeScript v4.3.1 (RC)</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+4.3.2%22+is%3Aclosed+">fixed issues query for TypeScript v4.3.2</a>.</li>
<li><a href="https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+milestone%3A%22TypeScript+4.3.2%22+is%3Aclosed+">fixed issues query for TypeScript v4.3.3</a>.</li>
</ul>
<p>Downloads are available on:</p>
<ul>
<li><a href="https://www.npmjs.com/package/typescript">npm</a></li>
<li><a href="https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.TypeScript-43">Visual Studio 2017/2019</a> (<a href="https://github.com/Microsoft/TypeScript/wiki/Updating-TypeScript-in-Visual-Studio-2017">Select new version in project options</a>)</li>
<li><a href="https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild">NuGet package</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="32210356e7"><code>3221035</code></a> Bump version to 4.3.4 and LKG</li>
<li><a href="6d8fd79c62"><code>6d8fd79</code></a> Add SolutionBuilderHostBase.getCustomTransformers to be used when emitting. (...</li>
<li><a href="14231aff09"><code>14231af</code></a> Bump version to 4.3.3 and LKG</li>
<li><a href="89a171e308"><code>89a171e</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44126">#44126</a> into release-4.3 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44189">#44189</a>)</li>
<li><a href="419f1e7fe8"><code>419f1e7</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44070">#44070</a> into release-4.3 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44187">#44187</a>)</li>
<li><a href="60f6d7bb34"><code>60f6d7b</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44394">#44394</a> into release-4.3 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44431">#44431</a>)</li>
<li><a href="b60901da4f"><code>b60901d</code></a> Fix duplicate visit of param tag comments (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44443">#44443</a>) (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44444">#44444</a>)</li>
<li><a href="4f7fe4a1de"><code>4f7fe4a</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44290">#44290</a> into release-4.3 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44425">#44425</a>)</li>
<li><a href="e425f573aa"><code>e425f57</code></a> Fix unintended 'as const' name lookup error (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44311">#44311</a>) (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44370">#44370</a>)</li>
<li>See full diff in <a href="https://github.com/Microsoft/TypeScript/compare/v4.3.2...v4.3.4">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typescript&package-manager=npm_and_yarn&previous-version=4.3.2&new-version=4.3.4)](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/2528

Reviewed By: mweststrate

Differential Revision: D29429965

Pulled By: cekkaewnumchai

fbshipit-source-id: c7f4e7efddb6cda712e0f00e83439e235ca98655
2021-06-28 17:03:28 -07:00