Commit Graph

295 Commits

Author SHA1 Message Date
dependabot[bot]
8ce64bbec4 Bump yargs from 17.2.1 to 17.4.1 in /desktop (#3714)
Summary:
Bumps [yargs](https://github.com/yargs/yargs) from 17.2.1 to 17.4.1.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/yargs/yargs/blob/main/CHANGELOG.md">yargs's changelog</a>.</em></p>
<blockquote>
<h3><a href="https://github.com/yargs/yargs/compare/v17.4.0...v17.4.1">17.4.1</a> (2022-04-09)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>coerce pollutes argv (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2161">https://github.com/facebook/flipper/issues/2161</a>) (<a href="2d1136d303">2d1136d</a>)</li>
<li><strong>completion:</strong> don't show positional args choices with option choices (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2148">https://github.com/facebook/flipper/issues/2148</a>) (<a href="b58b5bc2cd">b58b5bc</a>)</li>
<li>hide hidden options from completion (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2143">https://github.com/facebook/flipper/issues/2143</a>) (<a href="e086dfad7f">e086dfa</a>), closes <a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2142">https://github.com/facebook/flipper/issues/2142</a></li>
<li>show message when showHelpOnFail is chained globally (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2154">https://github.com/facebook/flipper/issues/2154</a>) (<a href="ad9fcacb00">ad9fcac</a>)</li>
</ul>
<h2><a href="https://github.com/yargs/yargs/compare/v17.3.1...v17.4.0">17.4.0</a> (2022-03-19)</h2>
<h3>Features</h3>
<ul>
<li><strong>completion:</strong> choices will now work for all possible aliases of an option and not just the default long option (<a href="30edd50671">30edd50</a>)</li>
<li><strong>completion:</strong> positional arguments completion (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2090">https://github.com/facebook/flipper/issues/2090</a>) (<a href="00e4ebbe3a">00e4ebb</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li><strong>completion:</strong> changed the check for option arguments to match options that begin with '-', instead of '--', to include short options (<a href="30edd50671">30edd50</a>)</li>
<li><strong>completion:</strong> fix for completions that contain non-leading hyphens (<a href="30edd50671">30edd50</a>)</li>
<li>failed command usage string is missing arg descriptions and optional args (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2105">https://github.com/facebook/flipper/issues/2105</a>) (<a href="d6e342d8ef">d6e342d</a>)</li>
<li>wrap unknown args in quotes (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2092">https://github.com/facebook/flipper/issues/2092</a>) (<a href="6a2977867b">6a29778</a>)</li>
</ul>
<h3><a href="https://github.com/yargs/yargs/compare/v17.3.0...v17.3.1">17.3.1</a> (2021-12-23)</h3>
<h3>Bug Fixes</h3>
<ul>
<li><strong>translations:</strong> correct Korean translation (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2095">https://github.com/facebook/flipper/issues/2095</a>) (<a href="c7c2b9eb34">c7c2b9e</a>)</li>
</ul>
<h2><a href="https://github.com/yargs/yargs/compare/v17.2.1...v17.3.0">17.3.0</a> (2021-11-30)</h2>
<h3>Features</h3>
<ul>
<li>fallback to default bash completion (<a href="74c0ba5cfc">74c0ba5</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>avoid legacy accessors (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2013">https://github.com/facebook/flipper/issues/2013</a>) (<a href="adb0d11e02">adb0d11</a>)</li>
<li><strong>deps:</strong> update dependency yargs-parser to v21 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2063">https://github.com/facebook/flipper/issues/2063</a>) (<a href="76c19518d7">76c1951</a>)</li>
<li>don't fail if &quot;fileURLToPath(import.meta.url)&quot; throws (<a href="3a44796c84">3a44796</a>)</li>
<li>re-add options to check callback (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2079">https://github.com/facebook/flipper/issues/2079</a>) (<a href="e75319d991">e75319d</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="be525157f3"><code>be52515</code></a> chore(main): release 17.4.1 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2147">https://github.com/facebook/flipper/issues/2147</a>)</li>
<li><a href="2d1136d303"><code>2d1136d</code></a> fix: coerce pollutes argv (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2161">https://github.com/facebook/flipper/issues/2161</a>)</li>
<li><a href="ad9fcacb00"><code>ad9fcac</code></a> fix: show message when showHelpOnFail is chained globally (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2154">https://github.com/facebook/flipper/issues/2154</a>)</li>
<li><a href="b58b5bc2cd"><code>b58b5bc</code></a> fix(completion): don't show positional args choices with option choices (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2148">https://github.com/facebook/flipper/issues/2148</a>)</li>
<li><a href="0bb49c3d86"><code>0bb49c3</code></a> samples: event.keyCode is deprecated, use new <code>.code</code> API (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2125">https://github.com/facebook/flipper/issues/2125</a>)</li>
<li><a href="e086dfad7f"><code>e086dfa</code></a> fix: hide hidden options from completion (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2143">https://github.com/facebook/flipper/issues/2143</a>)</li>
<li><a href="bcd59f1715"><code>bcd59f1</code></a> chore(main): release 17.4.0 (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2108">https://github.com/facebook/flipper/issues/2108</a>)</li>
<li><a href="3cbc38ccbf"><code>3cbc38c</code></a> docs: fix hyphenation (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2141">https://github.com/facebook/flipper/issues/2141</a>)</li>
<li><a href="00e4ebbe3a"><code>00e4ebb</code></a> feat(completion): positional arguments completion (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2090">https://github.com/facebook/flipper/issues/2090</a>)</li>
<li><a href="c0661643fc"><code>c066164</code></a> docs: an example using inquirer prompting (<a href="https://github-redirect.dependabot.com/yargs/yargs/issues/2114">https://github.com/facebook/flipper/issues/2114</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/yargs/yargs/compare/v17.2.1...v17.4.1">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: timur-valiev

Differential Revision: D36371211

Pulled By: mweststrate

fbshipit-source-id: 8a67df778d5d4cb3c314eaf1463d9437fe4261bb
2022-05-23 07:29:26 -07:00
Pascal Hartig
02adfa79e9 Add sourcemap support to server build
Summary:
Provide the same build parameters as for the main build and move
the two bundles to a folder where we can pick them up.

For consistency, I'm keeping the naming scheme with the main build.

Reviewed By: antonk52

Differential Revision: D36521046

fbshipit-source-id: 9ea992d6e5dc299d88083d751ca8e84eadb1430b
2022-05-20 04:04:06 -07:00
Pascal Hartig
3c3610662a Change build to make use of offline cache
Summary:
pkg-fetch is a bit weird in that it doesn't use the offline cache
if an output path is defined. That makes building in Sandcastle a lot harder.

Reviewed By: lawrencelomax, aigoncharov

Differential Revision: D36485283

fbshipit-source-id: 27596999c69441bc25e341db77b409ed0caaf0fe
2022-05-19 04:14:47 -07:00
Pascal Hartig
1e20ec7d27 Bump pkg-fetch
Summary: Seems to have improvements to the cache which we need in Sandcastle

Reviewed By: lawrencelomax

Differential Revision: D36483459

fbshipit-source-id: 4dfe1dcccddd21c3966508b1260644630c1082f5
2022-05-18 16:11:59 -07:00
Andrey Goncharov
a6d7f98cfd Bundle headless plugins
Summary: Current temporary limitations: all headless plugins are bundled with Flipper.

Reviewed By: antonk52

Differential Revision: D36098168

fbshipit-source-id: c58abe41776157258a5c39a80a5c1a33cf3f42c5
2022-05-10 05:13:24 -07:00
Pascal Hartig
045e0cc9fe App bundle for server
Summary:
This bundles up the Flipper Server in a Mac App Bundle which is identically in shape to a regular Desktop bundle. That means we can swap them out transparently without having to keep the layout in sync with Flipper Launcher.

It bundles nodeJS binary which we can later also provide for aarch64.

Reviewed By: aigoncharov

Differential Revision: D36140809

fbshipit-source-id: fb3410626ab172ce0da48f1a4a1489da68450369
2022-05-09 04:19:55 -07:00
Pascal Hartig
d05d3f9336 Upgrade more /desktop deps
Summary: Taking care of the remaining dependabot tasks In my queue.

Reviewed By: mweststrate

Differential Revision: D36131782

fbshipit-source-id: f8a5ce18bfab7c5d50a88d64f9516d67bba4bd6d
2022-05-05 08:07:44 -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
ef19d06239 Upgrade metro
Summary: Bunch of dependabot PRs showed that the signal is green, but still wanted to have all in one diff.

Reviewed By: aigoncharov

Differential Revision: D36102480

fbshipit-source-id: 88d472fdc2a910a7441a9e8164fe8af0f2d90f7b
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
92f88e877b Script for platform-specific flipper-server bundles
Summary:
To roll out Flipper Server for desktop, we need a bundle that comes with all node dependencies pre-installed and a bundled Node runtime. This creates some platform-specific sub-folders in `dist/` with both.

The `--mac`, `--linux`, `--win` options are chosen to be compatible with the main build script. For now, we only build x64 builds for Mac which is also in line with the Desktop build as we don't have signing for the whole bundle.

Reviewed By: lblasa

Differential Revision: D35545492

fbshipit-source-id: cce7165916d91a333f305713b9d6d7b9984984f4
2022-04-12 04:12:55 -07:00
dependabot[bot]
2d46b8bc48 Bump metro from 0.69.0 to 0.69.1 in /desktop (#3560)
Summary:
Bumps [metro](https://github.com/facebook/metro) from 0.69.0 to 0.69.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/facebook/metro/releases">metro's releases</a>.</em></p>
<blockquote>
<h2>Release v0.69.1</h2>
<ul>
<li><strong>[Fix]</strong> buck-worker-tool: Implement worker <a href="https://buck.build/rule/worker_tool.html#:~:text=it%20should%20exit%20after%20replying%20on%20stdout">termination</a> correctly. (22af8747469529ed2532b5392d695514930fb298)</li>
<li><strong>[Fix]</strong> metro-resolver: Export the <code>CustomResolutionContext</code> Flow type for use in custom resolvers. (cde639ca3c4d118a46448eb2a960cfb7bcdc4227)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="32408b89dc"><code>32408b8</code></a> Release 0.69.1</li>
<li><a href="cde639ca3c"><code>cde639c</code></a> Export CustomResolutionContext type from metro-resolver</li>
<li><a href="0fe1253cc4"><code>0fe1253</code></a> deploy 0.172.0</li>
<li><a href="fa06113363"><code>fa06113</code></a> Bump normalize-url from 4.5.0 to 4.5.1 in /website (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/784">https://github.com/facebook/flipper/issues/784</a>)</li>
<li><a href="8c3f4bffee"><code>8c3f4bf</code></a> Bump extend from 3.0.1 to 3.0.2 in /website (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/782">https://github.com/facebook/flipper/issues/782</a>)</li>
<li><a href="64ea6be3cf"><code>64ea6be</code></a> Bump minimist from 1.2.0 to 1.2.5 in /website (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/786">https://github.com/facebook/flipper/issues/786</a>)</li>
<li><a href="d37dea360b"><code>d37dea3</code></a> Bump browserslist from 4.16.0 to 4.19.3 in /website (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/785">https://github.com/facebook/flipper/issues/785</a>)</li>
<li><a href="e0cf1daaf4"><code>e0cf1da</code></a> Bump ini from 1.3.5 to 1.3.8 in /website (<a href="https://github-redirect.dependabot.com/facebook/metro/issues/783">https://github.com/facebook/flipper/issues/783</a>)</li>
<li><a href="521aebd686"><code>521aebd</code></a> Add sass plugin, style announcement banner</li>
<li><a href="9e06ce6e5b"><code>9e06ce6</code></a> Update docusaurus</li>
<li>Additional commits viewable in <a href="https://github.com/facebook/metro/compare/v0.69.0...v0.69.1">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: passy

Differential Revision: D35181291

Pulled By: mweststrate

fbshipit-source-id: 248d4efa40dfb1c5d2751f952ed9e6e5ddbbed1b
2022-03-29 09:54:15 -07:00
Michel Weststrate
5b19b378f6 Disable .strict() on all tsx yargs scripts
Summary:
Some internal jobs started to fail in the same way as GH did. Applied the same patch as in the parent diff.

I suspect the cause is an earlier update of node / bash / other dep? Couldn't really find anything clearly pointing at the problem

Reviewed By: aigoncharov

Differential Revision: D35212673

fbshipit-source-id: c09956137a4b10537718ffa60223cc4e557f41f7
2022-03-29 09:54:15 -07:00
Andrey Goncharov
886d04a81b Upgrade electron-builder
Summary:
Fix build on new MacOS
https://github.com/electron-userland/electron-builder/issues/6726

Reviewed By: passy

Differential Revision: D35211540

fbshipit-source-id: f59828f008482c503c260ca5f9bc625ca694e1be
2022-03-29 04:34:49 -07:00
Michel Weststrate
767caad593 Fix tsc:build on linux machines (#3588)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3588

Fix failing CI builds on Linux

See screenshot, sometimes the script being executed by ts-node, ends up as argument to the script itself. This seems to happen in CI, and *sometimes* happens for me locally. Since compute-package-checksum doesn't read any varargs anyway, just disabled the `strict` flag to ignore the additional arguments. This fixes our GH builds failing on linux.

Reviewed By: aigoncharov

Differential Revision: D35210590

fbshipit-source-id: 91057fd657a888020ea333495d1f16b7ff9cca50
2022-03-29 02:22:36 -07:00
Pascal Hartig
314855f5e1 Respect --no-open option during server startup
Summary:
This was previously ignored and can get a little annoying while testing.

Changelog: Respect --no-open during server startup

Reviewed By: timur-valiev

Differential Revision: D34932895

fbshipit-source-id: d2bf9d6fb57a76834b86ab013baf01628d2550fc
2022-03-16 16:39:23 -07:00
Andrey Goncharov
6ec3771824 Upgrade Metro
Reviewed By: passy

Differential Revision: D34789498

fbshipit-source-id: 9e984b308ac6d0dbc917ddaa20812f76d2a69d77
2022-03-10 10:31:24 -08:00
dependabot[bot]
4bcc3d0c46 Bump app-builder-lib from 22.14.12 to 23.0.2 in /desktop (#3505)
Summary:
allow-large-files
Bumps [app-builder-lib](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib) from 22.14.12 to 23.0.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/electron-userland/electron-builder/releases">app-builder-lib's releases</a>.</em></p>
<blockquote>
<h2>v23.0.2</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(app-builder-lib): export missing TS types by <a href="https://github.com/indutny-signal"><code>@​indutny-signal</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6692">electron-userland/electron-builder#6692</a></li>
<li>fix(signing): Include swiftshader in signing directories for windows by <a href="https://github.com/karliatto"><code>@​karliatto</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6682">electron-userland/electron-builder#6682</a></li>
<li>fix: Upgrading app-builder-bin in an attempt to resolve <a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6678">#6678</a> by <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6684">electron-userland/electron-builder#6684</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/karliatto"><code>@​karliatto</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6682">electron-userland/electron-builder#6682</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/electron-userland/electron-builder/compare/v23.0.1...v23.0.2">https://github.com/electron-userland/electron-builder/compare/v23.0.1...v23.0.2</a></p>
<h2>v23.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: signing of user-defined binaries by <a href="https://github.com/mifi"><code>@​mifi</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6660">electron-userland/electron-builder#6660</a></li>
<li>chore(docs): Update winOptions.ts comment to be more explicit by <a href="https://github.com/UppaJung"><code>@​UppaJung</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6670">electron-userland/electron-builder#6670</a></li>
<li>fix(dmg-builder): the &quot;import&quot; unbound issue by <a href="https://github.com/pan93412"><code>@​pan93412</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6672">electron-userland/electron-builder#6672</a></li>
<li>chore(deploy): Release by <a href="https://github.com/github-actions"><code>@​github-actions</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6667">electron-userland/electron-builder#6667</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/UppaJung"><code>@​UppaJung</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6670">electron-userland/electron-builder#6670</a></li>
<li><a href="https://github.com/pan93412"><code>@​pan93412</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6672">electron-userland/electron-builder#6672</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/electron-userland/electron-builder/compare/v23.0.0...v23.0.1">https://github.com/electron-userland/electron-builder/compare/v23.0.0...v23.0.1</a></p>
<h2>v23.0.0</h2>
<h2>What's Changed</h2>
<ul>
<li>chore(app-builder-lib): update electron-osx-sign from 0.5.0 to 0.6.0 by <a href="https://github.com/baparham"><code>@​baparham</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6598">electron-userland/electron-builder#6598</a></li>
<li>chore(deploy): Enable docker deployments by <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6560">electron-userland/electron-builder#6560</a></li>
<li>chore(deps): update amannn/action-semantic-pull-request action to v3.7.0 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6646">electron-userland/electron-builder#6646</a></li>
<li>chore(deps): update amannn/action-semantic-pull-request action to v4 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6647">electron-userland/electron-builder#6647</a></li>
<li>chore(deps): update tj-actions/changed-files action to v15 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6648">electron-userland/electron-builder#6648</a></li>
<li>chore(deps): update typescript-eslint monorepo to v4.33.0 by <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6582">electron-userland/electron-builder#6582</a></li>
<li>chore(docs): Update configuration.md - Improve productName description by <a href="https://github.com/kiruh"><code>@​kiruh</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6585">electron-userland/electron-builder#6585</a></li>
<li>chore(docs): Updating docs to include instructions on pnpm usage by <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6658">electron-userland/electron-builder#6658</a></li>
<li>chore: Exit prerelease mode by <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6653">electron-userland/electron-builder#6653</a></li>
<li>chore: Migrate TravisCI and CircleCI to GH Actions by <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6541">electron-userland/electron-builder#6541</a></li>
<li>chore: Only publish electron-builder &amp; electron-updater tags by <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6595">electron-userland/electron-builder#6595</a></li>
<li>chore: readme update by <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6627">electron-userland/electron-builder#6627</a></li>
<li>chore: Removing Bintray support since it was sunset. Ref: <a href="https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/">https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/</a> <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6556">electron-userland/electron-builder#6556</a></li>
<li>docs: add vite electron builder boilerplate by <a href="https://github.com/oceanlvr"><code>@​oceanlvr</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6654">electron-userland/electron-builder#6654</a></li>
<li>feat(mac): Force authentication for local mac squirrel update server <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6556">electron-userland/electron-builder#6556</a></li>
<li>feat(updater): Add Channel Support for Github with PreRelease by <a href="https://github.com/KenCorma"><code>@​KenCorma</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6505">electron-userland/electron-builder#6505</a></li>
<li>feat: use <code>mergeASARs</code> API by <code>@​electron/universal</code> by <a href="https://github.com/indutny-signal"><code>@​indutny-signal</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6578">electron-userland/electron-builder#6578</a></li>
<li>fix(dmg-builder): Support python 3 by <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6617">electron-userland/electron-builder#6617</a></li>
<li>fix(docs): Fixing formatting of code groups and previews by <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6601">electron-userland/electron-builder#6601</a></li>
<li>fix(nsis): Adding --INPUTCHARSET to makensis <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6556">electron-userland/electron-builder#6556</a></li>
<li>fix(nsis): Fail-fast for windows signature verification failures. Adding <code>-LiteralPath</code> to update file path to disregard injected wildcards <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6556">electron-userland/electron-builder#6556</a></li>
<li>fix(nsis): Force strip path separators for backslashes on Windows during update process <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6556">electron-userland/electron-builder#6556</a></li>
<li>fix(NSIS): prevent partial overwrites by <a href="https://github.com/indutny-signal"><code>@​indutny-signal</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6547">electron-userland/electron-builder#6547</a></li>
<li>fix(nsis): use atomic rmdir on update by <a href="https://github.com/indutny-signal"><code>@​indutny-signal</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6551">electron-userland/electron-builder#6551</a></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/CHANGELOG.md">app-builder-lib's changelog</a>.</em></p>
<blockquote>
<h2>23.0.2</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6682">#6682</a> <a href="e6312cb54e"><code>e6312cb5</code></a> Thanks <a href="https://github.com/karliatto"><code>@​karliatto</code></a>! - fix(signing): Include swiftshader in signing directories for windows</li>
</ul>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6692">#6692</a> <a href="93181a78f2"><code>93181a78</code></a> Thanks <a href="https://github.com/indutny-signal"><code>@​indutny-signal</code></a>! - fix(app-builder-lib): export missing TS types</p>
</li>
<li>
<p>Updated dependencies [<a href="5ffbe1e299"><code>5ffbe1e2</code></a>]:</p>
<ul>
<li>builder-util@23.0.2</li>
<li>electron-publish@23.0.2</li>
</ul>
</li>
</ul>
<h2>23.0.1</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6660">#6660</a> <a href="4c6d1546d4"><code>4c6d1546</code></a> Thanks <a href="https://github.com/mifi"><code>@​mifi</code></a>! - Fix error thrown due to duplicated signing of user-defined binaries on mac when resolving relative path</li>
</ul>
<h2>23.0.0</h2>
<h3>Major Changes</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6556">#6556</a> <a href="a138a86fb7"><code>a138a86f</code></a> Thanks <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>! - Breaking changes
Removing Bintray support since it was sunset. Ref: <a href="https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/">https://jfrog.com/blog/into-the-sunset-bintray-jcenter-gocenter-and-chartcenter/</a>
Fail-fast for windows signature verification failures. Adding <code>-LiteralPath</code> to update file path to disregard injected wildcards
Force strip path separators for backslashes on Windows during update process
Force authentication for local mac squirrel update server</p>
<p>Fixes:
fix(nsis): Adding --INPUTCHARSET to makensis. (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/4898">#4898</a> <a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6232">#6232</a> <a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6259">#6259</a>)</p>
<p>Adding additional details to error console logging</p>
</li>
</ul>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6556">#6556</a> <a href="a138a86fb7"><code>a138a86f</code></a> Thanks <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>! - BREAKING CHANGE: remove MSI option <code>iconId</code></li>
</ul>
<h3>Minor Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6578">#6578</a> <a href="81132a857b"><code>81132a85</code></a> Thanks <a href="https://github.com/indutny-signal"><code>@​indutny-signal</code></a>! - feat: use <code>mergeASARs</code> API by <code>@​electron/universal</code></li>
</ul>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6556">#6556</a> <a href="a138a86fb7"><code>a138a86f</code></a> Thanks <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>! - feat(msi): support assisted installer for MSI target</li>
</ul>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6556">#6556</a> <a href="a138a86fb7"><code>a138a86f</code></a> Thanks <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>! - feat(msi): add fileAssociation support for MSI target</li>
</ul>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6556">#6556</a> <a href="a138a86fb7"><code>a138a86f</code></a> Thanks <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>! - feat(mac): ElectronAsarIntegrity in electron@15</li>
</ul>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6556">#6556</a> <a href="a138a86fb7"><code>a138a86f</code></a> Thanks <a href="https://github.com/mmaietta"><code>@​mmaietta</code></a>! - Default to LZO compression for snap packages.
This greatly improves cold startup performance (<a href="https://snapcraft.io/blog/why-lzo-was-chosen-as-the-new-compression-method">https://snapcraft.io/blog/why-lzo-was-chosen-as-the-new-compression-method</a>).
LZO has already been adopted by most desktop-oriented snaps outside of the Electron realm.</p>
<p>For the rare case where developers prefer a smaller file size (XZ) to vastly improved decompression performance (LZO), provided an option to override the default compression method.</p>
</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e7f0d3bbd6"><code>e7f0d3b</code></a> chore(deploy): Release 23.0.2 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6695">#6695</a>)</li>
<li><a href="5ffbe1e299"><code>5ffbe1e</code></a> Fix: Downgrading app-builder-bin to fix unusable AppImage. Fixes <a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6678">#6678</a> (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6684">#6684</a>)</li>
<li><a href="e6312cb54e"><code>e6312cb</code></a> fix(win): Include swiftshader in signing directories for windows (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6682">#6682</a>)</li>
<li><a href="93181a78f2"><code>93181a7</code></a> fix(app-builder-lib): export missing TS types (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6692">#6692</a>)</li>
<li><a href="6fcd47767a"><code>6fcd477</code></a> fix: Reactivating bitbucket integration test for nsis updater (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6680">#6680</a>)</li>
<li><a href="bf0382e8a1"><code>bf0382e</code></a> chore(deploy): Release 23.0.1 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6667">#6667</a>)</li>
<li><a href="e1a439be9d"><code>e1a439b</code></a> chore(docs): Update winOptions.ts comment to be more explicit re: its input (...</li>
<li><a href="4c6d1546d4"><code>4c6d154</code></a> fix: signing of user-defined binaries on mac when resolved as relative path (...</li>
<li><a href="8db6c72273"><code>8db6c72</code></a> chore(deploy): Release 23.0.0 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6657">#6657</a>)</li>
<li><a href="19ab1f5e3b"><code>19ab1f5</code></a> chore(docs): Updating docs to include instructions on pnpm usage (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6658">#6658</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/electron-userland/electron-builder/commits/v23.0.2/packages/app-builder-lib">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=app-builder-lib&package-manager=npm_and_yarn&previous-version=22.14.12&new-version=23.0.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/3505

Reviewed By: lblasa

Differential Revision: D34718809

Pulled By: passy

fbshipit-source-id: fda35629589644e056640750fc43dc70cb11391c
2022-03-09 03:29:11 -08:00
Anton Nikolaev
37ff34390a Enable Marketplace for Flipper (#3491)
Summary:
This is PR on top of: https://github.com/facebook/flipper/pull/3473

It adds an option to Settings to allow distribution of marketplace plugins.

Also includes a simple fetch function to retrieve data from external API/server.

## Changelog

Allow marketplace plugins

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

Test Plan:
1. Enable marketplace
2. Provide custom marketplace server (it will serve the list of internal plugins with downloadURL)
3. Test if can see Available plugins and can download/remove the plugin
4. If new update for the plugin, it should also allow auto update

Reviewed By: antonk52

Differential Revision: D34586339

Pulled By: nikoant

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

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

Reviewed By: nikoant

Differential Revision: D34579180

fbshipit-source-id: a4848e1010ff240d9b0e721d3878585e7b4bd078
2022-03-03 04:11:52 -08:00
Andrey Goncharov
8ee788239b Update version number for default plugins
Summary: Prior to this fix, plugins were copied with verion 0.0.0 which forced them to be updated with "newer" versions from marketplace

Reviewed By: nikoant

Differential Revision: D34457087

fbshipit-source-id: a3242578c570447f8ecf9c62bcaa69e5d9688c42
2022-02-28 03:50:34 -08:00
Andrey Goncharov
2ce037d96b Load bundled server add-ons
Reviewed By: antonk52

Differential Revision: D34238883

fbshipit-source-id: 01b4b1c1c0a63cbfb639e903f6a77307ae370330
2022-02-28 03:50:34 -08:00
Andrey Goncharov
5cdb7c952e Update build scripts to support bundling server add-ons
Summary: Summary

Reviewed By: nikoant

Differential Revision: D34170565

fbshipit-source-id: be9904809bf33e85536a4c6ead0e753ef05209ff
2022-02-28 03:50:34 -08:00
Pascal Hartig
1910d3b713 Bump dependencies in /desktop
Summary: Combining green-ticked upgrades from GitHub into one push.

Reviewed By: lblasa

Differential Revision: D34212788

fbshipit-source-id: 12b207a05b9df08eac5b5c58fe1025932c448258
2022-02-14 09:55:15 -08:00
dependabot[bot]
1f41f1dc2d Bump @adobe/node-fetch-retry from 2.0.0 to 2.1.0 in /desktop (#3384)
Summary:
Bumps [adobe/node-fetch-retry](https://github.com/adobe/node-fetch-retry) from 2.0.0 to 2.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/adobe/node-fetch-retry/releases"><code>@​adobe/node-fetch-retry</code>'s releases</a>.</em></p>
<blockquote>
<h2>v2.1.0</h2>
<h1><a href="https://github.com/adobe/node-fetch-retry/compare/v2.0.0...v2.1.0">2.1.0</a> (2022-01-24)</h1>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="aaf1b7195d"><code>aaf1b71</code></a> [ci skip] no-release: version number update</li>
<li><a href="24d20a624b"><code>24d20a6</code></a> FEATURE-RELEASE: Add Typescript declarations (<a href="https://github-redirect.dependabot.com/adobe/node-fetch-retry/issues/42">https://github.com/facebook/flipper/issues/42</a>)</li>
<li>See full diff in <a href="https://github.com/adobe/node-fetch-retry/compare/v2.0.0...v2.1.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@adobe/node-fetch-retry&package-manager=npm_and_yarn&previous-version=2.0.0&new-version=2.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/3384

Reviewed By: passy

Differential Revision: D33892201

Pulled By: cekkaewnumchai

fbshipit-source-id: e318850d9bcad6908a92e41080fb64d8efafb183
2022-02-02 11:14:39 -08:00
Anton Kastritskiy
071bcaff96 Rename second batch for '.ts' files to '.tsx' in scripts dir
Summary: Rename first batch for '.ts' files to '.tsx'

Reviewed By: passy

Differential Revision: D33843246

fbshipit-source-id: eb8080db8cc3ef07820339bf8deafa208432de7c
2022-01-31 02:57:54 -08:00
Anton Kastritskiy
b4fc108c2e Rename first batch for '.ts' files to '.tsx' in doctor, static and test-utils
Summary: Rename first batch for '.ts' files to '.tsx'

Reviewed By: nikoant

Differential Revision: D33843051

fbshipit-source-id: 68dd2dc6538afce2daaf24c6412dc5db8b38acbc
2022-01-28 08:32:19 -08:00
dependabot[bot]
493915bc8d Bump dotenv from 8.2.0 to 14.2.0 in /desktop (#3344)
Summary:
Bumps [dotenv](https://github.com/motdotla/dotenv) from 8.2.0 to 14.2.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md">dotenv's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/motdotla/dotenv/compare/v14.1.1...v14.2.0">14.2.0</a> (2022-01-17)</h2>
<h3>Added</h3>
<ul>
<li>Add <code>dotenv_config_override</code> cli option</li>
<li>Add <code>DOTENV_CONFIG_OVERRIDE</code> command line env option</li>
</ul>
<h2><a href="https://github.com/motdotla/dotenv/compare/v14.1.0...v14.1.1">14.1.1</a> (2022-01-17)</h2>
<h3>Added</h3>
<ul>
<li>Add React gotcha to FAQ on README</li>
</ul>
<h2><a href="https://github.com/motdotla/dotenv/compare/v14.0.1...v14.1.0">14.1.0</a> (2022-01-17)</h2>
<h3>Added</h3>
<ul>
<li>Add <code>override</code> option 🎉 (<a href="https://github-redirect.dependabot.com/motdotla/dotenv/pull/595">https://github.com/facebook/flipper/issues/595</a>)</li>
</ul>
<h2><a href="https://github.com/motdotla/dotenv/compare/v14.0.0...v14.0.1">14.0.1</a> (2022-01-16)</h2>
<h3>Added</h3>
<ul>
<li>Log error on failure to load <code>.env</code> file (<a href="https://github-redirect.dependabot.com/motdotla/dotenv/pull/594">https://github.com/facebook/flipper/issues/594</a>)</li>
</ul>
<h2><a href="https://github.com/motdotla/dotenv/compare/v13.0.1...v14.0.0">14.0.0</a> (2022-01-16)</h2>
<h3>Added</h3>
<ul>
<li><em>Breaking:</em> Support inline comments for the parser 🎉 (<a href="https://github-redirect.dependabot.com/motdotla/dotenv/pull/568">https://github.com/facebook/flipper/issues/568</a>)</li>
</ul>
<h2><a href="https://github.com/motdotla/dotenv/compare/v13.0.0...v13.0.1">13.0.1</a> (2022-01-16)</h2>
<h3>Changed</h3>
<ul>
<li>Hide comments and newlines from debug output (<a href="https://github-redirect.dependabot.com/motdotla/dotenv/pull/404">https://github.com/facebook/flipper/issues/404</a>)</li>
</ul>
<h2><a href="https://github.com/motdotla/dotenv/compare/v12.0.4...v13.0.0">13.0.0</a> (2022-01-16)</h2>
<h3>Added</h3>
<ul>
<li><em>Breaking:</em> Add type file for <code>config.js</code> (<a href="https://github-redirect.dependabot.com/motdotla/dotenv/pull/539">https://github.com/facebook/flipper/issues/539</a>)</li>
</ul>
<h2><a href="https://github.com/motdotla/dotenv/compare/v12.0.3...v12.0.4">12.0.4</a> (2022-01-16)</h2>
<h3>Changed</h3>
<ul>
<li>README updates</li>
<li>Minor order adjustment to package json format</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="aeae434e53"><code>aeae434</code></a> Version 14.2.0</li>
<li><a href="78996affef"><code>78996af</code></a> Add override cli and env options</li>
<li><a href="18b6e1ccdc"><code>18b6e1c</code></a> Remove verbose test and move -Rspec option to standard test</li>
<li><a href="fb38f298b4"><code>fb38f29</code></a> Version 14.1.1</li>
<li><a href="f1c38d5a67"><code>f1c38d5</code></a> Update CHANGELOG</li>
<li><a href="d1af7f8f2d"><code>d1af7f8</code></a> Package lock update</li>
<li><a href="5e922fea74"><code>5e922fe</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/motdotla/dotenv/issues/596">https://github.com/facebook/flipper/issues/596</a> from darkgl0w/bump</li>
<li><a href="1da837bdf5"><code>1da837b</code></a> fix (test): no need to pass and call <code>done()</code></li>
<li><a href="ec4b0fa006"><code>ec4b0fa</code></a> chore: upgrade package dependencies</li>
<li><a href="6b0d2eb604"><code>6b0d2eb</code></a> Update README</li>
<li>Additional commits viewable in <a href="https://github.com/motdotla/dotenv/compare/v8.2.0...v14.2.0">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: aigoncharov

Differential Revision: D33741763

Pulled By: lblasa

fbshipit-source-id: 7188e804d6230ec7504c8ff43a70463c7959d130
2022-01-25 04:23:37 -08:00
Pascal Hartig
7135456434 Dep bump
Summary: Get ahead of dependabot by bundling a few small bumps.

Reviewed By: nikoant

Differential Revision: D33739602

fbshipit-source-id: 1482c062493a4214da81cbf5daf408aa382fb0ac
2022-01-24 04:57:29 -08:00
dependabot[bot]
629bdbea3d Bump socket.io from 4.4.0 to 4.4.1 in /desktop (#3313)
Summary:
Bumps [socket.io](https://github.com/socketio/socket.io) from 4.4.0 to 4.4.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/socketio/socket.io/releases">socket.io's releases</a>.</em></p>
<blockquote>
<h2>4.4.1</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>types:</strong> make <code>RemoteSocket.data</code> type safe (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4234">#4234</a>) (<a href="770ee5949f">770ee59</a>)</li>
<li><strong>types:</strong> pass <code>SocketData</code> type to custom namespaces (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4233">#4233</a>) (<a href="f2b8de7191">f2b8de7</a>)</li>
</ul>
<h4>Links:</h4>
<ul>
<li>Diff: <a href="https://github.com/socketio/socket.io/compare/4.4.0...4.4.1">https://github.com/socketio/socket.io/compare/4.4.0...4.4.1</a></li>
<li>Client release: <a href="https://github.com/socketio/socket.io-client/releases/tag/4.4.1">4.4.1</a></li>
<li>engine.io version:  <code>~6.1.0</code> (<a href="https://github.com/socketio/engine.io/compare/6.0.0...6.1.0">diff</a>)</li>
<li>ws version: <code>~8.2.3</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/socketio/socket.io/blob/master/CHANGELOG.md">socket.io's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/socketio/socket.io/compare/4.4.0...4.4.1">4.4.1</a> (2022-01-06)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>types:</strong> make <code>RemoteSocket.data</code> type safe (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4234">#4234</a>) (<a href="770ee5949f">770ee59</a>)</li>
<li><strong>types:</strong> pass <code>SocketData</code> type to custom namespaces (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4233">#4233</a>) (<a href="f2b8de7191">f2b8de7</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="c82a4bdf1f"><code>c82a4bd</code></a> chore(release): 4.4.1</li>
<li><a href="770ee5949f"><code>770ee59</code></a> fix(types): make <code>RemoteSocket.data</code> type safe (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4234">#4234</a>)</li>
<li><a href="3bf5d92735"><code>3bf5d92</code></a> refactor: add note about fetchSockets() for parent namespaces</li>
<li><a href="fc82e44f73"><code>fc82e44</code></a> refactor(typings): export Event type (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4215">#4215</a>)</li>
<li><a href="c840bad43a"><code>c840bad</code></a> test: fix flaky tests</li>
<li><a href="f2b8de7191"><code>f2b8de7</code></a> fix(typings): pass <code>SocketData</code> type to custom namespaces (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4233">#4233</a>)</li>
<li><a href="51784d0305"><code>51784d0</code></a> chore: add types to exports field to be compatible with nodenext module resol...</li>
<li><a href="c196689545"><code>c196689</code></a> docs: fix basic crud example</li>
<li><a href="7a70f63499"><code>7a70f63</code></a> docs: fix reconnection handling in the chat demo app (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4189">#4189</a>)</li>
<li><a href="e5897dd7dc"><code>e5897dd</code></a> docs: add usage with ES modules (<a href="https://github-redirect.dependabot.com/socketio/socket.io/issues/4195">#4195</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/socketio/socket.io/compare/4.4.0...4.4.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=socket.io&package-manager=npm_and_yarn&previous-version=4.4.0&new-version=4.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/3313

Reviewed By: aigoncharov

Differential Revision: D33622435

Pulled By: passy

fbshipit-source-id: 5df288d3436c368bd6683f3b7186a2c9a1a2fc74
2022-01-18 06:10:48 -08:00
Pascal Hartig
a51f25e9c2 Ensure distDir exists
Summary:
That avoids failures like these:

{F693123233}

Reviewed By: aigoncharov

Differential Revision: D33585422

fbshipit-source-id: b2b5af2daf7beaa796b331c5988e51ea3ed94699
2022-01-14 11:02:39 -08:00
Pascal Hartig
abb2c99ecd Increase timeout for icon download
Summary:
As mentioned in D33427938 (b05219d09c), we need to keep this way higher for now
as there's something strange going on with the assets endpoint.

Reviewed By: lblasa, mweststrate, aigoncharov

Differential Revision: D33565547

fbshipit-source-id: 6ce9e3371c9fa8f1bf74dd0fd5f3353d99dc2a58
2022-01-13 04:28:02 -08:00
Michel Weststrate
bc606dc073 fix public release build failing for flipper-server
Summary: Fixed failing release build, see https://github.com/facebook/flipper/runs/4790065925?check_suite_focus=true.

Reviewed By: passy

Differential Revision: D33550553

fbshipit-source-id: ecbcfa77a29e1afb7815453bc53b66a46da9aa9f
2022-01-13 03:51:59 -08:00
dependabot[bot]
a9785c8fc9 Bump express from 4.17.1 to 4.17.2 in /desktop (#3257)
Summary:
Bumps [express](https://github.com/expressjs/express) from 4.17.1 to 4.17.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/expressjs/express/releases">express's releases</a>.</em></p>
<blockquote>
<h2>4.17.2</h2>
<ul>
<li>Fix handling of <code>undefined</code> in <code>res.jsonp</code></li>
<li>Fix handling of <code>undefined</code> when <code>&quot;json escape&quot;</code> is enabled</li>
<li>Fix incorrect middleware execution with unanchored <code>RegExp</code>s</li>
<li>Fix <code>res.jsonp(obj, status)</code> deprecation message</li>
<li>Fix typo in <code>res.is</code> JSDoc</li>
<li>deps: body-parser@1.19.1
<ul>
<li>deps: bytes@3.1.1</li>
<li>deps: http-errors@1.8.1</li>
<li>deps: qs@6.9.6</li>
<li>deps: raw-body@2.4.2</li>
<li>deps: safe-buffer@5.2.1</li>
<li>deps: type-is@~1.6.18</li>
</ul>
</li>
<li>deps: content-disposition@0.5.4
<ul>
<li>deps: safe-buffer@5.2.1</li>
</ul>
</li>
<li>deps: cookie@0.4.1
<ul>
<li>Fix <code>maxAge</code> option to reject invalid values</li>
</ul>
</li>
<li>deps: proxy-addr@~2.0.7
<ul>
<li>Use <code>req.socket</code> over deprecated <code>req.connection</code></li>
<li>deps: forwarded@0.2.0</li>
<li>deps: ipaddr.js@1.9.1</li>
</ul>
</li>
<li>deps: qs@6.9.6</li>
<li>deps: safe-buffer@5.2.1</li>
<li>deps: send@0.17.2
<ul>
<li>deps: http-errors@1.8.1</li>
<li>deps: ms@2.1.3</li>
<li>pref: ignore empty http tokens</li>
</ul>
</li>
<li>deps: serve-static@1.14.2
<ul>
<li>deps: send@0.17.2</li>
</ul>
</li>
<li>deps: setprototypeof@1.2.0</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/expressjs/express/blob/master/History.md">express's changelog</a>.</em></p>
<blockquote>
<h1>4.17.2 / 2021-12-16</h1>
<ul>
<li>Fix handling of <code>undefined</code> in <code>res.jsonp</code></li>
<li>Fix handling of <code>undefined</code> when <code>&quot;json escape&quot;</code> is enabled</li>
<li>Fix incorrect middleware execution with unanchored <code>RegExp</code>s</li>
<li>Fix <code>res.jsonp(obj, status)</code> deprecation message</li>
<li>Fix typo in <code>res.is</code> JSDoc</li>
<li>deps: body-parser@1.19.1
<ul>
<li>deps: bytes@3.1.1</li>
<li>deps: http-errors@1.8.1</li>
<li>deps: qs@6.9.6</li>
<li>deps: raw-body@2.4.2</li>
<li>deps: safe-buffer@5.2.1</li>
<li>deps: type-is@~1.6.18</li>
</ul>
</li>
<li>deps: content-disposition@0.5.4
<ul>
<li>deps: safe-buffer@5.2.1</li>
</ul>
</li>
<li>deps: cookie@0.4.1
<ul>
<li>Fix <code>maxAge</code> option to reject invalid values</li>
</ul>
</li>
<li>deps: proxy-addr@~2.0.7
<ul>
<li>Use <code>req.socket</code> over deprecated <code>req.connection</code></li>
<li>deps: forwarded@0.2.0</li>
<li>deps: ipaddr.js@1.9.1</li>
</ul>
</li>
<li>deps: qs@6.9.6</li>
<li>deps: safe-buffer@5.2.1</li>
<li>deps: send@0.17.2
<ul>
<li>deps: http-errors@1.8.1</li>
<li>deps: ms@2.1.3</li>
<li>pref: ignore empty http tokens</li>
</ul>
</li>
<li>deps: serve-static@1.14.2
<ul>
<li>deps: send@0.17.2</li>
</ul>
</li>
<li>deps: setprototypeof@1.2.0</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="ea537d907d"><code>ea537d9</code></a> 4.17.2</li>
<li><a href="eee93a2760"><code>eee93a2</code></a> build: update example dependencies</li>
<li><a href="b35773cf19"><code>b35773c</code></a> build: eslint@7.32.0</li>
<li><a href="c8a42006b8"><code>c8a4200</code></a> build: mocha@9.1.3</li>
<li><a href="21cf522dcd"><code>21cf522</code></a> examples: improve 404 message wording</li>
<li><a href="a24f27aba7"><code>a24f27a</code></a> deps: serve-static@1.14.2</li>
<li><a href="a33266a206"><code>a33266a</code></a> build: support Node.js 14.x</li>
<li><a href="6fe271e8aa"><code>6fe271e</code></a> build: support Node.js 13.x</li>
<li><a href="cbe25d66b3"><code>cbe25d6</code></a> deps: setprototypeof@1.2.0</li>
<li><a href="3bb6d96ba9"><code>3bb6d96</code></a> examples: demonstrate sub directory download</li>
<li>Additional commits viewable in <a href="https://github.com/expressjs/express/compare/4.17.1...4.17.2">compare view</a></li>
</ul>
</details>
<br />

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

Reviewed By: antonk52

Differential Revision: D33511820

Pulled By: passy

fbshipit-source-id: 2f63202fb75cad2645d12387ce1238cb1cd2d502
2022-01-12 05:49:14 -08:00
Michel Weststrate
b05219d09c Fix release build
Summary:
This diff fixes the issue where flipper-server didn't properly build when creating a release build, due to plugins being resolved from both source `desktop/plugins` and `desktop/static/defaultPlugins` folders.

The `desktop/plugins` folder should not be included in the build, but wasn't sure why not, as it isn't a problem for desktop release either?

Anyway solved it for now to unblock releasing by using bundled-plugins, which might actually be better anyway for a bunch of use cases of flipper-server (e.g. when installed to an OD). So I think this is fine for now.

It does increase the build to ~40 MB, which is still halve of our unbundled electron build.

Reviewed By: aigoncharov

Differential Revision: D33427938

fbshipit-source-id: c931c2d1bea1e04c7b1603a488dcb76a41488740
2022-01-10 08:58:02 -08:00
dependabot[bot]
f265adc976 Bump app-builder-lib from 22.14.8 to 22.14.12 in /desktop (#3235)
Summary:
Bumps [app-builder-lib](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib) from 22.14.8 to 22.14.12.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/electron-userland/electron-builder/releases">app-builder-lib's releases</a>.</em></p>
<blockquote>
<h2>v22.14.12</h2>
<h2>What's Changed</h2>
<ul>
<li>fix: specify protocol as https to complete proxy support fix by <a href="https://github.com/robertpatrick"><code>@​robertpatrick</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6516">electron-userland/electron-builder#6516</a></li>
<li>fix: improve logged warning during macCodeSign by <a href="https://github.com/Matrixbirds"><code>@​Matrixbirds</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6522">electron-userland/electron-builder#6522</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Matrixbirds"><code>@​Matrixbirds</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6522">electron-userland/electron-builder#6522</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/electron-userland/electron-builder/compare/v22.14.11...v22.14.12">https://github.com/electron-userland/electron-builder/compare/v22.14.11...v22.14.12</a></p>
<h2>v22.14.11</h2>
<h2>What's Changed</h2>
<ul>
<li>chore(deps): update dependency <code>@​changesets/changelog-github</code> to v0.4.2 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6459">electron-userland/electron-builder#6459</a></li>
<li>chore(deps): update dependency <code>@​types/fs-extra</code> to v9.0.13 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6460">electron-userland/electron-builder#6460</a></li>
<li>fix(nsis): Ignore other users processes by <a href="https://github.com/I-Otsuki"><code>@​I-Otsuki</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6472">electron-userland/electron-builder#6472</a></li>
<li>docs: warn users to not disable zip for macos by <a href="https://github.com/lidel"><code>@​lidel</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6496">electron-userland/electron-builder#6496</a></li>
<li>chore(deps): update amannn/action-semantic-pull-request action to v3.5.0 by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6501">electron-userland/electron-builder#6501</a></li>
<li>chore(deps): lock file maintenance by <a href="https://github.com/renovate"><code>@​renovate</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6509">electron-userland/electron-builder#6509</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/I-Otsuki"><code>@​I-Otsuki</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6472">electron-userland/electron-builder#6472</a></li>
<li><a href="https://github.com/lidel"><code>@​lidel</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6496">electron-userland/electron-builder#6496</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/electron-userland/electron-builder/compare/v22.14.10...v22.14.11">https://github.com/electron-userland/electron-builder/compare/v22.14.10...v22.14.11</a></p>
<h2>v22.14.10</h2>
<p>electron-updater@4.6.5</p>
<h2>What's Changed</h2>
<ul>
<li>fix: get arch wrong with 'process.arch' in mac silicon by <a href="https://github.com/zhanjinfeng"><code>@​zhanjinfeng</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6381">electron-userland/electron-builder#6381</a></li>
<li>fix(app-builder-lib): channel alternation for github is not working by <a href="https://github.com/saadshahd"><code>@​saadshahd</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6449">electron-userland/electron-builder#6449</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/zhanjinfeng"><code>@​zhanjinfeng</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6381">electron-userland/electron-builder#6381</a></li>
<li><a href="https://github.com/saadshahd"><code>@​saadshahd</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6449">electron-userland/electron-builder#6449</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/electron-userland/electron-builder/compare/v22.14.9...v22.14.10">https://github.com/electron-userland/electron-builder/compare/v22.14.9...v22.14.10</a></p>
<h2>v22.14.9</h2>
<h2>What's Changed</h2>
<ul>
<li>fix(nsis): fix per-machine installs by <a href="https://github.com/robertpatrick"><code>@​robertpatrick</code></a> in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6450">electron-userland/electron-builder#6450</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/robertpatrick"><code>@​robertpatrick</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6450">electron-userland/electron-builder#6450</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/electron-userland/electron-builder/compare/v22.14.8...v22.14.9">https://github.com/electron-userland/electron-builder/compare/v22.14.8...v22.14.9</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/CHANGELOG.md">app-builder-lib's changelog</a>.</em></p>
<blockquote>
<h2>22.14.12</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies [<a href="344bb232d7"><code>344bb232</code></a>]:
<ul>
<li>electron-publish@22.14.12</li>
</ul>
</li>
</ul>
<h2>22.14.11</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6472">#6472</a> <a href="e3d06afae1"><code>e3d06afa</code></a> Thanks <a href="https://github.com/I-Otsuki"><code>@​I-Otsuki</code></a>! - fix(nsis): Ignore other users processes when installing for only current user
Closes <a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6104">#6104</a></li>
</ul>
<h2>22.14.10</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6449">#6449</a> <a href="df7a4255d2"><code>df7a4255</code></a> Thanks <a href="https://github.com/saadshahd"><code>@​saadshahd</code></a>! - Enable channel alternation for github publishing provider.</li>
</ul>
<h2>22.14.9</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/electron-userland/electron-builder/pull/6450">#6450</a> <a href="661a652252"><code>661a6522</code></a> Thanks <a href="https://github.com/robertpatrick"><code>@​robertpatrick</code></a>! - fix(nsis): fix per-machine installs to properly elevate during silent install/updates</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="82ce942069"><code>82ce942</code></a> chore(deploy): Release 22.14.12 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6518">#6518</a>)</li>
<li><a href="87300278d2"><code>8730027</code></a> fix: add warning to macCodeSign when skipping code signing on M1 macOS device...</li>
<li><a href="b81ec0c515"><code>b81ec0c</code></a> chore(deploy): Release 22.14.11 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6476">#6476</a>)</li>
<li><a href="e3d06afae1"><code>e3d06af</code></a> fix(nsis): Ignore other users processes during per-user installation (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6472">#6472</a>)</li>
<li><a href="f5c1e00f94"><code>f5c1e00</code></a> chore(deps): update dependency <code>@​types/fs-extra</code> to v9.0.13 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6460">#6460</a>)</li>
<li><a href="7704be02a0"><code>7704be0</code></a> chore(deploy): Release electron-builder@22.14.10. electron-updater@4.6.5 (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6458">#6458</a>)</li>
<li><a href="df7a4255d2"><code>df7a425</code></a> fix(app-builder-lib): channel alternation for github is not working (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6449">#6449</a>)</li>
<li><a href="b9473e2617"><code>b9473e2</code></a> chore(deploy): Release 22.14.9 (electron-updater@4.6.4) (<a href="https://github.com/electron-userland/electron-builder/tree/HEAD/packages/app-builder-lib/issues/6453">#6453</a>)</li>
<li><a href="661a652252"><code>661a652</code></a> fix(nsis): per-machine installs must properly elevate during silent install/u...</li>
<li>See full diff in <a href="https://github.com/electron-userland/electron-builder/commits/v22.14.12/packages/app-builder-lib">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=app-builder-lib&package-manager=npm_and_yarn&previous-version=22.14.8&new-version=22.14.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/3235

Reviewed By: lawrencelomax

Differential Revision: D33403859

Pulled By: passy

fbshipit-source-id: e4def778cd08d27bf73f3c37a6a077dd2f9ff62b
2022-01-06 03:43:48 -08:00
dependabot[bot]
4ba96dd2b7 Bump @babel/code-frame from 7.16.0 to 7.16.7 in /desktop (#3239)
Summary:
Bumps [babel/code-frame](https://github.com/babel/babel/tree/HEAD/packages/babel-code-frame) from 7.16.0 to 7.16.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/releases"><code>@​babel/code-frame</code>'s releases</a>.</em></p>
<blockquote>
<h2>v7.16.7 (2021-12-31)</h2>
<p>Thanks <a href="https://github.com/exb"><code>@​exb</code></a> for your first PR!</p>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14049">#14049</a> fix: check preceding line break before exclamation (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-runtime</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14081">#14081</a> Import the correct <code>./typeof.js</code> helper in <code>babel/runtime</code> (<a href="https://github.com/exb"><code>@​exb</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14072">#14072</a> Fix derived classes in Chrome &lt;= 36 (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-function-name</code>, <code>babel-plugin-transform-function-name</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14047">#14047</a> Fix unicode handling in generated function names (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14067">#14067</a> Allow <code>$schema</code> property in json config files (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 4</h4>
<ul>
<li>Endrit Bajo (<a href="https://github.com/exb"><code>@​exb</code></a>)</li>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
<li>Sneh Khatri (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
<h2>v7.16.6 (2021-12-14)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14055">#14055</a> fix: handle tokens for invalid template element (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>Committers: 2</h4>
<ul>
<li>Huáng Jùnliàng (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li>Nicolò Ribaudo (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
<h2>v7.16.5 (2021-12-13)</h2>
<p>Thanks <a href="https://github.com/chimurai"><code>@​chimurai</code></a> and <a href="https://github.com/krosenberg"><code>@​krosenberg</code></a> for your first PRs!</p>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-cli</code>, <code>babel-core</code>, <code>babel-helpers</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-classes</code>, <code>babel-plugin-transform-jscript</code>, <code>babel-plugin-transform-parameters</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-plugin-transform-spread</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12115">#12115</a> Mark class prototype as read-only (<a href="https://github.com/wentout"><code>@​wentout</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-parameters</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14032">#14032</a> Fix: default rest argument array elements as undefined (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-arrow-functions</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14036">#14036</a> Don't resolve shadowed <code>arguments</code> variables from functions (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code></li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/babel/babel/blob/main/CHANGELOG.md"><code>@​babel/code-frame</code>'s changelog</a>.</em></p>
<blockquote>
<h2>v7.16.7 (2021-12-31)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14049">#14049</a> fix: check preceding line break before exclamation (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-runtime</code>, <code>babel-runtime-corejs2</code>, <code>babel-runtime-corejs3</code>, <code>babel-runtime</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14081">#14081</a> Import the correct <code>./typeof.js</code> helper in <code>babel/runtime</code> (<a href="https://github.com/exb"><code>@​exb</code></a>)</li>
</ul>
</li>
<li><code>babel-helpers</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14072">#14072</a> Fix derived classes in Chrome &lt;= 36 (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-function-name</code>, <code>babel-plugin-transform-function-name</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14047">#14047</a> Fix unicode handling in generated function names (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-core</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14067">#14067</a> Allow <code>$schema</code> property in json config files (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.16.6 (2021-12-14)</h2>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14055">#14055</a> fix: handle tokens for invalid template element (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h2>v7.16.5 (2021-12-13)</h2>
<h4>👓 Spec Compliance</h4>
<ul>
<li><code>babel-cli</code>, <code>babel-core</code>, <code>babel-helpers</code>, <code>babel-plugin-proposal-class-properties</code>, <code>babel-plugin-proposal-decorators</code>, <code>babel-plugin-transform-classes</code>, <code>babel-plugin-transform-jscript</code>, <code>babel-plugin-transform-parameters</code>, <code>babel-plugin-transform-runtime</code>, <code>babel-plugin-transform-spread</code>, <code>babel-plugin-transform-typescript</code>, <code>babel-preset-env</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/12115">#12115</a> Mark class prototype as read-only (<a href="https://github.com/wentout"><code>@​wentout</code></a>)</li>
</ul>
</li>
</ul>
<h4>🐛 Bug Fix</h4>
<ul>
<li><code>babel-plugin-transform-parameters</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14032">#14032</a> Fix: default rest argument array elements as undefined (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-arrow-functions</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14036">#14036</a> Don't resolve shadowed <code>arguments</code> variables from functions (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14039">#14039</a> maintain estree string literal shape when cloned (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
<li><code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14016">#14016</a> Fix duplicate declaration error on ambient class declarations (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
<li><code>babel-generator</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14014">#14014</a> Support flow function type annotation with no parent (<a href="https://github.com/krosenberg"><code>@​krosenberg</code></a>)</li>
</ul>
</li>
<li><code>babel-plugin-transform-react-jsx</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14012">#14012</a> Fix JSX pragma anywhere in comment (<a href="https://github.com/The-x-Theorist"><code>@​The-x-Theorist</code></a>)</li>
</ul>
</li>
<li><code>babel-helper-create-class-features-plugin</code>, <code>babel-helper-environment-visitor</code>, <code>babel-helper-member-expression-to-functions</code>, <code>babel-helper-module-transforms</code>, <code>babel-helper-replace-supers</code>, <code>babel-plugin-transform-classes</code>, <code>babel-traverse</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/14005">#14005</a> Fix handling of <code>this</code>&amp;co in computed keys in arrows transform (<a href="https://github.com/nicolo-ribaudo"><code>@​nicolo-ribaudo</code></a>)</li>
</ul>
</li>
</ul>
<h4>💅 Polish</h4>
<ul>
<li><code>babel-parser</code>
<ul>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13968">#13968</a> Recover from shorthand assign exprs (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
<li><a href="https://github-redirect.dependabot.com/babel/babel/pull/13975">#13975</a> fix: update UnexpectedPrivateField error message (<a href="https://github.com/JLHwung"><code>@​JLHwung</code></a>)</li>
</ul>
</li>
</ul>
<h4>📝 Documentation</h4>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="23e884048a"><code>23e8840</code></a> v7.16.7</li>
<li><a href="d1cabf6bc8"><code>d1cabf6</code></a> [babel 8] Add <code>&quot;exports&quot;</code> to every package (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-code-frame/issues/14013">#14013</a>)</li>
<li><a href="2d989a983d"><code>2d989a9</code></a> Run tests in a native Node.js ESM environment (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-code-frame/issues/13966">#13966</a>)</li>
<li><a href="29de280006"><code>29de280</code></a> Use Node.js interop when importing <code>lib</code> in <code>test</code> (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-code-frame/issues/13995">#13995</a>)</li>
<li><a href="75996cb62b"><code>75996cb</code></a> Use full import specifier path in tests (<a href="https://github.com/babel/babel/tree/HEAD/packages/babel-code-frame/issues/13938">#13938</a>)</li>
<li>See full diff in <a href="https://github.com/babel/babel/commits/v7.16.7/packages/babel-code-frame">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@babel/code-frame&package-manager=npm_and_yarn&previous-version=7.16.0&new-version=7.16.7)](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/3239

Reviewed By: lawrencelomax

Differential Revision: D33403855

Pulled By: passy

fbshipit-source-id: 0698ba23f7b3bd2940ee37c95fd8d0216de2da0f
2022-01-05 09:35:55 -08:00
Michel Weststrate
ebc4752077 Left some code comments
Summary: Added some additional code comments as requested in earlier diffs

Reviewed By: passy

Differential Revision: D33361691

fbshipit-source-id: 2d1adc8830af58e6cb7bac4b283a5c0171cf749e
2022-01-04 09:06:15 -08:00
Michel Weststrate
d92c403dd2 Run server build as part of normal SandCastle build
Summary: Build flipper-server as normal build job. Note that `--no-rebuild-plugins` is used to save a lot of time, and

Reviewed By: passy

Differential Revision: D33361569

fbshipit-source-id: 55e97f81dbcfa98901ddc21e2f35f4d1134c74ef
2022-01-04 09:06:15 -08:00
Michel Weststrate
582ea64011 Publish flipper-server to NPM (#3224)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3224

Automatically publish to https://www.npmjs.com/package/flipper-server

Changelog: [experimental] It is now possible to run a full fledged Flipper as node + browser appication by using `npx flipper-server`

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

Test Plan:
https://github.com/facebook/flipper/runs/4659854128?check_suite_focus=true

Checked that the build is non-fb, has no fb plugins etc, and runs from npm

{F690008124}

{F690008123}

{F690008122}

Reviewed By: nikoant

Differential Revision: D33297125

Pulled By: mweststrate

fbshipit-source-id: b5fe6fcb81c665036273db814cb61855aaceff85
2022-01-04 04:13:10 -08:00
Michel Weststrate
dda68de445 Fix issue where TypeScript errors in scripts/ folder weren't picked up
Summary: This diff fixes an issue where the `scripts` folder wasn't automatically type checked by TypeScript, and as a result `yarn flipper-server` was broken atm.

Reviewed By: nikoant

Differential Revision: D33348825

fbshipit-source-id: 059a834cacb881d45ae4b0933af3f1feabb90182
2021-12-29 06:49:14 -08:00
Andres Suarez
79023ee190 Update copyright headers from Facebook to Meta
Reviewed By: bhamodi

Differential Revision: D33331422

fbshipit-source-id: 016e8dcc0c0c7f1fc353a348b54fda0d5e2ddc01
2021-12-27 14:31:45 -08:00
Michel Weststrate
521ef9e243 Check plugin entry points before bundling them stripped
Summary: When packaging plugins into flipper-server package, we assume an idiomatic plugin structure, warn and skip if a plugin doesn't conform to it.

Reviewed By: antonk52

Differential Revision: D33308367

fbshipit-source-id: fd6d1dbc66739b0867034930579429e97d9e2bfa
2021-12-24 07:18:11 -08:00
Michel Weststrate
bc98a77cf7 Improved build-release open args
Summary:
Improved `flipper:build-release` command with several options as suggested in earlier reviews. Flags added:

* `--npx` install using npx and start
* `--start` run directly from the build folder
* `--open` icmw previous two, spawn a browser

This should generally benefit developing from for example an on-demand server (although current socket access is currently only open to local host, so a port forward or remote entry point needs to be set up)

Reviewed By: antonk52

Differential Revision: D33308198

fbshipit-source-id: fb905647c8d9fbda9d3efc2bfdcbd4d03be84938
2021-12-24 07:18:11 -08:00
Michel Weststrate
cbda298b9d Add support to build flipper-server from SandCastle
Summary:
This refactors the flipper-server release script in such a way that it works the same as the normal release script, which solves two problems:

1) the official release script modifies versioned files, as it touches the package.json
2) it was slightly confusing that `flipper-server/static` was filled for release builds only, but not used in dev builds
3) running test:npx without running a release build before it, would fail with hard to comprehend errors. this has been solved now by removing that script and make it an arg of `build:flipper-server`

Also some further minor changes to prepare running a corresponding build / release job from SandCastle (later in this stack)

Reviewed By: nikoant

Differential Revision: D33297214

fbshipit-source-id: f6299aa982c3e59d1cc6479a93c56cbe4b57f85c
2021-12-24 07:18:11 -08:00
Michel Weststrate
3dffce32b9 Fix GH build error on windows (#3212)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/3212

Fix a build error caused by missing types for metro-resolver. For some reason it triggers only on windows, but we don't have typings for those indeed.

Reviewed By: nikoant

Differential Revision: D33308474

fbshipit-source-id: 1bd4354ee3c4df54a0a8e65d890721dd9dbac013
2021-12-24 07:15:23 -08:00
Michel Weststrate
54dacb7e5d Make sure icons are bundled
Summary: Make sure icons are prefetched for flipper-server prod builds, like we do for electron, so that the user doesn't need an internet connection to see icons

Reviewed By: nikoant

Differential Revision: D33296389

fbshipit-source-id: bfa92d78d8d77030238e5cca10d7aa6dcfb88e8b
2021-12-24 02:16:48 -08:00
Michel Weststrate
72fa481d27 Fix generation of bundled.json, make source maps work in prod builds
Summary:
This diff fixes several issues around loading plugin, such as:

* make suresource maps work in the flipper-server production build
* make sure default plugins are no symlinked, which wouldn't work anywhere else but on the the system where it was build
* support release channel param for flipper-server

Bundled flipper-server is now 42MB (with icons (see later diffs) and plugins
```
ll flipper-server-v0.0.0.tgz
-rw-r--r--  1 mweststrate  staff    42M 23 Dec 15:29 flipper-server-v0.0.0.tgz
```

Reviewed By: nikoant

Differential Revision: D33294677

fbshipit-source-id: 63538dc8127f883fee6a3608673ad11ce239b350
2021-12-24 02:16:48 -08:00
Michel Weststrate
b1d960e4c4 Make sure plugin loading works in NPX builds
Summary: Make sure non-bundled plugins load correctly . Note that sourcemaps don't load yet

Reviewed By: nikoant

Differential Revision: D33278639

fbshipit-source-id: 9951286ec6df65f33149e4687261a43e6c072c31
2021-12-24 02:16:48 -08:00
Michel Weststrate
86b6d2c99d Make flipper-server NPX-able
Summary: Make sure flipper-server is bundled in such a way that it is self-contained NPX-able. Also added some checks to make sure that dev dependencies don't accidentallly end up in in Flipper buidls

Reviewed By: nikoant

Differential Revision: D33190254

fbshipit-source-id: 443162e537d8ca9f956acac2d7bd52cbf0c92172
2021-12-24 02:16:48 -08:00