Commit Graph

179 Commits

Author SHA1 Message Date
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
Pascal Hartig
e1d15fee15 Disable flaky test
Summary:
Test is flaky, causing failures on master.

{P498157360}

Reviewed By: lblasa

Differential Revision: D36004615

fbshipit-source-id: 484451f83459e42d459ed548525055d230e07734
2022-05-03 08:52:18 -07:00
Lukas Kurucz
e7c56045f5 Add "MacOS" to supportedDevices (#3648)
Summary:
This is already supported, when running Flipper on Mac, so just need update schema.

One use case for `MacOS`, is to have a static plugin available to users before they launch any app/device. So this can be used as Welcome plugin, Documentation or any other "static" plugin not requiring any other device except the one running Flipper Desktop.

## Changelog

- add `MacOS` to supported devices

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

Test Plan: - Script `lint` should pass.

Reviewed By: antonk52

Differential Revision: D35810577

Pulled By: lblasa

fbshipit-source-id: e1a2948fdf67535d28b68eeab649214b44ebcf9c
2022-04-22 03:58:36 -07:00
dependabot[bot]
9995e22bdd Bump @oclif/plugin-help from 3.2.18 to 5.1.12 in /desktop (#3525)
Summary:
Bumps [oclif/plugin-help](https://github.com/oclif/plugin-help) from 3.2.18 to 5.1.12.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/oclif/plugin-help/releases"><code>@​oclif/plugin-help</code>'s releases</a>.</em></p>
<blockquote>
<h2>v5.1.12</h2>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.11...v5.1.12">5.1.12</a> (2022-03-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>types package.json (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/375">https://github.com/facebook/flipper/issues/375</a>) (<a href="d1b24b0703">d1b24b0</a>)</li>
</ul>
<h2>v5.1.11</h2>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.10...v5.1.11">5.1.11</a> (2022-02-01)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump dependencies (<a href="3c346fdb3a">3c346fd</a>)</li>
</ul>
<h2>v5.1.10</h2>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.9...v5.1.10">5.1.10</a> (2021-12-08)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>align deps across repos (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/339">https://github.com/facebook/flipper/issues/339</a>) (<a href="87d71e327c">87d71e3</a>)</li>
</ul>
<h2>v5.1.9</h2>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.8...v5.1.9">5.1.9</a> (2021-12-08)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/338">https://github.com/facebook/flipper/issues/338</a>) (<a href="e21970d677">e21970d</a>)</li>
</ul>
<h2>v5.1.8</h2>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.7...v5.1.8">5.1.8</a> (2021-12-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>create index.ts (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/337">https://github.com/facebook/flipper/issues/337</a>) (<a href="f58b32cc1f">f58b32c</a>)</li>
</ul>
<h2>v5.1.7</h2>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.6...v5.1.7">5.1.7</a> (2021-12-02)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump <code>@​oclif/core</code> (<a href="cfb8a70a52">cfb8a70</a>)</li>
</ul>
<h2>v5.1.6</h2>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.5...v5.1.6">5.1.6</a> (2021-12-02)</h3>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/oclif/plugin-help/blob/main/CHANGELOG.md"><code>@​oclif/plugin-help</code>'s changelog</a>.</em></p>
<blockquote>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.11...v5.1.12">5.1.12</a> (2022-03-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>types package.json (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/375">https://github.com/facebook/flipper/issues/375</a>) (<a href="d1b24b0703">d1b24b0</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.10...v5.1.11">5.1.11</a> (2022-02-01)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump dependencies (<a href="3c346fdb3a">3c346fd</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.9...v5.1.10">5.1.10</a> (2021-12-08)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>align deps across repos (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/339">https://github.com/facebook/flipper/issues/339</a>) (<a href="87d71e327c">87d71e3</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.8...v5.1.9">5.1.9</a> (2021-12-08)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/338">https://github.com/facebook/flipper/issues/338</a>) (<a href="e21970d677">e21970d</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.7...v5.1.8">5.1.8</a> (2021-12-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>create index.ts (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/337">https://github.com/facebook/flipper/issues/337</a>) (<a href="f58b32cc1f">f58b32c</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.6...v5.1.7">5.1.7</a> (2021-12-02)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump <code>@​oclif/core</code> (<a href="cfb8a70a52">cfb8a70</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.5...v5.1.6">5.1.6</a> (2021-12-02)</h3>
<h3><a href="https://github.com/oclif/plugin-help/compare/v5.1.4...v5.1.5">5.1.5</a> (2021-12-01)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/331">https://github.com/facebook/flipper/issues/331</a>) (<a href="61cd38c5db">61cd38c</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="3b8ecdc8bd"><code>3b8ecdc</code></a> chore(release): 5.1.12 [ci skip]</li>
<li><a href="d1b24b0703"><code>d1b24b0</code></a> fix: types package.json (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/375">https://github.com/facebook/flipper/issues/375</a>)</li>
<li><a href="bc501f13dc"><code>bc501f1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/370">https://github.com/facebook/flipper/issues/370</a> from oclif/dependabot-npm_and_yarn-oclif-2.5.0</li>
<li><a href="2bfc643205"><code>2bfc643</code></a> chore(deps-dev): bump oclif from 2.4.1 to 2.5.0</li>
<li><a href="e6e3010167"><code>e6e3010</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/371">https://github.com/facebook/flipper/issues/371</a> from oclif/dependabot-npm_and_yarn-typescript-4.6.2</li>
<li><a href="6644f5d549"><code>6644f5d</code></a> chore(deps-dev): bump typescript from 4.5.5 to 4.6.2</li>
<li><a href="a9c5155278"><code>a9c5155</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/372">https://github.com/facebook/flipper/issues/372</a> from oclif/dependabot-npm_and_yarn-oclif-test-2.1.0</li>
<li><a href="dc7bb8e4a0"><code>dc7bb8e</code></a> chore(deps-dev): bump <code>@​oclif/test</code> from 2.0.3 to 2.1.0</li>
<li><a href="5cce15c641"><code>5cce15c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/373">https://github.com/facebook/flipper/issues/373</a> from oclif/dependabot-npm_and_yarn-oclif-core-1.3.6</li>
<li><a href="26e69cca8b"><code>26e69cc</code></a> chore(deps): bump <code>@​oclif/core</code> from 1.3.0 to 1.3.6</li>
<li>Additional commits viewable in <a href="https://github.com/oclif/plugin-help/compare/v3.2.18...v5.1.12">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@oclif/plugin-help&package-manager=npm_and_yarn&previous-version=3.2.18&new-version=5.1.12)](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/3525

Reviewed By: passy

Differential Revision: D34862254

Pulled By: lblasa

fbshipit-source-id: cfafde612961e2add0700696956465143ac21454
2022-03-14 10:49:06 -07: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
47dd675dc8 Update schema
Reviewed By: mweststrate

Differential Revision: D34169727

fbshipit-source-id: 4df1eeb17ff3894e60b7b857a571524dba7de085
2022-02-28 03:50:34 -08:00
dependabot[bot]
f85a233c60 Bump cli-ux from 5.6.7 to 6.0.9 in /desktop (#3409)
Summary:
Bumps [cli-ux](https://github.com/oclif/cli-ux) from 5.6.7 to 6.0.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/oclif/cli-ux/releases">cli-ux's releases</a>.</em></p>
<blockquote>
<h2>v6.0.9</h2>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.8...v6.0.9">6.0.9</a> (2022-01-31)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>deprecate cli ux (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/477">https://github.com/facebook/flipper/issues/477</a>) (<a href="270efe34fa">270efe3</a>)</li>
</ul>
<h2>v6.0.8</h2>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.7...v6.0.8">6.0.8</a> (2022-01-10)</h3>
<h3>Bug Fixes</h3>
<ul>
<li><strong>security:</strong> bump cli-progress (<a href="05119448c4">0511944</a>)</li>
</ul>
<h2>v6.0.7</h2>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.6...v6.0.7">6.0.7</a> (2022-01-06)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump <code>@​oclif/core</code> (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/475">https://github.com/facebook/flipper/issues/475</a>) (<a href="ce8cec5cc5">ce8cec5</a>)</li>
</ul>
<h2>v6.0.6</h2>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.5...v6.0.6">6.0.6</a> (2021-12-08)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps and fix tests (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/465">https://github.com/facebook/flipper/issues/465</a>) (<a href="44eecd0df4">44eecd0</a>)</li>
</ul>
<h2>v6.0.5</h2>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.4...v6.0.5">6.0.5</a> (2021-12-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/462">https://github.com/facebook/flipper/issues/462</a>) (<a href="2b8699dd2a">2b8699d</a>)</li>
</ul>
<h2>v6.0.4</h2>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.3...v6.0.4">6.0.4</a> (2021-12-06)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/459">https://github.com/facebook/flipper/issues/459</a>) (<a href="d1cf5f55d9">d1cf5f5</a>)</li>
</ul>
<h2>v6.0.3</h2>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.2...v6.0.3">6.0.3</a> (2021-12-02)</h3>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/oclif/cli-ux/blob/main/CHANGELOG.md">cli-ux's changelog</a>.</em></p>
<blockquote>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.8...v6.0.9">6.0.9</a> (2022-01-31)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>deprecate cli ux (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/477">https://github.com/facebook/flipper/issues/477</a>) (<a href="270efe34fa">270efe3</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.7...v6.0.8">6.0.8</a> (2022-01-10)</h3>
<h3>Bug Fixes</h3>
<ul>
<li><strong>security:</strong> bump cli-progress (<a href="05119448c4">0511944</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.6...v6.0.7">6.0.7</a> (2022-01-06)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump <code>@​oclif/core</code> (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/475">https://github.com/facebook/flipper/issues/475</a>) (<a href="ce8cec5cc5">ce8cec5</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.5...v6.0.6">6.0.6</a> (2021-12-08)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps and fix tests (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/465">https://github.com/facebook/flipper/issues/465</a>) (<a href="44eecd0df4">44eecd0</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.4...v6.0.5">6.0.5</a> (2021-12-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/462">https://github.com/facebook/flipper/issues/462</a>) (<a href="2b8699dd2a">2b8699d</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.3...v6.0.4">6.0.4</a> (2021-12-06)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/459">https://github.com/facebook/flipper/issues/459</a>) (<a href="d1cf5f55d9">d1cf5f5</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.2...v6.0.3">6.0.3</a> (2021-12-02)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>update oclif/core imports (<a href="74fdab55fe">74fdab5</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/cli-ux/compare/v6.0.1...v6.0.2">6.0.2</a> (2021-12-01)</h3>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="94a2dbfdc7"><code>94a2dbf</code></a> chore(release): 6.0.9 [ci skip]</li>
<li><a href="270efe34fa"><code>270efe3</code></a> fix: deprecate cli ux (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/477">https://github.com/facebook/flipper/issues/477</a>)</li>
<li><a href="82449f03c3"><code>82449f0</code></a> chore(release): 6.0.8 [ci skip]</li>
<li><a href="05119448c4"><code>0511944</code></a> fix(security): bump cli-progress</li>
<li><a href="bab8a2bb94"><code>bab8a2b</code></a> chore(release): 6.0.7 [ci skip]</li>
<li><a href="ce8cec5cc5"><code>ce8cec5</code></a> fix: bump <code>@​oclif/core</code> (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/475">https://github.com/facebook/flipper/issues/475</a>)</li>
<li><a href="8c2ee67e81"><code>8c2ee67</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/474">https://github.com/facebook/flipper/issues/474</a> from oclif/dependabot-npm_and_yarn-typescript-4.5.4</li>
<li><a href="4358d81b02"><code>4358d81</code></a> chore(deps-dev): bump typescript from 4.5.2 to 4.5.4</li>
<li><a href="e76b18ce7d"><code>e76b18c</code></a> chore: sync dependabot.yml (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/419">https://github.com/facebook/flipper/issues/419</a>)</li>
<li><a href="3889c2e1ba"><code>3889c2e</code></a> ci: sync .circleci/config.yml (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/470">https://github.com/facebook/flipper/issues/470</a>) [skip ci]</li>
<li>Additional commits viewable in <a href="https://github.com/oclif/cli-ux/compare/v5.6.7...v6.0.9">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D34050540

Pulled By: mweststrate

fbshipit-source-id: b1ce13a5939c17a689dcdb801436b95fbcfcf499
2022-02-08 04:45:15 -08:00
Anton Kastritskiy
48d43c7367 rename from ts to tsx in pkg and pkg-lib
Summary: mass rename files

Reviewed By: passy

Differential Revision: D33890034

fbshipit-source-id: 1c654a4f7f5b83eaa56a8c11df863003e8d7bed7
2022-01-31 06:22:56 -08:00
almouro
3eb53f5987 Fix desktop template tests (#3327)
Summary:
When creating a brand new Flipper desktop plugin, the tests don't pass

### To Reproduce

```
npx flipper-pkg init
cd flipper-plugin-new
yarn jest
```

The test are not passing.
It would seem that we have 2 issues since this commit: e46fcba0b2 (diff-26467a831e67f87a2bd99be5b62a71a6e3e4e7f86135c11ccede9a02e58c44feR48)

#### 1. `electronRequire` is not defined

![image](https://user-images.githubusercontent.com/4534323/150385278-29527a4d-4783-4902-aeea-986b3c634a29.png)

Adding:
```ts
// ts-ignore
global.electronRequire = require;
```
fixes the issue of course like [here](e46fcba0b2 (diff-a283d77d8667b28aec5319fe5671a91489485a683898efedf9441b816c84a447R15)) but might not be very ideal
When fixing this, we hit a second issue:

#### 2. Hooks cannot be defined inside tests

![image](https://user-images.githubusercontent.com/4534323/150385722-c0604cfc-33ef-4d8e-a8fd-d60042a87699.png)

This is because we now require `testing-library/react` on the fly: e46fcba0b2 (diff-26467a831e67f87a2bd99be5b62a71a6e3e4e7f86135c11ccede9a02e58c44feR198)
which will run `afterEach` if defined: 071a6fdc1d/src/index.js (L12)

A non ideal fix is to require `require("testing-library/react");` before running the test

## Changelog

Fix: ensure desktop plugin template tests run

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

Test Plan:
I've cloned the repo and run:

```
cd flipper/desktop/pkg
yarn
cd ../../..
./flipper/desktop/pkg/bin/run init
```
I run the tests on the newly package created and they're now good

![image](https://user-images.githubusercontent.com/4534323/150391527-d834ec5b-57d8-4948-b9f3-17ade4eda79b.png)

## Side note

The fixes are not great, if you guys have better ones to suggest, really addressing the root cause of the issue, I'll happily close the PR

Also it's so easy to test desktop plugins with the awesome work you've done �, it'd be sad if the community could not totally benefit from it.
Since I had this issue before (https://github.com/facebook/flipper/pull/3039), I'd be really happy to help (if given some directions 🙏) set up a test to ensure a plugin generated is always well set up.

Reviewed By: passy

Differential Revision: D33713611

Pulled By: aigoncharov

fbshipit-source-id: 43834b30f24c2549d80923d2194487b9f9e6a1ae
2022-01-21 13:37:37 -08:00
dependabot[bot]
3127e238ca Bump @oclif/plugin-warn-if-update-available from 1.7.0 to 2.0.3 in /desktop (#3219)
Summary:
Bumps [oclif/plugin-warn-if-update-available](https://github.com/oclif/plugin-warn-if-update-available) from 1.7.0 to 2.0.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/oclif/plugin-warn-if-update-available/releases"><code>@​oclif/plugin-warn-if-update-available</code>'s releases</a>.</em></p>
<blockquote>
<h2>v2.0.3</h2>
<h3><a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v2.0.2...v2.0.3">2.0.3</a> (2021-12-17)</h3>
<h2>v2.0.2</h2>
<h3><a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v2.0.1...v2.0.2">2.0.2</a> (2021-12-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/plugin-warn-if-update-available/issues/236">https://github.com/facebook/flipper/issues/236</a>) (<a href="8527a13744">8527a13</a>)</li>
</ul>
<h2>v1.7.3</h2>
<h2><a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v1.7.2...v1.7.3">1.7.3</a> (2021-11-29)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>lodash.template dep remove (<a href="https://github-redirect.dependabot.com/oclif/plugin-warn-if-update-available/issues/228">https://github.com/facebook/flipper/issues/228</a>) (<a href="71d0fb42ad">71d0fb4</a>)</li>
</ul>
<h2>v1.7.2</h2>
<h2><a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v1.7.1...v1.7.2">1.7.2</a> (2021-11-23)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>force release (<a href="39b6b7cdf5">39b6b7c</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/oclif/plugin-warn-if-update-available/blob/main/CHANGELOG.md"><code>@​oclif/plugin-warn-if-update-available</code>'s changelog</a>.</em></p>
<blockquote>
<h3><a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v2.0.2...v2.0.3">2.0.3</a> (2021-12-17)</h3>
<h3><a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v2.0.1...v2.0.2">2.0.2</a> (2021-12-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/plugin-warn-if-update-available/issues/236">https://github.com/facebook/flipper/issues/236</a>) (<a href="8527a13744">8527a13</a>)</li>
</ul>
<h3><a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v2.0.0...v2.0.1">2.0.1</a> (2021-12-01)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>remove lodash.template dep (<a href="https://github-redirect.dependabot.com/oclif/plugin-warn-if-update-available/issues/232">https://github.com/facebook/flipper/issues/232</a>) (<a href="ba90789014">ba90789</a>)</li>
</ul>
<h2><a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v1.5.3...v1.5.4">1.5.4</a> (2018-10-13)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>remove greenkeeper badge (<a href="https://github.com/oclif/plugin-warn-if-update-available/commit/f030bc1">f030bc1</a>)</li>
</ul>
<h2><a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v1.5.2...v1.5.3">1.5.3</a> (2018-09-14)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>remove greenkeeper-lockfile (<a href="https://github.com/oclif/plugin-warn-if-update-available/commit/e95cd6c">e95cd6c</a>)</li>
</ul>
<h2><a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v1.5.1...v1.5.2">1.5.2</a> (2018-08-28)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>hide warning if updating (<a href="https://github.com/oclif/plugin-warn-if-update-available/commit/6be6cd8">6be6cd8</a>)</li>
</ul>
<h2><a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v1.5.0...v1.5.1">1.5.1</a> (2018-08-22)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>rename oclif manifest to not be a dotfile (<a href="https://github.com/oclif/plugin-warn-if-update-available/commit/84f870f">84f870f</a>)</li>
</ul>
<h1><a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v1.4.0...v1.5.0">1.5.0</a> (2018-08-21)</h1>
<h3>Features</h3>
<ul>
<li>support private registries (<a href="https://github-redirect.dependabot.com/oclif/plugin-warn-if-update-available/issues/12">https://github.com/facebook/flipper/issues/12</a>) (<a href="https://github.com/oclif/plugin-warn-if-update-available/commit/aed5b4e">aed5b4e</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="277db5db20"><code>277db5d</code></a> chore(release): 2.0.3 [ci skip]</li>
<li><a href="922bc2757b"><code>922bc27</code></a> Updated config.yml</li>
<li><a href="167f605c5e"><code>167f605</code></a> chore: replace instances of master with main [skip ci]</li>
<li><a href="a6b35655d6"><code>a6b3565</code></a> chore: replace instances of master with main [skip ci]</li>
<li><a href="448bb45f73"><code>448bb45</code></a> chore: release as latest [skip ci]</li>
<li><a href="14631556af"><code>1463155</code></a> chore(release): 2.0.2 [ci skip]</li>
<li><a href="8527a13744"><code>8527a13</code></a> fix: bump deps (<a href="https://github-redirect.dependabot.com/oclif/plugin-warn-if-update-available/issues/236">https://github.com/facebook/flipper/issues/236</a>)</li>
<li><a href="18b1b31256"><code>18b1b31</code></a> chore(depenabot): add dependabot-automerge job [skip ci]</li>
<li><a href="7212facae5"><code>7212fac</code></a> chore(release): 2.0.1 [ci skip]</li>
<li><a href="ba90789014"><code>ba90789</code></a> fix: remove lodash.template dep (<a href="https://github-redirect.dependabot.com/oclif/plugin-warn-if-update-available/issues/232">https://github.com/facebook/flipper/issues/232</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/oclif/plugin-warn-if-update-available/compare/v1.7.0...v2.0.3">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~salesforce-releases">salesforce-releases</a>, a new releaser for <code>@​oclif/plugin-warn-if-update-available</code> since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@oclif/plugin-warn-if-update-available&package-manager=npm_and_yarn&previous-version=1.7.0&new-version=2.0.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/3219

Reviewed By: timur-valiev

Differential Revision: D33348278

Pulled By: nikoant

fbshipit-source-id: 05492a6be152736af768fa6f66b8716948f8de29
2022-01-01 20:07:10 -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
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]
d71b63a8d8 Bump @oclif/plugin-help from 3.2.4 to 3.2.5 in /desktop (#3085)
Summary:
Bumps [oclif/plugin-help](https://github.com/oclif/plugin-help) from 3.2.4 to 3.2.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/oclif/plugin-help/releases"><code>@​oclif/plugin-help</code>'s releases</a>.</em></p>
<blockquote>
<h2>v3.2.5</h2>
<h2><a href="https://github.com/oclif/plugin-help/compare/v3.2.4...v3.2.5">3.2.5</a> (2021-11-18)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/313">https://github.com/facebook/flipper/issues/313</a>) (<a href="0770d400d2">0770d40</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/oclif/plugin-help/blob/master/CHANGELOG.md"><code>@​oclif/plugin-help</code>'s changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/oclif/plugin-help/compare/v3.2.4...v3.2.5">3.2.5</a> (2021-11-18)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>bump deps (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/313">https://github.com/facebook/flipper/issues/313</a>) (<a href="0770d400d2">0770d40</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="d8db582ec1"><code>d8db582</code></a> chore(release): 3.2.5 [skip ci]</li>
<li><a href="0770d400d2"><code>0770d40</code></a> fix: bump deps (<a href="https://github-redirect.dependabot.com/oclif/plugin-help/issues/313">https://github.com/facebook/flipper/issues/313</a>)</li>
<li>See full diff in <a href="https://github.com/oclif/plugin-help/compare/v3.2.4...v3.2.5">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@oclif/plugin-help&package-manager=npm_and_yarn&previous-version=3.2.4&new-version=3.2.5)](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/3085

Reviewed By: lblasa

Differential Revision: D32674351

Pulled By: passy

fbshipit-source-id: e7a005933056680aa0a79ada0c08f7136ef6b87e
2021-11-29 04:12:17 -08:00
Pascal Hartig
c0a0fa5dd8 Bump deps
Summary: Preempting dependabot by bumping a few patch and minor releases.

Reviewed By: timur-valiev

Differential Revision: D32434931

fbshipit-source-id: 77a3ec760f08262a118e12318d7601e031730a9a
2021-11-16 10:33:14 -08:00
almouro
5b603ab976 Ensure desktop plugin template tests run (#3039)
Summary:
I've decided to migrate [a desktop plugin](https://github.com/bamlab/react-native-performance) to Sandy.
When doing so, I decided to rise to the challenge from the [Flipper docs](https://fbflipper.com/docs/tutorial/js-custom#testing-plugin-logic):  `we are going to pretend that we always write unit tests first` 😅

However, I've realized that when creating a plugin with `npx flipper-pkg init`, running `yarn jest` directly after creation actually fails.

There are 3 issues solved in the different commits:
1. an absolute import seem to not be resolved, since all the other imports were relative in the file, I changed it as well

2. some dependencies are missing.
They used to be included in the `flipper` dependency but when migrating to use `flipper-plugin` instead, they're not present anymore.
I don't think this is an ideal fix, I would believe a dependency like a `flipper-dev-environment` including all of those would be more appropriate. So I'm open to suggestions to fix/remove of course

3. jest.config needs to be fixed to run in jsdom environment and ensure we can test the react component

## Changelog

Fix: ensure desktop plugin template tests run

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

Test Plan:
I've cloned the repo and run:

```
cd flipper/desktop/pkg
yarn
cd ../../..
./flipper/desktop/pkg/bin/run init
```
I run the tests on the newly package created, but it actually still failed because of the first issue (since it still installed `flipper-plugin` from npm`)

However, by adding this patch, it now runs!
```patch
 diff --git a/node_modules/flipper-plugin/lib/ui/data-table/DataTable.js b/node_modules/flipper-plugin/lib/ui/data-table/DataTable.js
index 2e07ff5..ff3181d 100644
 --- a/node_modules/flipper-plugin/lib/ui/data-table/DataTable.js
+++ b/node_modules/flipper-plugin/lib/ui/data-table/DataTable.js
@@ -39,7 +39,7 @@ const useAssertStableRef_1 = require("../../utils/useAssertStableRef");
 const PluginContext_1 = require("../../plugin/PluginContext");
 const lodash_1 = require("lodash");
 const useInUnitTest_1 = require("../../utils/useInUnitTest");
-const createDataSource_1 = require("flipper-plugin/src/state/createDataSource");
+const createDataSource_1 = require("../../state/createDataSource");
 function DataTable(props) {
     var _a, _b;
     const { onRowStyle, onSelect, onCopyRows, onContextMenu } = props;
```

Reviewed By: aigoncharov

Differential Revision: D32358207

Pulled By: mweststrate

fbshipit-source-id: 7761b4150c24dd5379a24c3c1deeb78bf3dda4ee
2021-11-11 12:07:49 -08:00
Pascal Hartig
bd66928464 Fix Flipper lints #11
Summary: Turning off irrelevant lints for pkg/.

Reviewed By: nikoant

Differential Revision: D31734972

fbshipit-source-id: 845c4c0b0dea22973bc875ad0f86b5344a30280a
2021-10-19 09:21:36 -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
91cc0ef3c0 Dep bump
Summary: Lots of open security warnings so I'm trying to catch a few that are behind patch releases at once.

Reviewed By: mweststrate

Differential Revision: D31574708

fbshipit-source-id: 5a4f2b18b50a3752b4986c4196a4bcda1e8a298c
2021-10-14 03:56:43 -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]
28ce9097f2 Bump inquirer from 8.1.2 to 8.1.5 in /desktop (#2889)
Summary:
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.1.2 to 8.1.5.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/SBoudrias/Inquirer.js/releases">inquirer's releases</a>.</em></p>
<blockquote>
<h2>inquirer@8.1.5</h2>
<p>Fix older Node version compatibility issue.</p>
<h2>inquirer@8.1.4</h2>
<ul>
<li>Fix an error being thrown inside the <code>rawlist</code> prompt</li>
</ul>
<h2>inquirer@8.1.3</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Fix password prompt appearing when doing async filtering/validation</li>
<li>User being prompted a question even though it was answered when using nested answer object format.</li>
<li>Fix extra space appearing when using custom prefix.</li>
</ul>
<p>And bump of all dependencies.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ef99bd4dd6"><code>ef99bd4</code></a> Publish</li>
<li><a href="8648ee840e"><code>8648ee8</code></a> compatibility fix <a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1042">https://github.com/facebook/flipper/issues/1042</a> (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1048">https://github.com/facebook/flipper/issues/1048</a>)</li>
<li><a href="47dfcaff27"><code>47dfcaf</code></a> Publish</li>
<li><a href="5d47d7e46c"><code>5d47d7e</code></a> fix of <a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1042">https://github.com/facebook/flipper/issues/1042</a> rawlist throw (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1045">https://github.com/facebook/flipper/issues/1045</a>)</li>
<li><a href="8e0b3d4c76"><code>8e0b3d4</code></a> Publish</li>
<li><a href="fb17654a37"><code>fb17654</code></a> Update Travis</li>
<li><a href="77deb7e2b8"><code>77deb7e</code></a> Bump dependencies</li>
<li><a href="aea90fd85c"><code>aea90fd</code></a> fixes issue <a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1024">https://github.com/facebook/flipper/issues/1024</a> do not prompt on prefilled nested answers (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1028">#1028</a>)</li>
<li><a href="822e98daf9"><code>822e98d</code></a> Add prefix extra space only when not empty (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1033">https://github.com/facebook/flipper/issues/1033</a>)</li>
<li><a href="e0197afd23"><code>e0197af</code></a> do not display password on async filter/validation, fixes <a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1022">https://github.com/facebook/flipper/issues/1022</a> (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1027">https://github.com/facebook/flipper/issues/1027</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.1.2...inquirer@8.1.5">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: mweststrate

Differential Revision: D31203905

Pulled By: passy

fbshipit-source-id: c787ad5fcadca3102338b9803864d45271c06582
2021-09-27 12:42:28 -07:00
dependabot[bot]
5d910f662a Bump prettier from 2.3.2 to 2.4.1 in /desktop (#2892)
Summary:
Bumps [prettier](https://github.com/prettier/prettier) from 2.3.2 to 2.4.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p>
<blockquote>
<h2>2.4.1</h2>
<p>{emoji:1f517} <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md#241">Changelog</a></p>
<h2>2.4.0</h2>
<p><a href="https://github.com/prettier/prettier/compare/2.3.2...2.4.0">diff</a></p>
<p><a href="https://prettier.io/blog/2021/09/09/2.4.0.html">Release note</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/main/CHANGELOG.md">prettier's changelog</a>.</em></p>
<blockquote>
<h1>2.4.1</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.4.0...2.4.1">diff</a></p>
<h4>Fix wildcard syntax in <code>forward</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/11482">#11482</a>) (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/11487">#11487</a> by <a href="https://github.com/niksy"><code>@​niksy</code></a>)</h4>

<pre lang="scss"><code>// Input
forward &quot;library&quot; as btn-*;
<p>// Prettier 2.4.0
<a href="https://github.com/forward"><code>@​forward</code></a> &quot;library&quot; as btn- *;</p>
<p>// Prettier 2.4.1
<a href="https://github.com/forward"><code>@​forward</code></a> &quot;library&quot; as btn-*;
</code></pre></p>
<h4>Add new CLI option <code>debug-print-ast</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/11514">#11514</a> by <a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>)</h4>
<p>A new <code>--debug-print-ast</code> CLI flag for debugging.</p>
<h1>2.4.0</h1>
<p><a href="https://github.com/prettier/prettier/compare/2.3.2...2.4.0">diff</a></p>
<p>{emoji:1f517} <a href="https://prettier.io/blog/2021/09/09/2.4.0.html">Release Notes</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="7ced9e6654"><code>7ced9e6</code></a> Release 2.4.1</li>
<li><a href="59b5eb4e1f"><code>59b5eb4</code></a> Fix wildcard syntax in <code>forward</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11482">#11482</a>) (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11487">#11487</a>)</li>
<li><a href="aa63269743"><code>aa63269</code></a> Add new CLI option <code>debug-print-ast</code> (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11514">#11514</a>)</li>
<li><a href="ae33e494a9"><code>ae33e49</code></a> fix(docs): lint-staged install instructions (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11363">#11363</a>)</li>
<li><a href="a1a7502f4f"><code>a1a7502</code></a> Update integrating-with-linters.md (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11399">#11399</a>)</li>
<li><a href="f63e15d1cd"><code>f63e15d</code></a> Build(deps): Bump typescript from 4.4.2 to 4.4.3 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11507">#11507</a>)</li>
<li><a href="dec24722d6"><code>dec2472</code></a> Build(deps-dev): Bump <code>@​babel/preset-env</code> from 7.15.4 to 7.15.6 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11499">#11499</a>)</li>
<li><a href="ac3912cd47"><code>ac3912c</code></a> Build(deps-dev): Bump eslint-plugin-unicorn from 35.0.0 to 36.0.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11504">#11504</a>)</li>
<li><a href="bf5a027794"><code>bf5a027</code></a> Revert workaround for node 16.9 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11493">#11493</a>)</li>
<li><a href="ddee8dbaae"><code>ddee8db</code></a> Build(deps): Bump espree from 8.0.0 to 9.0.0 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/11509">#11509</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.3.2...2.4.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=2.3.2&new-version=2.4.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/2892

Reviewed By: mweststrate

Differential Revision: D31150434

Pulled By: passy

fbshipit-source-id: 9babc0c91c931330dad615e74598cc29a713dbf4
2021-09-27 06:31:53 -07:00
Pascal Hartig
5252dac50a Revert globby upgrade (#2868)
Summary:
Fixes https://github.com/facebook/flipper/issues/2710

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

Test Plan:
cd pkg; yarn && yarn run run help

No longer shows ESM error.

Reviewed By: lblasa

Differential Revision: D31027581

Pulled By: mweststrate

fbshipit-source-id: 04d669df3645c5b3ae727d521243a82dea701152
2021-09-20 02:23:02 -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
fa8827c103 Bump deps (#2736)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/2736

This should fix a bunch of open dependabot issues on GitHub.

Reviewed By: fabiomassimo

Differential Revision: D30539761

fbshipit-source-id: b355d41336b3b1d85b50fb0736fc1b33b12e83d0
2021-08-25 09:02:17 -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
Pascal Hartig
781df776f2 Rename default branch references to main (#2689)
Summary:
I really hope I hit everything and didn't break anything that wasn't
referring to branch names.

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

Test Plan:
_eyes

CI

|[Site Preview: flipper](https://our.intern.facebook.com/intern/staticdocs/eph/D30305789/V2/flipper/)

Reviewed By: timur-valiev

Differential Revision: D30305789

Pulled By: passy

fbshipit-source-id: 5daaa09250bb96bb50be679fc01dae86c666eb73
2021-08-13 15:00:39 -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
dependabot[bot]
b742a3c200 Bump globby from 11.0.4 to 12.0.0 in /desktop (#2631)
Summary:
Bumps [globby](https://github.com/sindresorhus/globby) from 11.0.4 to 12.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/sindresorhus/globby/releases">globby's releases</a>.</em></p>
<blockquote>
<h2>v12.0.0</h2>
<h3>Breaking</h3>
<ul>
<li>Require Node.js 12.20 (<a href="https://github-redirect.dependabot.com/sindresorhus/globby/issues/181">https://github.com/facebook/flipper/issues/181</a>)  5c32b4a</li>
<li>This package is now pure ESM. Please <a href="https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c">read this</a>.</li>
<li>This package now uses named exports instead of a default export
<ul>
<li><code>globby</code> → <code>{globby}</code></li>
<li><code>globby.sync</code> → <code>{globbySync}</code></li>
<li><code>globby.stream</code> → <code>{globbyStream}</code></li>
<li><code>globby.generateGlobTasks</code> → <code>{generateGlobTasks}</code></li>
<li><code>globby.hasMagic</code> → <code>{isDynamicPattern}</code></li>
<li><code>globby.gitignore</code> → <code>{isGitIgnored}</code></li>
<li><code>globby.gitignore.sync</code> → <code>{isGitIgnoredSync}</code></li>
</ul>
</li>
</ul>
<pre lang="diff"><code>-const globby = require('globby');
+import {globby} from 'globby';
</code></pre>
<p><a href="https://github.com/sindresorhus/globby/compare/v11.0.4...v12.0.0">https://github.com/sindresorhus/globby/compare/v11.0.4...v12.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="24453e6bff"><code>24453e6</code></a> 12.0.0</li>
<li><a href="662cafc794"><code>662cafc</code></a> Minor tweaks</li>
<li><a href="5c32b4ab94"><code>5c32b4a</code></a> Require Node.js 12.20 and move to ESM (<a href="https://github-redirect.dependabot.com/sindresorhus/globby/issues/181">https://github.com/facebook/flipper/issues/181</a>)</li>
<li>See full diff in <a href="https://github.com/sindresorhus/globby/compare/v11.0.4...v12.0.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=globby&package-manager=npm_and_yarn&previous-version=11.0.4&new-version=12.0.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/2631

Reviewed By: timur-valiev

Differential Revision: D30012641

Pulled By: passy

fbshipit-source-id: e37e70084e8169d567361e22acce44848ef7d2c6
2021-08-02 05:36:00 -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
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
Pascal Hartig
adf183f65d Dep bump
Summary:
allow-large-files

The semi-regular bumps are back!

Reviewed By: mweststrate

Differential Revision: D29427165

fbshipit-source-id: 0d23487f807e67cccb62cfb3717245a122db8f6e
2021-06-28 06:31:54 -07:00
dependabot[bot]
95f1a42c0f Bump @types/inquirer from 7.3.1 to 7.3.2 in /desktop (#2488)
Summary:
Bumps [types/inquirer](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/inquirer) from 7.3.1 to 7.3.2.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/inquirer">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/inquirer&package-manager=npm_and_yarn&previous-version=7.3.1&new-version=7.3.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/2488

Reviewed By: nikoant

Differential Revision: D29264225

Pulled By: mweststrate

fbshipit-source-id: bf7080f95bbb654bdc6cc9af144131a354729cb9
2021-06-22 03:02:28 -07:00
dependabot[bot]
da6e6705ac Bump @types/node from 15.12.2 to 15.12.4 in /desktop (#2490)
Summary:
Bumps [types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.12.2 to 15.12.4.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/node&package-manager=npm_and_yarn&previous-version=15.12.2&new-version=15.12.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/2490

Reviewed By: nikoant

Differential Revision: D29264230

Pulled By: mweststrate

fbshipit-source-id: 646d31335ed728211de35e4038544c0d9f18a5d9
2021-06-22 03:02:28 -07:00
Pascal Hartig
34c862d5f2 Wednesday dep bump
Summary:
Includes most of the PRs currently open.

allow-large-files for antd

Reviewed By: mweststrate

Differential Revision: D29160385

fbshipit-source-id: b9e6d3b16a806cf615b7b0e24ba3395f3ed44822
2021-06-16 06:38:03 -07:00
Michel Weststrate
f7732ed4fd Insert a proper flipper-plugin version
Summary:
`flipper-pkg init` would always introduce `flipper-plugin` peer with version `latest`. Since that can never be checked against the current flipper version, it always generated a warning. Updated the init process to take the version the plugin was generated with as base version instead.

Note that in the test the version will always display as 0.0.0, will double check after release that the proper version will show up when running from npx, but don't see a reason why not (famous last words)

Reviewed By: nikoant, priteshrnandgaonkar

Differential Revision: D28992531

fbshipit-source-id: c32aad1650f575f790c2e04d089104b7a616d26f
2021-06-10 04:45:18 -07:00
Pascal Hartig
4fd8e0b8ca Tuesday dep bump
Summary: Paying forward for my upcoming oncall.

Reviewed By: nikoant

Differential Revision: D28960593

fbshipit-source-id: fb257c451b666191d8443f992d95d5d136ed22ff
2021-06-09 01:59:12 -07:00
Pascal Hartig
ce7b709908 Monday dep bump
Summary:
More safe bumps.

allow-large-files

Reviewed By: cekkaewnumchai

Differential Revision: D28929951

fbshipit-source-id: ade2919e2968446692fc88d6b6ae24644c30c137
2021-06-08 11:01:02 -07:00
Pascal Hartig
edbb41b49b Upgrade prettier
Summary: ohsopretty

Reviewed By: fabiomassimo

Differential Revision: D28930276

fbshipit-source-id: faaca8cc53c2fe42a8e010d5c1b1d79e89190858
2021-06-07 04:59:17 -07:00
Pascal Hartig
baf38809e6 Dep bump
Summary:
Bump a day, doctor away, etc.

allow-large-files

Reviewed By: nikoant

Differential Revision: D28897147

fbshipit-source-id: be2473462b566ec02575d06d10c1a191dfda4d77
2021-06-04 11:48:39 -07:00
Pascal Hartig
5b59ae099f Dep bump
Summary: You know the drill.

Reviewed By: nikoant

Differential Revision: D28867596

fbshipit-source-id: dd3487a918dd75ffd47947a32f0f22f511a5f3d4
2021-06-04 08:41:16 -07:00
Pascal Hartig
0fb5ef1de8 Dep bump
Summary: I was in the groove. Here's some more.

Reviewed By: nikoant

Differential Revision: D28831742

fbshipit-source-id: 3314c0c2ba89b513a62b7c62683aaf5eeace5610
2021-06-02 13:27:31 -07:00
dependabot[bot]
85157fb948 Bump typescript from 4.2.4 to 4.3.2 in /desktop (#2401)
Summary:
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2.
<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.2</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>
</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>
<h2>TypeScript 4.3 RC</h2>
<p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-4-3-rc">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>
</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>
<h2>TypeScript 4.3 Beta</h2>
<p>For release notes, check out the <a href="https://devblogs.microsoft.com/typescript/announcing-typescript-4-3-beta/">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?q=milestone%3A%22TypeScript+4.3.0%22">fixed issues query for Typescript 4.3.0 (Beta)</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-43beta">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="28e3e6ff2f"><code>28e3e6f</code></a> � Pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44219">#44219</a> (Properly remove generic types that ...) into release-4.3 (#...</li>
<li><a href="d6e6fa728e"><code>d6e6fa7</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44129">#44129</a> into release-4.3 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44240">#44240</a>)</li>
<li><a href="27d6e4490d"><code>27d6e44</code></a> Bump version to 4.3.2 and LKG</li>
<li><a href="fed2315062"><code>fed2315</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44186">#44186</a> into release-4.3 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44188">#44188</a>)</li>
<li><a href="dec8261174"><code>dec8261</code></a> Revert <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/43460">#43460</a> and <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/40884">#40884</a> (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44175">#44175</a>) (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44177">#44177</a>)</li>
<li><a href="22c3c24cf0"><code>22c3c24</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44125">#44125</a> into release-4.3 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44136">#44136</a>)</li>
<li><a href="1d850c0927"><code>1d850c0</code></a> Cherry-pick PR <a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44008">#44008</a> into release-4.3 (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44029">#44029</a>)</li>
<li><a href="d805ce877a"><code>d805ce8</code></a> Bump version to 4.3.1-rc and LKG</li>
<li><a href="bab601b5e6"><code>bab601b</code></a> Merge remote-tracking branch 'origin/master' into release-4.3</li>
<li><a href="5b1e873b03"><code>5b1e873</code></a> Update diagnostic message and quickfix for parameter property (<a href="https://github-redirect.dependabot.com/Microsoft/TypeScript/issues/44010">#44010</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2">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.2.4&new-version=4.3.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/2401

Reviewed By: nikoant

Differential Revision: D28795376

Pulled By: passy

fbshipit-source-id: 95156c5b85ff8dfd9eb0aaa51e75cff33779ff74
2021-06-02 03:45:58 -07:00
dependabot[bot]
25ce01eb9f Bump inquirer from 8.0.0 to 8.1.0 in /desktop (#2396)
Summary:
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 8.0.0 to 8.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/SBoudrias/Inquirer.js/releases">inquirer's releases</a>.</em></p>
<blockquote>
<h2>inquirer@8.1.0</h2>
<h3>New features</h3>
<ul>
<li>Now display a loading spinner while asynchronously filtering or validating data.</li>
<li><code>inquirer.prompt()</code> now accept a shorthand object syntax instead of an array with <code>name</code>d prompts:</li>
</ul>
<pre lang="js"><code>const { foo, bar } = await inquirer.prompt({
  foo: {
    message: '...',
    default: '...',
  },
  bar: {
    default: '...',
  }
}):
</code></pre>
<h2>inquirer@8.0.1</h2>
<p>Fixes</p>
<ul>
<li>Fix issue with duplicate keys in <code>expand</code> prompt not being caught if casing didn't match</li>
<li>Fix <code>rawlist</code> prompt ignoring <code>short</code> option</li>
<li>Rollback dependencies migrated to ESM causing issue for some users</li>
</ul>
<p>And lastly general dependency upgrade (to non-ESM versions)</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c4a3c2301a"><code>c4a3c23</code></a> Publish</li>
<li><a href="8cf1ed0ba1"><code>8cf1ed0</code></a> Update yarn.lock</li>
<li><a href="ddcd09e774"><code>ddcd09e</code></a> Fix var/const from PR</li>
<li><a href="06203f8d57"><code>06203f8</code></a> Handle questions as a plain object {[name]: question} (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/885">https://github.com/facebook/flipper/issues/885</a>)</li>
<li><a href="6717092743"><code>6717092</code></a> feat(prompt): progress indicator for filter and validate with optiona… (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1002">https://github.com/facebook/flipper/issues/1002</a>)</li>
<li><a href="0053e3f569"><code>0053e3f</code></a> Publish</li>
<li><a href="de13f145ab"><code>de13f14</code></a> Update some dependencies</li>
<li><a href="33407e3bdd"><code>33407e3</code></a> downgrade: {emoji:2b07} chalk-pipe@4, husky@4 (major bumps breaking) (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1012">https://github.com/facebook/flipper/issues/1012</a>)</li>
<li><a href="357bbd9302"><code>357bbd9</code></a> fix: rawlist displays 'value' instead of 'short' after selection (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1013">https://github.com/facebook/flipper/issues/1013</a>)</li>
<li><a href="a17b3a243b"><code>a17b3a2</code></a> Expand: check for duplicates in a case-insensitive way (<a href="https://github-redirect.dependabot.com/SBoudrias/Inquirer.js/issues/1006">https://github.com/facebook/flipper/issues/1006</a>)</li>
<li>See full diff in <a href="https://github.com/SBoudrias/Inquirer.js/compare/inquirer@8.0.0...inquirer@8.1.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=inquirer&package-manager=npm_and_yarn&previous-version=8.0.0&new-version=8.1.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/2396

Reviewed By: nikoant

Differential Revision: D28795381

Pulled By: passy

fbshipit-source-id: 132a295162360f5aaaca2a0d4a9b07755f106bd1
2021-06-02 03:45:57 -07:00