Commit Graph

121 Commits

Author SHA1 Message Date
dependabot[bot]
fe63f93306 Bump npm-api from 1.0.0 to 1.0.1 in /desktop (#2023)
Summary:
Bumps [npm-api](https://github.com/doowb/npm-api) from 1.0.0 to 1.0.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/doowb/npm-api/blob/master/CHANGELOG.md">npm-api's changelog</a>.</em></p>
<blockquote>
<h1>Changelog</h1>
<h2>key</h2>
<p>Changelog entries are classified using the following labels <em>(from [keep-a-changelog][]</em>):</p>
<ul>
<li><code>added</code>: for new features</li>
<li><code>changed</code>: for changes in existing functionality</li>
<li><code>deprecated</code>: for once-stable features removed in upcoming releases</li>
<li><code>removed</code>: for deprecated features removed in this release</li>
<li><code>fixed</code>: for any bug fixes</li>
</ul>
<h2>[Unreleased]</h2>
<h3>Added</h3>
<ul>
<li>Used <a href="https://github.com/generate/generate-log">generate-log</a> to add a CHANGELOG.md</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="54ed79976c"><code>54ed799</code></a> 1.0.1</li>
<li><a href="eb3a173fea"><code>eb3a173</code></a> run verb to generate README documentation</li>
<li><a href="45e73252e8"><code>45e7325</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/doowb/npm-api/issues/14">https://github.com/facebook/flipper/issues/14</a> from Hypnosphi/remove-request</li>
<li><a href="98281dfe6e"><code>98281df</code></a> Replace request with node-fetch</li>
<li><a href="5bc3fde2f7"><code>5bc3fde</code></a> update description and run verb to generate README documentation</li>
<li><a href="1ebcbadbe6"><code>1ebcbad</code></a> update code comments and generate README documentation with verb</li>
<li><a href="77ba08195e"><code>77ba081</code></a> use generate-log to create a changelog.md</li>
<li>See full diff in <a href="https://github.com/doowb/npm-api/compare/1.0.0...1.0.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=npm-api&package-manager=npm_and_yarn&previous-version=1.0.0&new-version=1.0.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/2023

Reviewed By: mweststrate

Differential Revision: D26889073

Pulled By: passy

fbshipit-source-id: c78387d9c6764e605ac72d302f8f590ca96417a2
2021-03-09 05:29:05 -08:00
Anton Nikolaev
899fcd0783 Device plugin management (1/n): use static metadata for checking plugin compatibility with devices
Summary:
*Stack summary*: this stack adds ability to manage device plugins in the same way as client plugins: install, update, uninstall, enable (star) and disable (unstar) them.

*Diff summary*: changed the way how plugin compatibility with devices is checked from dynamic call to "supportsDevice" to static checks of "supportedDevices" metadata property which make it possible to check compatibility without even downloading plugin from Marketplace.

Changelog: plugin compatibility with devices is now checked according to metadata in property "supportedDevices" in package.json

Reviewed By: mweststrate

Differential Revision: D26315848

fbshipit-source-id: 6e4b052c4ea0507ee185fc17999b6211cdb11093
2021-02-16 10:50:18 -08:00
dependabot[bot]
800759c384 Bump algoliasearch from 4.4.0 to 4.8.4 in /desktop (#1911)
Summary:
Bumps [algoliasearch](https://github.com/algolia/algoliasearch-client-javascript) from 4.4.0 to 4.8.4.
<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.8.4</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.3...4.8.4">v4.8.4</a></h2>
<ul>
<li>feat(ts): add decompoundQuery (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1240">https://github.com/facebook/flipper/issues/1240</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/446c9a0">446c9a0</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1240">https://github.com/facebook/flipper/issues/1240</a></li>
<li>feat(ts): add the attributesToTransliterate setting (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1244">https://github.com/facebook/flipper/issues/1244</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/b91c035">b91c035</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1244">https://github.com/facebook/flipper/issues/1244</a></li>
</ul>
<h2>4.8.3</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.2...4.8.3">v4.8.3</a></h2>
<ul>
<li>fix(ts): correct type for listIndices response (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1236">https://github.com/facebook/flipper/issues/1236</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/0bb6bba">0bb6bba</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1236">https://github.com/facebook/flipper/issues/1236</a></li>
</ul>
<h2>4.8.2</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.1...4.8.2">v4.8.2</a></h2>
<ul>
<li>fix(findAnswers): fix typing (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1233">https://github.com/facebook/flipper/issues/1233</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/a935d88">a935d88</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1233">https://github.com/facebook/flipper/issues/1233</a></li>
<li>fix(ts): don't require every attribute to be highlighted (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1234">https://github.com/facebook/flipper/issues/1234</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/4591d0e">4591d0e</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1234">https://github.com/facebook/flipper/issues/1234</a></li>
</ul>
<h2>4.8.1</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.0...4.8.1">v4.8.1</a></h2>
<ul>
<li>fix(ts): correct search response for facets_stats (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1229">https://github.com/facebook/flipper/issues/1229</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/ac732d1">ac732d1</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1229">https://github.com/facebook/flipper/issues/1229</a></li>
</ul>
<h2>4.8.0</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.7.0...4.8.0">v4.8.0</a></h2>
<ul>
<li>feat(saveSynonyms): replaceExistingSynonyms -&gt; clearExistingSynonyms (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1226">https://github.com/facebook/flipper/issues/1226</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/2fcf485">2fcf485</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1226">https://github.com/facebook/flipper/issues/1226</a> <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1224">https://github.com/facebook/flipper/issues/1224</a></li>
<li>fix(findAnswers): expose in lite version (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1227">https://github.com/facebook/flipper/issues/1227</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/6cb1d0a">6cb1d0a</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1227">https://github.com/facebook/flipper/issues/1227</a></li>
</ul>
<h2>4.7.0</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.6.0...4.7.0">v4.7.0</a></h2>
<ul>
<li>feat(findAnswers): implement the new method (experimental) (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1219">https://github.com/facebook/flipper/issues/1219</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/8d962ea">8d962ea</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1219">https://github.com/facebook/flipper/issues/1219</a></li>
<li>feat(analytics &amp; recommendation): allow creation of clients (initAnalytics, initRecommendation) with their own credentials (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1223">https://github.com/facebook/flipper/issues/1223</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/a7938b0">a7938b0</a>)</li>
</ul>
<h2>4.6.0</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.5.1...4.6.0">v4.6.0</a></h2>
<ul>
<li>fix(node): allow passing requesterOptions (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/4348b38">4348b38</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a></li>
<li>fix(node): reuse http agent across client (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/f6e9e56">f6e9e56</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a></li>
<li>feat(client-search): add personalization field to RankingInfo (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/50b78a3">50b78a3</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</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.8.3...4.8.4">v4.8.4</a></h2>
<ul>
<li>feat(ts): add decompoundQuery (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1240">https://github.com/facebook/flipper/issues/1240</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/446c9a0">446c9a0</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1240">https://github.com/facebook/flipper/issues/1240</a></li>
<li>feat(ts): add the attributesToTransliterate setting (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1244">https://github.com/facebook/flipper/issues/1244</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/b91c035">b91c035</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1244">https://github.com/facebook/flipper/issues/1244</a></li>
</ul>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.2...4.8.3">v4.8.3</a></h2>
<ul>
<li>fix(ts): correct type for listIndices response (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1236">https://github.com/facebook/flipper/issues/1236</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/0bb6bba">0bb6bba</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1236">https://github.com/facebook/flipper/issues/1236</a></li>
</ul>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.1...4.8.2">v4.8.2</a></h2>
<ul>
<li>fix(findAnswers): fix typing (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1233">https://github.com/facebook/flipper/issues/1233</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/a935d88">a935d88</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1233">https://github.com/facebook/flipper/issues/1233</a></li>
<li>fix(ts): don't require every attribute to be highlighted (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1234">https://github.com/facebook/flipper/issues/1234</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/4591d0e">4591d0e</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1234">https://github.com/facebook/flipper/issues/1234</a></li>
</ul>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.8.0...4.8.1">v4.8.1</a></h2>
<ul>
<li>fix(ts): correct search response for facets_stats (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1229">https://github.com/facebook/flipper/issues/1229</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/ac732d1">ac732d1</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1229">https://github.com/facebook/flipper/issues/1229</a></li>
</ul>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.7.0...4.8.0">v4.8.0</a></h2>
<ul>
<li>feat(saveSynonyms): replaceExistingSynonyms -&gt; clearExistingSynonyms (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1226">https://github.com/facebook/flipper/issues/1226</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/2fcf485">2fcf485</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1226">https://github.com/facebook/flipper/issues/1226</a> <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1224">https://github.com/facebook/flipper/issues/1224</a></li>
<li>fix(findAnswers): expose in lite version (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1227">https://github.com/facebook/flipper/issues/1227</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/6cb1d0a">6cb1d0a</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1227">https://github.com/facebook/flipper/issues/1227</a></li>
</ul>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.6.0...4.7.0">v4.7.0</a></h2>
<ul>
<li>feat(findAnswers): implement the new method (experimental) (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1219">https://github.com/facebook/flipper/issues/1219</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/8d962ea">8d962ea</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1219">https://github.com/facebook/flipper/issues/1219</a></li>
<li>feat(analytics &amp; recommendation): allow creation of clients (initAnalytics, initRecommendation) with their own credentials (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1223">https://github.com/facebook/flipper/issues/1223</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/a7938b0">a7938b0</a>)</li>
</ul>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.5.1...4.6.0">v4.6.0</a></h2>
<ul>
<li>fix(node): allow passing requesterOptions (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/4348b38">4348b38</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a></li>
<li>fix(node): reuse http agent across client (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/f6e9e56">f6e9e56</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a></li>
<li>feat(client-search): add personalization field to RankingInfo (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/50b78a3">50b78a3</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</a></li>
</ul>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.5.0...4.5.1">v4.5.1</a></h2>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="74972a1c86"><code>74972a1</code></a> chore: release v4.8.4 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1245">https://github.com/facebook/flipper/issues/1245</a>)</li>
<li><a href="c87424b7e1"><code>c87424b</code></a> ci: remove inbetween tests</li>
<li><a href="f50af182bc"><code>f50af18</code></a> chore: remove flaky test</li>
<li><a href="b91c0358f9"><code>b91c035</code></a> feat(ts): add the attributesToTransliterate setting (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1244">https://github.com/facebook/flipper/issues/1244</a>)</li>
<li><a href="446c9a0862"><code>446c9a0</code></a> feat(ts): add decompoundQuery (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1240">https://github.com/facebook/flipper/issues/1240</a>)</li>
<li><a href="608f2ec45d"><code>608f2ec</code></a> chore: release v4.8.3 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1237">https://github.com/facebook/flipper/issues/1237</a>)</li>
<li><a href="0bb6bbadbd"><code>0bb6bba</code></a> fix(ts): correct type for listIndices response (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1236">https://github.com/facebook/flipper/issues/1236</a>)</li>
<li><a href="cd9c879020"><code>cd9c879</code></a> chore: release v4.8.2 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1235">https://github.com/facebook/flipper/issues/1235</a>)</li>
<li><a href="4591d0eb02"><code>4591d0e</code></a> fix(ts): don't require every attribute to be highlighted (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1234">https://github.com/facebook/flipper/issues/1234</a>)</li>
<li><a href="a935d88a7d"><code>a935d88</code></a> fix(findAnswers): fix typing (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1233">https://github.com/facebook/flipper/issues/1233</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.4.0...4.8.4">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.4.0&new-version=4.8.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/1911

Reviewed By: mweststrate

Differential Revision: D26341281

Pulled By: passy

fbshipit-source-id: d34ea27adb4e01842b9e33ca066a6a2e70040ebb
2021-02-10 05:51:51 -08:00
Michel Weststrate
bf7599e574 Bumped some deps to fix parsing of template literal types
Summary:
I want to use TypesScipt type literals in a next diff (e.g.

```
type Percentage = `${number}%`
```

But to be able to use that typescript, prettier and eslint needed bumps :)

Reviewed By: nikoant

Differential Revision: D26321133

fbshipit-source-id: a4891246ef8c654f324c6daf303c5c4b2f54496e
2021-02-10 02:52:22 -08:00
Anton Nikolaev
d7cfcb5d8e Extend device plugin metadata to include supported devices
Summary: Plugin metadata format extended to include type of each plugin (client / device) and list of supported devices (android/ios/..., emulator/physical, etc). This will allow to detect plugins supported by device even if they are not installed and only available on Marketplace.

Reviewed By: mweststrate

Differential Revision: D26073531

fbshipit-source-id: e331f1be1af1046cd4220a286a1d52378c26cc53
2021-01-27 17:31:41 -08:00
Anton Nikolaev
a6599963ec Fix the issue with plugin installation from npm
Summary: https://github.com/facebook/flipper/issues/1818

Reviewed By: jknoxville

Differential Revision: D25870562

fbshipit-source-id: 0d62626355b35505089990cfdb592b0ea4b84fda
2021-01-11 10:50:42 -08:00
Anton Nikolaev
bd01b58566 Sandy-based plugin auto-update UI
Summary:
New UX/UI for plugin auto-updates based on Sandy:
- disabled plugins auto-updated silently without any notifications as there is no active state for them so there is nothing to loose.
- enabled plugins can have some state and user can actually work with them, so we cannot reload them automatically. Instead, we show notification in the top of the plugin container asking user to reload the plugin when she is ready.
- if the auto-updated plugin failed to reload - show error notification.
- for non-sandy we continue using notifications as before.

Reviewed By: mweststrate

Differential Revision: D25530384

fbshipit-source-id: de3d0565ef0b930c9343b9e0ed07a4acb51885be
2020-12-15 09:31:57 -08:00
Anton Nikolaev
5383017299 Separate interfaces for installed, bundled and downloadable plugins
Summary:
I've re-designed interfaces describing plugins as I found that mental overhead working with them became too expensive because of slightly flawed design. However this cascaded changes in many files so you can see how extensively these interfaces used in our codebase.

Before this change we had one interface PluginDetails which described three different entities: 1) plugins installed on the disk 2) plugins bundled into Flipper 3) plugins available on Marketplace. It's hard to use this "general" PluginDetails interface because of this as you always need to think about all three use cases everywhere.

After this change we have 3 separate interfaces: InstalledPluginDetails, BundledPluginDetails and DownloadablePluginDetails and things became much type-safer now.

Reviewed By: mweststrate

Differential Revision: D25530383

fbshipit-source-id: b93593916a980c04e36dc6ffa168797645a0ff9c
2020-12-15 09:31:57 -08:00
Anton Nikolaev
c3d61cc32d Persist uninstalled plugins list
Summary: This diff changes uninstallation procedure for plugins. Instead of deleting plugin files immediately we are keeping them, but mark them as "uninstalled". This makes it possible to re-install plugins quickly in case when user clicked "delete" by mistake.

Reviewed By: mweststrate

Differential Revision: D25493479

fbshipit-source-id: 9ff29d717cdd5401c55388f24d479599579c8dd3
2020-12-15 09:31:56 -08:00
Anton Nikolaev
df03ccbeab Uninstall plugins from sidebar
Summary: Added UI for uninstalling plugins from sidebar. To avoid confusion between "disable" and "uninstall" and to reduce possibility of errors when plugins uninstalled accidentally by misclicks, I made it only possible to uninstall plugins after they are disabled. So for enabled plugins two steps are required for uninstalling.

Reviewed By: mweststrate

Differential Revision: D25454117

fbshipit-source-id: 28e67dc1ff2d39ad67e6d2770302a996affd9723
2020-12-15 09:31:56 -08:00
Anton Nikolaev
ab441d8226 Tests for plugin installer with in-memory file system (#1761)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1761

Plugin installed logic is quite complex and heavily relies on file system. So I added integration tests which uses in-memory file system. Here I've covered complex functions added in the previous diff of this stack.

Reviewed By: mweststrate

Differential Revision: D25393473

fbshipit-source-id: a823eb7d6707152a1c3717a6da25b6beee85801d
2020-12-15 09:31:55 -08:00
Anton Nikolaev
02d695cb28 Keep multiple installed versions of each plugin
Summary:
This diff changes directory structure for installed plugins to allow installation of multiple versions simultaneously, e.g. to to allow downloading new plugin version while user is still using the previous one, and to have possibility of fast rollback to the previous installed if necessary. The new folder for installed plugins is located in `~/.flipper/installed-plugins` and has the following structure:

  flipper-plugin-reactotron
    1.0.0
      ...
      package.json
    1.0.1
      ...
      package.json
  flipper-plugin-network
    0.67.1
      ...
      package.json
    0.67.2
      ...
      package.json

The tricky part here is that we also need to migrate already installed plugins from the old folder `~/.flipper/thirdparty` to the new folder and maintain the new structure for them.

Another tricky part is that we need to periodically cleanup old versions. For now we will just keep 2 versions of each plugin. Cleanup is performed in background right after Flipper startup.

Reviewed By: mweststrate

Differential Revision: D25393474

fbshipit-source-id: 26617ac26114148f797cc3d6765a42242edc205e
2020-12-15 09:31:54 -08:00
Anton Nikolaev
5b26f36672 Plugin Marketplace API
Summary: Extracted plugin marketplace API to a separate file and updated it to load full plugin manifests.

Reviewed By: passy

Differential Revision: D25181759

fbshipit-source-id: a63f9ce16249ccc170df148cef5c209fdc6d4d6d
2020-12-15 09:31:54 -08:00
Michel Weststrate
092a286bc8 Update several deps at once
Summary: Fixes #1771, #1770, #1769, #1768, #1767, #1766

Reviewed By: nikoant

Differential Revision: D25533717

fbshipit-source-id: 86b90e1ec93f0255edcf1cf3cf5fb2311f0ca23f
2020-12-14 09:14:23 -08:00
dependabot[bot]
23751b45f3 Bump @types/node from 14.14.6 to 14.14.10 in /desktop (#1749)
Summary:
[//]: # (dependabot-start)
{emoji:26a0}  **Dependabot is rebasing this PR** {emoji:26a0}

If you make any changes to it yourself then they will take precedence over the rebase.

 ---

[//]: # (dependabot-end)

Bumps [types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.6 to 14.14.10.
<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=14.14.6&new-version=14.14.10)](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/1749

Reviewed By: mweststrate

Differential Revision: D25373220

Pulled By: passy

fbshipit-source-id: a9f69a8c29f3c0d04939e68341f36fc26cc609a7
2020-12-08 09:22:40 -08:00
Anton Nikolaev
dbc888613b Do not bump every package version for every release
Summary:
This diff sets all package version to "0.0.0" except of the root package and changes the bump script to only bump version in the root package. This should reduce possibility of conflicts on release diffs. Anyway we always use the same version for all of our packages, so we can only set it to the root.

Before npm publishing we will set all package versions to the same number as in the root package (we actually already do that) so there will be no differences except we won't need to bump version in  more than 100 packages each release.

Reviewed By: mweststrate

Differential Revision: D25162373

fbshipit-source-id: 02fe401bee72845339c67925c130027bdaee559d
2020-12-02 02:38:47 -08:00
generatedunixname89002005306973
3a733a10df Flipper Release: v0.67.0
Summary: Releasing version 0.67.0

Reviewed By: passy

Differential Revision: D25217536

fbshipit-source-id: 489cba736a847ea9f864b594646014a6d7279161
2020-11-30 10:13:36 -08:00
Michel Weststrate
8025c49768 Upgrade to TypeScript 4.1
Summary:
allow-large-files

Upgrade to TypeScript 4.1

Reviewed By: nikoant

Differential Revision: D25122073

fbshipit-source-id: 7d2bc6f97595c825c9527b0c6ecab07698d5f981
2020-11-26 04:22:05 -08:00
generatedunixname89002005306973
ad8e8fbb24 Flipper Release: v0.66.0
Summary: Releasing version 0.66.0

Reviewed By: nikoant

Differential Revision: D25052024

fbshipit-source-id: 5ef39431905ca3bc2c4870bff2f8ae917ed1e81e
2020-11-18 03:13:31 -08:00
dependabot[bot]
acd2cf25ec Bump @algolia/client-search from 4.5.1 to 4.6.0 in /desktop (#1682)
Summary:
Bumps [algolia/client-search](https://github.com/algolia/algoliasearch-client-javascript) from 4.5.1 to 4.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/algolia/algoliasearch-client-javascript/releases">algolia/client-search's releases</a>.</em></p>
<blockquote>
<h2>4.6.0</h2>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.5.1...4.6.0">v4.6.0</a></h2>
<ul>
<li>fix(node): allow passing requesterOptions (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/4348b38">4348b38</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a></li>
<li>fix(node): reuse http agent across client (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/f6e9e56">f6e9e56</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a></li>
<li>feat(client-search): add personalization field to RankingInfo (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/50b78a3">50b78a3</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</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">algolia/client-search's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.5.1...4.6.0">v4.6.0</a></h2>
<ul>
<li>fix(node): allow passing requesterOptions (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/4348b38">4348b38</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a></li>
<li>fix(node): reuse http agent across client (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/f6e9e56">f6e9e56</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a></li>
<li>feat(client-search): add personalization field to RankingInfo (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</a>) (<a href="https://github.com/algolia/algoliasearch-client-javascript/commit/50b78a3">50b78a3</a>), closes <a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="da500fb2be"><code>da500fb</code></a> chore: release v4.6.0 (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1217">https://github.com/facebook/flipper/issues/1217</a>)</li>
<li><a href="c3f5d7200e"><code>c3f5d72</code></a> chore: update bundlesize</li>
<li><a href="4348b3887b"><code>4348b38</code></a> fix(node): allow passing requesterOptions (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1215">https://github.com/facebook/flipper/issues/1215</a>)</li>
<li><a href="f6e9e5620c"><code>f6e9e56</code></a> fix(node): reuse http agent across client (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1216">https://github.com/facebook/flipper/issues/1216</a>)</li>
<li><a href="5207d68ff6"><code>5207d68</code></a> chore(TypeScript): avoid ts-ignore (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1190">https://github.com/facebook/flipper/issues/1190</a>)</li>
<li><a href="f82bd48684"><code>f82bd48</code></a> chore: migrate release process to Ship.js (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1210">https://github.com/facebook/flipper/issues/1210</a>)</li>
<li><a href="50b78a3e7f"><code>50b78a3</code></a> feat(client-search): add personalization field to RankingInfo (<a href="https://github-redirect.dependabot.com/algolia/algoliasearch-client-javascript/issues/1213">https://github.com/facebook/flipper/issues/1213</a>)</li>
<li>See full diff in <a href="https://github.com/algolia/algoliasearch-client-javascript/compare/4.5.1...4.6.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@algolia/client-search&package-manager=npm_and_yarn&previous-version=4.5.1&new-version=4.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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

Reviewed By: passy

Differential Revision: D24994065

Pulled By: mweststrate

fbshipit-source-id: 3b4b12a5540e611edc879cc2525dee811e73955c
2020-11-17 02:39:13 -08:00
generatedunixname89002005306973
f04c7a1768 Flipper Release: v0.65.0
Summary: Releasing version 0.65.0

Reviewed By: nikoant

Differential Revision: D24884910

fbshipit-source-id: 6aa59c57c9d372046d71048513db322c03c72b57
2020-11-11 08:17:41 -08:00
dependabot[bot]
ff781ffbba Bump @types/node from 14.14.2 to 14.14.6 in /desktop (#1645)
Summary:
Bumps [types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 14.14.2 to 14.14.6.
<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=14.14.2&new-version=14.14.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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

Reviewed By: passy

Differential Revision: D24702589

Pulled By: cekkaewnumchai

fbshipit-source-id: 5f4c6cb0fed8681174aa4325ada03501da5f6241
2020-11-04 03:45:03 -08:00
generatedunixname89002005306973
a3bcf6b043 Flipper Release: v0.64.0
Summary: Releasing version 0.64.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D24590607

fbshipit-source-id: 04671a31028a33cf020acd8b83c219608fe38319
2020-10-28 06:06:33 -07:00
Pascal Hartig
f36c3656b5 Upgrade to React 17
Summary:
Doing some oncall upgrades.

Changelog: Upgrade internal React version to v17

Reviewed By: mweststrate

Differential Revision: D24506315

fbshipit-source-id: 911e4f657684b4d98ec3ef91bc8a81c43130da5b
2020-10-27 05:56:34 -07:00
Anton Nikolaev
d4debc4185 Use dotenv for dev mode customisation
Summary: Allow using of .env file to pass env vars to be used in dev mode. Currently this allow to configure defaults for enabling fast refresh, automatic opening of dev tools and plugins to load.

Reviewed By: passy

Differential Revision: D24398938

fbshipit-source-id: 30a5d86b7906a7723a404cf84a1b8d50ae497dbc
2020-10-22 11:35:53 -07:00
Anton Nikolaev
2d9cf5a905 Option to load only specific plugins in dev mode
Summary: Currently we load all the plugins even if they are not required in dev mode, e.g. when you are developing a specific plugin. This diff adds an env var and command-line option to specify exact list of plugins to load. This makes dev mode startup faster and consume less memory.

Reviewed By: passy

Differential Revision: D24394146

fbshipit-source-id: 42a78c1ffb2632e657c2411e34e9c80fff18df3a
2020-10-22 11:35:53 -07:00
generatedunixname89002005306973
0f23f409ab Flipper Release: v0.63.0
Summary: Releasing version 0.63.0

Reviewed By: nikoant

Differential Revision: D24423408

fbshipit-source-id: 0bc12c49d8bf77d8dbf9688adb07dc176b210548
2020-10-20 11:13:12 -07:00
dependabot[bot]
d0828f6837 Bump live-plugin-manager from 0.14.1 to 0.15.1 in /desktop (#1588)
Summary:
Bumps [live-plugin-manager](https://github.com/davideicardi/live-plugin-manager) from 0.14.1 to 0.15.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.15.1</h2>
<ul>
<li>fix <code>console</code> object not correctly copied inside plugin's <code>global</code> object</li>
</ul>
<h2>v0.15.0</h2>
<ul>
<li>Moved typescript output to <code>dist</code> to avoid compilation issue. <a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/issues/30">https://github.com/facebook/flipper/issues/30</a> (Thanks <a href="https://github.com/fketchakeu">fketchakeu</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="881a95c8a0"><code>881a95c</code></a> 0.15.1</li>
<li><a href="b30cf37ffe"><code>b30cf37</code></a> fix console global object in plugin</li>
<li><a href="6c74ecd87e"><code>6c74ecd</code></a> 0.15.0</li>
<li><a href="f5dd7c4163"><code>f5dd7c4</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/issues/30">https://github.com/facebook/flipper/issues/30</a> from goldenbrick/fketchakeu/ts-jest</li>
<li><a href="dc91492808"><code>dc91492</code></a> Fix compatibility issues with JEST and similar frameworks.</li>
<li><a href="1fa4387035"><code>1fa4387</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/issues/27">https://github.com/facebook/flipper/issues/27</a> from goldenbrick/fketchakeu/fix-ts-errors</li>
<li><a href="cbd9def319"><code>cbd9def</code></a> Fix 'variable declared but its value is never read' Typescript errors</li>
<li><a href="2d28968185"><code>2d28968</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/davideicardi/live-plugin-manager/issues/20">https://github.com/facebook/flipper/issues/20</a> from xxczaki/patch-1</li>
<li><a href="445a284c04"><code>445a284</code></a> Use markdown comments to enable syntax highlighting</li>
<li>See full diff in <a href="https://github.com/davideicardi/live-plugin-manager/compare/v0.14.1...v0.15.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.14.1&new-version=0.15.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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

Reviewed By: mweststrate

Differential Revision: D24250130

Pulled By: nikoant

fbshipit-source-id: d4c6431f6fe1c01fb523e845020f3257d3db7df8
2020-10-13 03:04:11 -07:00
generatedunixname89002005306973
ca271dd7c3 Flipper Release: v0.62.0
Summary: Releasing version 0.62.0

Reviewed By: nikoant

Differential Revision: D24248944

fbshipit-source-id: 05742031294f6a77c78c0bdccbdffe7d82427f05
2020-10-12 06:03:03 -07:00
dependabot[bot]
bb3fd8c992 Bump @types/node from 13.13.0 to 14.11.5 in /desktop (#1575)
Summary:
Bumps [types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 13.13.0 to 14.11.5.
<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=13.13.0&new-version=14.11.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates)

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

Reviewed By: passy

Differential Revision: D24136281

Pulled By: mweststrate

fbshipit-source-id: 4d1011e27870891546430913ed6afc5d436828c4
2020-10-08 09:28:28 -07:00
generatedunixname89002005306973
ad929b23d0 Flipper Release: v0.61.0
Summary: Releasing version 0.61.0

Reviewed By: mweststrate

Differential Revision: D24132584

fbshipit-source-id: 7ae6ad5144561d356effe8eda5eaf472445365e6
2020-10-06 03:43:56 -07:00
generatedunixname89002005306973
8054f6446f Flipper Release: v0.60.0
Summary: Releasing version 0.60.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D24017297

fbshipit-source-id: ff193e95edc7d236c204bddf83aba56a7f009469
2020-09-30 09:28:54 -07:00
generatedunixname89002005306973
c0e8cef466 Flipper Release: v0.59.0
Summary: Releasing version 0.59.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D23985341

fbshipit-source-id: a477f9c05f7a62db3a59758c8c5fe06651ffa6f2
2020-09-29 08:11:39 -07:00
Anton Nikolaev
0982dc06a0 Reload single plugin on auto-update
Summary: Implemented a way for re-loading single plugin on auto-update. This make it possible to apply update without full Flipper restart.

Reviewed By: mweststrate

Differential Revision: D23729972

fbshipit-source-id: ed30f7cde5a0537945db0b5bb6969ae8fde42cb6
2020-09-28 02:51:47 -07:00
Michel Weststrate
191df465b7 Updated to typescript 4
Summary:
allow-large-files

Updated to typescript 4. Note that this is no new major, the way TS numbers is that 4.0 is simply the number after 3.9 (so they refuse to use 3.10).

Primarily reason is that it allows us to use `/** deprecated */`. although there are definitely more interesting improvements

Reviewed By: passy, nikoant

Differential Revision: D23869445

fbshipit-source-id: 54e251b398b8698d9b18898ce66c3203b32aa356
2020-09-24 05:58:29 -07:00
generatedunixname89002005306973
32315c2d97 Flipper Release: v0.58.0
Summary: Releasing version 0.58.0

Reviewed By: cekkaewnumchai

Differential Revision: D23872448

fbshipit-source-id: b74483db292311719a0231f9b2fed78122e9f339
2020-09-23 12:06:38 -07:00
Anton Nikolaev
dfbf66408a Fix search by query in Plugin Manager
Summary: I accidently broke search by query in a previous diff, so fixing it here

Reviewed By: passy

Differential Revision: D23842187

fbshipit-source-id: 9fcc7a46048ff99e1bf26c8a70ef0240b38018cb
2020-09-22 10:35:55 -07:00
Anton Nikolaev
f03d5d94ed Remove plugin compilation and loading from startup hot path
Summary:
- Removed compilation on startup which is not required anymore after switching to plugin spec v2.
- Removed from Node process ("static" package) all the dependencies which are not required anymore:  e.g. metro, babel etc.
- Plugin loading code from node process moved to browser process and made asyncronous.

Some expected benefits after these changes:
1) Reduced size of Flipper bundle (~4.5MB reduction for lzma package in my tests) as well as startup time. It's hard to say the exact startup time difference as it is very machine-dependent, and on my machine it was already fast ~1500ms (vs 5500ms for p95) and decreased by just 100ms. But I think we should definitely see some improvements on "launch time" analytics graph for p95/p99.
2) Plugin loading is async now and happens when UI is already shown, so perceptive startup time should be also better now.
3) All plugin loading code is now consolidated in "app/dispatcher/plugins.tsx" instead of being splitted between Node and Browser processes as before. So it will be easier to debug plugin loading.
4) Now it is possible to apply updates of plugins by simple refresh of browser window instead of full Electron process restart as before.
5) 60% less code in Node process. This is good because it is harder to debug changes in Node process than in Browser process, especially taking in account differences between dev/release builds. Because of this Node process often ended up broken after changes. Hopefully now it will be more stable.

Changelog: changed the way of plugin loading, and removed obsolete dependencies, which should reduce bundle size and startup time.

Reviewed By: passy

Differential Revision: D23682756

fbshipit-source-id: 8445c877234b41c73853cebe585e2fdb1638b2c9
2020-09-16 06:32:58 -07:00
Anton Nikolaev
75e7261d1e Remove support for plugin format v1
Summary:
Do not list plugins packaged with format v1 in Plugin Manager.

Changelog: removed support for plugins packaged using legacy format (v1), so they won't appear in Plugin Manager anymore.

Reviewed By: passy

Differential Revision: D23681402

fbshipit-source-id: 1c9496ba6b739069d67228a0f4250f2f01aabd4d
2020-09-16 06:32:58 -07:00
Anton Nikolaev
e48707151a Move the code related to plugin loading / installation to "flipper-plugin-lib"
Summary:
Sorry for so long diff, but actually there are no functional changes, just refactoring to make further changes of Plugin Manager easier to understand.

I've de-coupled the code related to plugin management from UI code and moved it from PluginInstaller UI component (which will be replaced soon by new UI) to "flipper-plugin-lib".  So pretty much everything related to plugin discovery and installation now consolidated in this package.

Additionally, this refactoring enables re-using of plugin management code in "flipper-pkg", e.g. to create CLI command for plugin installation from NPM, e.g.: `flipper-pkg install flipper-plugin-reactotron`.

Reviewed By: passy

Differential Revision: D23679346

fbshipit-source-id: 82e7b9de9afa08c508c1b228c2038b4ba423571c
2020-09-16 06:32:58 -07:00
generatedunixname89002005306973
2fcab458bf Flipper Release: v0.57.0
Summary: Releasing version 0.57.0

Reviewed By: passy

Differential Revision: D23729543

fbshipit-source-id: 0156c0214b3665815ca648e995b78bb7cb2eba42
2020-09-16 04:27:08 -07:00
generatedunixname89002005306973
a47ac961f7 Flipper Release: v0.56.0
Summary: Releasing version 0.56.0

Reviewed By: jknoxville

Differential Revision: D23597790

fbshipit-source-id: e0f141eebe81e46619c71c8174fb78b1aaf2c035
2020-09-09 06:46:54 -07:00
root@sandcastle1585.atn1.facebook.com
66692dd722 Flipper Release: v0.55.0
Summary: Releasing version 0.55.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D23444759

fbshipit-source-id: b569ff8e8dce76028e323f906e7415689ae8b1c5
2020-09-01 03:54:11 -07:00
root@sandcastle962.atn2.facebook.com
36825675d1 Flipper Release: v0.54.0
Summary: Releasing version 0.54.0

Reviewed By: mweststrate

Differential Revision: D23314243

fbshipit-source-id: ce2561b356f082613f656fedac9c08b440845bb1
2020-08-25 08:25:04 -07:00
root@sandcastle1328.prn2.facebook.com
f1c3bf8697 Flipper Release: v0.53.0
Summary: Releasing version 0.53.0

Reviewed By: priteshrnandgaonkar

Differential Revision: D23213490

fbshipit-source-id: 66dfa59dbae33d372bad9e284f9773e2ab88487b
2020-08-19 08:22:00 -07:00
Pascal Hartig
6170bfea41 Upgrade fs-extra
Summary: Bringing this to the latest version everywhere.

Reviewed By: priteshrnandgaonkar

Differential Revision: D23051537

fbshipit-source-id: 5cad59ab6fcc57fc72df8ace985a7b5f39de2bda
2020-08-18 03:32:09 -07:00
generatedunixname89002005306973
d15ae99601 Flipper Release: v0.52.1
Summary: Releasing version 0.52.1

Reviewed By: passy

Differential Revision: D22976342

fbshipit-source-id: a4857df03cd1142615754a52f69d0f1578175f18
2020-08-06 10:14:30 -07:00
Anton Nikolaev
7e84c8e880 Support plugins that contain a scope in their name (#1427)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/1427

Reviewed By: mweststrate

Differential Revision: D22868784

fbshipit-source-id: c332e5b05e3fccb74cf5fdcdecf15b8f2e8c5006
2020-08-04 10:52:59 -07:00
generatedunixname89002005306973
f01b84be27 Flipper Release: v0.52.0
Summary: Releasing version 0.52.0

Reviewed By: passy

Differential Revision: D22921075

fbshipit-source-id: 4cab9552dcd5ff1a64d20e1e771a4f5173d54860
2020-08-04 06:15:23 -07:00
generatedunixname89002005306973
5dc98bab9d Flipper Release: v0.51.0
Summary: Releasing version 0.51.0

Reviewed By: nikoant

Differential Revision: D22728768

fbshipit-source-id: 49eabdccc7fd335401618f91b890e94fda11b23f
2020-07-24 10:03:20 -07:00