Commit Graph

77 Commits

Author SHA1 Message Date
generatedunixname89002005306973
f01b84be27 Flipper Release: v0.52.0
Summary: Releasing version 0.52.0

Reviewed By: passy

Differential Revision: D22921075

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

Reviewed By: nikoant

Differential Revision: D22728768

fbshipit-source-id: 49eabdccc7fd335401618f91b890e94fda11b23f
2020-07-24 10:03:20 -07:00
Pascal Hartig
000e7f85bf Update lodash (security fix)
Summary:
Trying to get our OSS report green and lodash is currently flagged as a security issue on GH.

Manually merged the different PRs on GitHub together.

Reviewed By: jonathoma

Differential Revision: D22599614

fbshipit-source-id: ea4c9abf21aade14cff9338b78b764b181193227
2020-07-17 14:36:24 -07:00
dependabot[bot]
9b5c71eb90 Bump globby from 10.0.2 to 11.0.1 in /desktop (#1377)
Summary:
Bumps [globby](https://github.com/sindresorhus/globby) from 10.0.2 to 11.0.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/sindresorhus/globby/releases">globby's releases</a>.</em></p>
<blockquote>
<h2>v11.0.1</h2>
<ul>
<li>Normalize file paths to posix for gitignore calculation (<a href="https://github-redirect.dependabot.com/sindresorhus/globby/issues/143">https://github.com/facebook/flipper/issues/143</a>)  f2bdce6</li>
</ul>
<p><a href="https://github.com/sindresorhus/globby/compare/v11.0.0...v11.0.1">https://github.com/sindresorhus/globby/compare/v11.0.0...v11.0.1</a></p>
<h2>v11.0.0</h2>
<h3>Breaking</h3>
<ul>
<li>Require Node.js 10  4a471af</li>
<li>Get rid of <code>glob</code> dependency (<a href="https://github-redirect.dependabot.com/sindresorhus/globby/issues/135">https://github.com/facebook/flipper/issues/135</a>)  d4681a4
If you passed in options to <code>globby.hasMagic()</code>, you need to update to use the <a href="https://github.com/mrmlnc/fast-glob#options-3">new options</a>.</li>
</ul>
<p><a href="https://github.com/sindresorhus/globby/compare/v10.0.2...v11.0.0">https://github.com/sindresorhus/globby/compare/v10.0.2...v11.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="39b7636370"><code>39b7636</code></a> 11.0.1</li>
<li><a href="f2bdce6534"><code>f2bdce6</code></a> Normalize file paths to posix for gitignore calculation (<a href="https://github-redirect.dependabot.com/sindresorhus/globby/issues/143">https://github.com/facebook/flipper/issues/143</a>)</li>
<li><a href="45ac58a95d"><code>45ac58a</code></a> 11.0.0</li>
<li><a href="3c93fa16bc"><code>3c93fa1</code></a> Re-enable test for <a href="https://github-redirect.dependabot.com/sindresorhus/globby/issues/97">https://github.com/facebook/flipper/issues/97</a></li>
<li><a href="4a471af4ca"><code>4a471af</code></a> Require Node.js 10</li>
<li><a href="d4681a4d58"><code>d4681a4</code></a> Get rid of <code>glob</code> dependency (<a href="https://github-redirect.dependabot.com/sindresorhus/globby/issues/135">https://github.com/facebook/flipper/issues/135</a>)</li>
<li>See full diff in <a href="https://github.com/sindresorhus/globby/compare/v10.0.2...v11.0.1">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=globby&package-manager=npm_and_yarn&previous-version=10.0.2&new-version=11.0.1)](https://help.github.com/articles/configuring-automated-security-fixes)

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

Reviewed By: mweststrate

Differential Revision: D22528235

Pulled By: passy

fbshipit-source-id: 8590d3d007adf438deeaea7d79d4820ca860dad2
2020-07-15 06:44:35 -07:00
generatedunixname89002005306973
fff723d5ef Flipper Release: v0.50.0
Summary: Releasing version 0.50.0

Reviewed By: passy

Differential Revision: D22501533

fbshipit-source-id: 0896efd4eb2b2bb5f557d573526db91dc5dcd1de
2020-07-13 04:15:23 -07:00
dependabot[bot]
150632a2e9 Bump @types/fs-extra from 8.1.0 to 9.0.1 in /desktop (#1362)
Summary:
Bumps [types/fs-extra](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fs-extra) from 8.1.0 to 9.0.1.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/fs-extra">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@types/fs-extra&package-manager=npm_and_yarn&previous-version=8.1.0&new-version=9.0.1)](https://help.github.com/articles/configuring-automated-security-fixes)

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

Reviewed By: mweststrate

Differential Revision: D22435350

Pulled By: passy

fbshipit-source-id: 029817966f51b9be3ea0b4e601d59cb63cbe154d
2020-07-10 02:12:32 -07:00
Michel Weststrate
8b2d8498e6 Upgrade to TypeScript 3.9
Summary:
Upgrading to TypeScript 3.9 so that we can use `// ts-expect-error`, that allows us to basically write unit tests for typings.

Fixed the typescript path in `settings.json`, because otherwise VSCode kept picking the built-in version (3.8.3 atm) of ts when opening the `sonar` folder as workspace.

Reviewed By: passy

Differential Revision: D22255818

fbshipit-source-id: ae54aedb237445f32f1797b4290656dbfb0e528f
2020-07-01 09:12:36 -07:00
generatedunixname89002005306973
8000090eac Flipper Release: v0.49.0
Summary: Releasing version 0.49.0

Reviewed By: cekkaewnumchai

Differential Revision: D22307632

fbshipit-source-id: 105fc71f07a4827a5d6e54cf3200b22f800a5f1e
2020-06-30 06:33:04 -07:00
Anton Nikolaev
419691da97 Added command "flipper-pkg checksum"
Summary: Changelog: Added command `flipper-pkg checksum` for computing the total checksum of all the files included into plugin package.

Reviewed By: passy

Differential Revision: D22255125

fbshipit-source-id: a4f91370b4ab16ea4ce4a60e29f9d20fdd5f4331
2020-06-26 03:25:27 -07:00
Pascal Hartig
011952d73c Flipper Release: v0.48.0
Summary: Releasing version 0.48.0

Reviewed By: mweststrate

Differential Revision: D22207960

fbshipit-source-id: 7f21ff151c4e5750646a6dd3e39690229a2e73a5
2020-06-25 02:32:47 -07:00
Pascal Hartig
f088d7ceec Update jest
Summary: Getting some warnings from ts-jest being potentially incompatible.

Reviewed By: nikoant

Differential Revision: D22184492

fbshipit-source-id: b0ff36bd63f45ca71957f882a08dcbedfdd5de87
2020-06-24 05:34:23 -07:00
Anton Nikolaev
21ab8dc25c "flipper-pkg" option for creating production bundle
Summary:
Development bundle: NODE_ENV=development, disabled minification, enabled source maps.

Production bundle: NODE_ENV=production, enabled minification, disabled source maps.

Changelog: Added "--production" option for "flipper-pkg bundle" command to produce minified plugin packages without source maps.

Reviewed By: mweststrate

Differential Revision: D22158791

fbshipit-source-id: 0f9ac84ca39ac3fb86f0c0b0a3c1be866445a305
2020-06-22 02:40:59 -07:00
generatedunixname89002005306973
43b9426ff4 Flipper Release: v0.47.0
Summary: Releasing version 0.47.0

Reviewed By: jknoxville

Differential Revision: D22089288

fbshipit-source-id: 0107d1f17cce8c9adc2b9c26d48a6d80797749be
2020-06-17 09:00:07 -07:00
Lukas Kurucz
f2996b7e7c When init, search for first level subdirectory (#1269)
Summary:
When running `flipper-pkg init path/plugin`, this allows to skip the `Do you wanna add this path to watching in Flipper config?`, if the path is direct first level subdirectory of any added path from Flipper `pluginPaths: []`

## Changelog

- Improve matching for watched pluginPaths when initialising new plugin
Pull Request resolved: https://github.com/facebook/flipper/pull/1269

Test Plan:
1. Create folder: `~/flipper-plugins`
2. Add this folder to Flipper config `pluginPaths: ['~/flipper-plugins']`
3. Create new subfolder `test-plugin`
4. Run `flipper-pkg init test-plugin`
5. It should not ask to add this folder to pluginPaths

To verify it only works for first level subdirectory, create another folder: `/deep/test-plugin2` and re-run steps with it.

This should also keep working if we specify exactly the path for the plugin itself.

Reviewed By: mweststrate

Differential Revision: D22065630

Pulled By: jknoxville

fbshipit-source-id: 9ef8d364e3815033b63579e37a6f2d19515ca902
2020-06-16 04:50:45 -07:00
Anton Nikolaev
587b8f6013 Fix flipper-pkg publishing
Summary: Command "oclif-dev manifest" is failing without esModuleInterop set to true, even though it is specified in base config. Because of this, automatic publishing to npm failed yesterday.

Reviewed By: jknoxville

Differential Revision: D21972747

fbshipit-source-id: ccdd34833f7beb4fbd79a97beeacaf012d5cb0cb
2020-06-10 06:40:39 -07:00
generatedunixname89002005306973
c0eb2648b7 Flipper Release: v0.46.0
Summary: Releasing version 0.46.0

Reviewed By: nikoant

Differential Revision: D21952711

fbshipit-source-id: 8681a244d64c50f2ad50f6c9c5e0ea766fd9ff20
2020-06-09 10:14:19 -07:00
Anton Nikolaev
d27fa34505 Added module for test-utilities used across all packages
Summary: Added new package with test utilities re-used by other packages

Reviewed By: mweststrate

Differential Revision: D21949629

fbshipit-source-id: 8bfa959401669dc8911a1f647f417cafd92c2e4b
2020-06-09 04:58:37 -07:00
Anton Nikolaev
ecfdeb2276 Make external typings re-usable across all the workspaces
Summary: Our external typings were only effective for the main "app" package. In this diff I've made them effective for all other workspaces too, and also cleaned up typescript configs.

Reviewed By: passy

Differential Revision: D21927361

fbshipit-source-id: ceb8009255583d969d79cc11b20dfe8b686f2fb3
2020-06-08 08:57:06 -07:00
Anton Nikolaev
339b786fb5 Added new package "flipper-plugin-lib" which contains re-usable code related to plugin installation
Summary: No functional changes, just refactoring for easier implementation of plugin updates installation

Reviewed By: passy

Differential Revision: D21902525

fbshipit-source-id: fbfa221a89b879b0d08127676b27df65ef63307d
2020-06-05 06:16:19 -07:00
dependabot-preview[bot]
431aabbca4 Bump cli-ux from 5.4.5 to 5.4.6 in /desktop (#1213)
Summary:
Bumps [cli-ux](https://github.com/oclif/cli-ux) from 5.4.5 to 5.4.6.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/oclif/cli-ux/releases">cli-ux's releases</a>.</em></p>
<blockquote>
<h2>v5.4.6</h2>
<ul>
<li>chore: bump oclif command <a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/152">https://github.com/facebook/flipper/issues/152</a>  3ed391f</li>
<li>fix: add explicit table.Flags type (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/153">https://github.com/facebook/flipper/issues/153</a>)  0939061</li>
<li>chore: add windows ci via github actions (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/151">https://github.com/facebook/flipper/issues/151</a>)  6781a68</li>
<li>fix: progress bar no TTY output (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/138">https://github.com/facebook/flipper/issues/138</a>)  8826fac</li>
<li>fix: replace treeify with faster object-treeify (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/91">https://github.com/facebook/flipper/issues/91</a>)  2c7b638</li>
<li>docs(readme): remove spinner comment on annotation (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/148">https://github.com/facebook/flipper/issues/148</a>)  63c2d72</li>
<li>chore: update ansi packages (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/144">https://github.com/facebook/flipper/issues/144</a>)  999c1b2</li>
<li>chore(deps): bump acorn from 7.1.0 to 7.1.1 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/147">https://github.com/facebook/flipper/issues/147</a>)  7039df9</li>
</ul>
<p><a href="https://github.com/oclif/cli-ux/compare/v5.4.5...v5.4.6">https://github.com/oclif/cli-ux/compare/v5.4.5...v5.4.6</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="e75d93b387"><code>e75d93b</code></a> v5.4.6</li>
<li><a href="3ed391f390"><code>3ed391f</code></a> chore: bump oclif command <a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/152">https://github.com/facebook/flipper/issues/152</a></li>
<li><a href="0939061feb"><code>0939061</code></a> fix: add explicit table.Flags type (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/153">https://github.com/facebook/flipper/issues/153</a>)</li>
<li><a href="6781a68e14"><code>6781a68</code></a> chore: add windows ci via github actions (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/151">https://github.com/facebook/flipper/issues/151</a>)</li>
<li><a href="8826facd53"><code>8826fac</code></a> fix: progress bar no TTY output (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/138">https://github.com/facebook/flipper/issues/138</a>)</li>
<li><a href="2c7b638a36"><code>2c7b638</code></a> fix: replace treeify with faster object-treeify (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/91">https://github.com/facebook/flipper/issues/91</a>)</li>
<li><a href="63c2d72e8d"><code>63c2d72</code></a> docs(readme): remove spinner comment on annotation (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/148">https://github.com/facebook/flipper/issues/148</a>)</li>
<li><a href="999c1b2e65"><code>999c1b2</code></a> chore: update ansi packages (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/144">https://github.com/facebook/flipper/issues/144</a>)</li>
<li><a href="7039df9cce"><code>7039df9</code></a> chore(deps): bump acorn from 7.1.0 to 7.1.1 (<a href="https://github-redirect.dependabot.com/oclif/cli-ux/issues/147">https://github.com/facebook/flipper/issues/147</a>)</li>
<li>See full diff in <a href="https://github.com/oclif/cli-ux/compare/v5.4.5...v5.4.6">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=cli-ux&package-manager=npm_and_yarn&previous-version=5.4.5&new-version=5.4.6)](https://dependabot.com/compatibility-score/?dependency-name=cli-ux&package-manager=npm_and_yarn&previous-version=5.4.5&new-version=5.4.6)

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)

 ---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<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)
- `dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/1213

Reviewed By: passy

Differential Revision: D21838144

Pulled By: mweststrate

fbshipit-source-id: 747bc3246789f281f6d3d35c5f501f7aba68d094
2020-06-04 07:24:34 -07:00
generatedunixname89002005306973
23d80bf3d5 Flipper Release: v0.45.0
Summary: Releasing version 0.45.0

Reviewed By: mweststrate

Differential Revision: D21860035

fbshipit-source-id: 58af5bbc4e743024beac925eac8012e64bd76aa9
2020-06-03 08:28:54 -07:00
generatedunixname89002005306973
b18760823d Flipper Release: v0.44.1
Summary: Releasing version 0.44.1

Reviewed By: passy

Differential Revision: D21767292

fbshipit-source-id: 94276959d0421fa687cc24f9553a0951b398ea56
2020-05-29 05:02:23 -07:00
Anton Nikolaev
ec646f365f Fix tests runInit.node.ts failing on Windows (#1198)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1198

Normalize paths so snapshots look the same on mac and win

Reviewed By: passy

Differential Revision: D21722773

fbshipit-source-id: 4a12117d3ec0fb57cdfc7c5bb06a5c0835412a5f
2020-05-26 11:58:59 -07:00
generatedunixname89002005306973
b538cead7a Flipper Release: v0.44.0
Summary: Releasing version 0.44.0

Reviewed By: passy

Differential Revision: D21686080

fbshipit-source-id: 83a8d997e99361e3fcc4472d484d3759f73ed964
2020-05-21 11:31:56 -07:00
dependabot-preview[bot]
74ce4f1e5b Bump ts-jest from 25.4.0 to 26.0.0 in /desktop (#1172)
Summary:
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 25.4.0 to 26.0.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md">ts-jest's changelog</a>.</em></p>
<blockquote>
<h1><a href="https://github.com/kulshekhar/ts-jest/compare/v25.5.1...v26.0.0">26.0.0</a> (2020-05-15)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>compiler:</strong> return <code>undefined</code> for <code>getScriptVersion</code> when a file doesn't exist in memory cache (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1641">#1641</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/6851b8e">6851b8e</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li>support Jest v26 (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1602">#1602</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/23b7741">23b7741</a>)</li>
</ul>
<h3>BREAKING CHANGES</h3>
<ul>
<li>Requires a minimum of TypeScript v3.8</li>
<li>Drop support for Node 8</li>
</ul>
<p><a name="25.5.1"></a></p>
<h2><a href="https://github.com/kulshekhar/ts-jest/compare/v25.5.0...v25.5.1">25.5.1</a> (2020-05-09)</h2>
<h3>Bug Fixes</h3>
<ul>
<li><strong>compiler:</strong> don't resolve files from build folder for <code>projectReferences</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1614">#1614</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/74b92d3">74b92d3</a>)</li>
<li><strong>config:</strong> don't set <code>include</code> value of <code>tsconfig</code> to empty array (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1606">#1606</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/8a29aaa">8a29aaa</a>)</li>
</ul>
<p><a name="25.5.0"></a></p>
<h1><a href="https://github.com/kulshekhar/ts-jest/compare/v25.4.0...v25.5.0">25.5.0</a> (2020-05-05)</h1>
<h3>Bug Fixes</h3>
<ul>
<li><strong>compiler:</strong> make <code>projectReferences</code> work with <code>isolatedModules: false</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1541">#1541</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/3e8efbe">3e8efbe</a>)</li>
<li><strong>compiler:</strong> allow using <code>files</code> provided by <code>tsconfig</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1562">#1562</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/a9f02bd">a9f02bd</a>)</li>
<li><strong>config:</strong> verify <code>testMatchPatterns</code> contain RegExp instance or string type values (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1569">#1569</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/7f85bab">7f85bab</a>)</li>
</ul>
<h3>Features</h3>
<ul>
<li><strong>config:</strong> add <code>tsconfig</code> alias to <code>tsConfig</code> option (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1565">#1565</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/c10eb6d">c10eb6d</a>)</li>
<li><strong>config:</strong> define 'ts-jest' on <code>ConfigGlobals</code> interface of <code>jest/types</code> (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1592">#1592</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/4526392">4526392</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li><strong>compiler:</strong> don’t write compile output to file system but rely on jest cache (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1561">#1561</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/d11a4ea">d11a4ea</a>)</li>
</ul>
</tr></table> ... (truncated)
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="bcf26974c4"><code>bcf2697</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1649">#1649</a> from kulshekhar/dependabot/npm_and_yarn/types/fs-ext...</li>
<li><a href="497f5c994f"><code>497f5c9</code></a> build(deps-dev): bump types/fs-extra from 8.1.0 to 9.0.0</li>
<li><a href="35001a2c7c"><code>35001a2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1646">#1646</a> from ahnpnl/v26.0.0</li>
<li><a href="1db8be5ec4"><code>1db8be5</code></a> chore(release): 26.0.0</li>
<li><a href="47007f13ff"><code>47007f1</code></a> build(deps-dev): bump types/js-yaml from 3.12.3 to 3.12.4 (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1644">#1644</a>)</li>
<li><a href="9741de4c2a"><code>9741de4</code></a> build(deps-dev): bump types/cross-spawn from 6.0.1 to 6.0.2 (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1643">#1643</a>)</li>
<li><a href="6851b8eae8"><code>6851b8e</code></a> fix(compiler): return <code>undefined</code> for <code>getScriptVersion</code> when a file doesn't ...</li>
<li><a href="6b22e08833"><code>6b22e08</code></a> build(deps-dev): bump types/yargs from 15.0.4 to 15.0.5 (<a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1638">#1638</a>)</li>
<li><a href="b58064c4c7"><code>b58064c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kulshekhar/ts-jest/issues/1637">#1637</a> from kulshekhar/dependabot/npm_and_yarn/types/jest-2...</li>
<li><a href="5fc19c06ff"><code>5fc19c0</code></a> build(deps-dev): bump types/jest from 25.2.1 to 25.2.2</li>
<li>Additional commits viewable in <a href="https://github.com/kulshekhar/ts-jest/compare/v25.4.0...v26.0.0">compare view</a></li>
</ul>
</details>
<details>
<summary>Maintainer changes</summary>
<p>This version was pushed to npm by <a href="https://www.npmjs.com/~tsjest">tsjest</a>, a new releaser for ts-jest since your current version.</p>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=ts-jest&package-manager=npm_and_yarn&previous-version=25.4.0&new-version=26.0.0)](https://dependabot.com/compatibility-score/?dependency-name=ts-jest&package-manager=npm_and_yarn&previous-version=25.4.0&new-version=26.0.0)

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)

 ---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<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)
- `dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
Pull Request resolved: https://github.com/facebook/flipper/pull/1172

Reviewed By: mweststrate

Differential Revision: D21625494

Pulled By: cekkaewnumchai

fbshipit-source-id: 21d7efa62672469024509ecd939fdf0636486053
2020-05-20 06:58:37 -07:00
generatedunixname89002005306973
4e618198cb Flipper Release: v0.43.0
Summary: Releasing version 0.43.0

Reviewed By: cekkaewnumchai

Differential Revision: D21639652

fbshipit-source-id: 5a775f6361283b2e9b2540b054afad497dab2a22
2020-05-19 08:00:52 -07:00
Michel Weststrate
d103c218d2 automatically plugin directory to Flipper config on init
Summary: Freshly init-ed plugins are not picked up by Flipper if they are not on the search path. This diff checks if the current dir is on the search path, and, if not, suggests to add it.

Reviewed By: jknoxville

Differential Revision: D21619632

fbshipit-source-id: b1dbe2695dbee9ce537999dc83e36f969ba4b747
2020-05-19 05:33:35 -07:00
Michel Weststrate
49b4022228 added tests for generated template files
Summary:
Created a test that snapshots the generated files, so that we can capture accidental regressions when generating files.

Also made the package id to package name a bit more robust

Reviewed By: jknoxville

Differential Revision: D21619633

fbshipit-source-id: 88ffb127e050d840df9ccd4b15ba29a71f341975
2020-05-19 05:33:35 -07:00
Michel Weststrate
3f86c9f6d2 init should always create a directory
Summary:
Although there are tools that do this for you (create-react-app, react-native), and other that assume you are already in the created directory before you invoke the command (typescript, git), creating the directory by the tool has a few benefits:

1. less risk of making an accidental mess when people assume they don't need to create the dir first (I definitely ended up with a node_modules in the wrong directory)
1. it provide a naive way of detecting plugin name conflicts early (at least for plugins you create yourself)
1. in the next diff I'll add a pkg suggestion to add the current directory to the search path for flipper plugins. In the current setup, that would require needing to suggest to add the parent directory, which somehow feels less logical
2. makes sure that the directory name follows npm conventions: the package.json name should match the current directory name (not super important, but e.g VSCode will show warnings otherwise)

Reviewed By: jknoxville

Differential Revision: D21619631

fbshipit-source-id: 6d027ad18f14659e0347a66cacf056eacbc65680
2020-05-19 05:33:35 -07:00
Michel Weststrate
080085e788 added simple watch mode
Summary:
Added a watch mode to the bundle command of flipper plugins. This makes it easy to test develop plugins locally, even when you are using a production build of flipper, which lowers the barrier of developing / fixing plugins.

opted for `fs.watch` over watchman to avoid some overengineering:
1. pkg / pkg-lib don't have the watchman utilities that would be needed for this. I wasn't sure if I could move those over from `static` without breaking the bootstrapping process
2. watchman is often a nuisance on non FB machines that aren't set up for it. fs.watch in contrast doesn't have any further dependencies or setup requirements, and is much more likely to work ootb.
3. since we watch only the `src` folder we don't really need the watchman optimizations. (so for a package.json change people would have to restart, but I don't think that is much of a problem).

Reviewed By: jknoxville

Differential Revision: D21523814

fbshipit-source-id: b1de72b7d01c6fc50cb8ce5709f54f8019eb89e4
2020-05-19 05:33:34 -07:00
Michel Weststrate
1e309abe4f add react types to template
Summary: See previous diff, should have merged those two diffs

Reviewed By: jknoxville

Differential Revision: D21523815

fbshipit-source-id: 3db91d06d845f0764e28f0dbf3020e77812cde53
2020-05-19 05:33:34 -07:00
Michel Weststrate
8d6ad59c52 add tsconfig to template
Summary: When opening a freshly generated plugin in VScode the IDE would be full of errors, even though it can bundle correctly thanks to the defaults used by bundle. This  is fixed by diff by correctly setting up a tsconfig.

Reviewed By: jknoxville

Differential Revision: D21523817

fbshipit-source-id: 8f6b58fbfb704460ddb5b845ddfb137b28d37187
2020-05-19 05:33:33 -07:00
Michel Weststrate
47f72e3332 add build command by default
Summary: By adding a build command the flipper plugin can be picked up, even when using a production build of Flipper, as we don't require Flipper's own infrastructure anymore to compile plugins.

Reviewed By: jknoxville

Differential Revision: D21523819

fbshipit-source-id: eed935ee95a7e3bff2ace629836b4b2450b5d1ad
2020-05-19 05:33:33 -07:00
Michel Weststrate
310a76d03f Improve standard view template
Summary:
As soon as any data was send to a freshly generated plugin, the plugin would crash as React doesn't support directly rendering data. Replaced it with a poor mans rendering that simply dumps all the data we received.

Also made sure the view is scrollable now which wasn't the case before.

Reviewed By: jknoxville

Differential Revision: D21523816

fbshipit-source-id: 3e04799facdf8b66ce9d66217a47fc7826d58d43
2020-05-19 05:33:33 -07:00
Michel Weststrate
7536c0e930 Add default .gitignore file
Summary:
This stack contains a bunch of improvements I made to smoothen the demo of plugin creating in the Flipper + React Native talk.

With 98% likelihood people will manage the source code of their Flipper plugins in git. This will make sure the `.gitignore` is configured properly ootb

Reviewed By: nikoant

Differential Revision: D21523818

fbshipit-source-id: b2ed769edc8fb9fd320464b05686e817e438f21e
2020-05-19 05:33:32 -07:00
generatedunixname89002005306973
9bead5e05c Flipper Release: v0.42.0
Summary: Releasing version 0.42.0

Reviewed By: passy

Differential Revision: D21520625

fbshipit-source-id: 9f3ce5739a0856de84b18df3c640e5218fd3182e
2020-05-13 02:16:13 -07:00
generatedunixname89002005306973
96d5949c19 Flipper Release: v0.41.0
Summary: Releasing version 0.41.0

Reviewed By: jknoxville

Differential Revision: D21402376

fbshipit-source-id: c2b5194afbb8f086097eb1c6fb337b950b4dffe7
2020-05-05 08:31:29 -07:00
Anton Nikolaev
877e0816b8 Include templates into flipper-pkg npm package
Summary: "flipper-pkg init" command was broken: https://github.com/facebook/flipper/issues/1112

Reviewed By: passy

Differential Revision: D21385652

fbshipit-source-id: e852a3872130077b83523d4dc67963a4b23a7ad7
2020-05-05 03:49:40 -07:00
Anton Nikolaev
a47cd12c84 Fixed publishing of "flipper-pkg"
Summary: There was an error on "lint" command, because json schemas was not published as a part of npm package

Reviewed By: jknoxville

Differential Revision: D21328254

fbshipit-source-id: 531d5892ccfea0c68a6369d44af43c840c3fe4ca
2020-04-30 10:21:44 -07:00
John Knox
b27f8ee236 Fix broken links inside app
Summary:
Searched for broken link patterns inside the app itself. I think I found them all but it's not certain.

Patterns searched for and replaced:
```
.html
getting-started/)
getting-started)
getting-started"
```

and also searched the repo for regex `\]\(.*)` and checked them by eye.

Reviewed By: passy

Differential Revision: D21306944

fbshipit-source-id: a2e09b0fd8677f5f26e5cc4a06805b474247f7e6
2020-04-30 03:19:22 -07:00
generatedunixname89002005306973
bd320b94e1 Flipper Release: v0.40.0
Summary: Releasing version 0.40.0

Reviewed By: nikoant

Differential Revision: D21302037

fbshipit-source-id: 2f2aeaf0aaf7a0d2fb65b21b6243c9ecd2684cdc
2020-04-29 08:33:04 -07:00
greenkeeper[bot]
dade1dadf7 Update @oclif/plugin-help in group pkg to the latest version � (#1069)
Summary:
***
☝️ **Important announcement:** Greenkeeper will be saying goodbye 👋 and passing the torch to Snyk on June 3rd, 2020! [Find out how to migrate to Snyk and more at greenkeeper.io](https://greenkeeper.io)
***
## The dependency [oclif/plugin-help](https://github.com/oclif/plugin-help) was updated from `2.2.3` to `3.0.0`.
This version is **not covered** by your **current version range**.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

 ---

**Publisher:** [chadian](https://www.npmjs.com/~chadian)
**License:** MIT

[Find out more about this release](https://github.com/oclif/plugin-help).

 ---

<details>
  <summary>FAQ and help</summary>

  There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).
</details>

 ---

Your [Greenkeeper](https://greenkeeper.io) bot 🌴
Pull Request resolved: https://github.com/facebook/flipper/pull/1069

Reviewed By: nikoant

Differential Revision: D21278324

Pulled By: passy

fbshipit-source-id: 6217e4d078341d15795b454b47b3ce482a0bfeeb
2020-04-28 07:13:49 -07:00
Anton Nikolaev
1cf3c30b7c "migrate" command for flipper-pkg tool
Summary: "migrate" command for easy migration of existing Flipper plugins to the specification version 2.

Reviewed By: passy

Differential Revision: D21253913

fbshipit-source-id: 9edb170fbaa10e9c3f670d5d68e69f4f6106c151
2020-04-28 05:01:06 -07:00
Anton Nikolaev
deb0daa7f3 Fix tests on Windows (#1072)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/1072

Once again fixed GH windows jobs which are currently failing

Reviewed By: mweststrate

Differential Revision: D21277273

fbshipit-source-id: 0df6ee7eb00b8f72bd6952747fa0e25e787ca335
2020-04-28 04:58:04 -07:00
Anton Nikolaev
d08dfee018 "init" command for flipper-pkg tool
Summary: Added command "init" to "flipper-pkg" which helps to quickly initialise Flipper desktop plugin.

Reviewed By: passy

Differential Revision: D21253819

fbshipit-source-id: 85a2fbde07ecb63737d180d2a7e5cc2846b4f533
2020-04-27 17:34:12 -07:00
Anton Nikolaev
21c574ac80 "lint" command for flipper-pkg tool
Summary:
Implemented json schema for flipper plugin package.json and used it for validation in "flipper-pkg lint" command.

Nice thing about json schema is that it not only allows to validate json, but also can be referenced using "$schema" property in json so IDEs like VSCode can find it and use for code completion, validation and to show properties documentation. I'm going to deploy the schema as a part of documentation website so it can be referenced as https://fbflipper.com/schemas/plugin-package/v2.json.

Also the "$schema" field can be used instead of "specVersion" to determine the specification according to which the plugin is defined. E.g., if specification version 3 would be created, it will be described in schema https://fbflipper.com/schemas/plugin-package/v3.json, etc.

Reviewed By: passy

Differential Revision: D21228294

fbshipit-source-id: f21351e584ef936a7d6b314436448489691f83a6
2020-04-27 17:34:11 -07:00
Pascal Hartig
b605f1140c Show message if update available
Summary: Even easier than manually using `update-notifier`: https://github.com/oclif/plugin-warn-if-update-available

Reviewed By: nikoant

Differential Revision: D21201177

fbshipit-source-id: e0169b41950f44f82c5a96c4452e5793f687ccdd
2020-04-23 10:32:21 -07:00
Anton Nikolaev
ec07272c78 Linter checks for extraneous dependencies
Summary: Added eslint rule "no-extraneous-imports" which disallow using modules which are not listed as dependencies in the corresponding package.json. Fixed a bunch of reported errors after the rule applied.

Reviewed By: passy

Differential Revision: D21186848

fbshipit-source-id: 0af9ac4b3fffdfd0ab7c23ae4ff12a3f5989d5e9
2020-04-23 05:33:20 -07:00
generatedunixname89002005306973
99c5a427c7 Flipper Release: v0.39.0
Summary: Releasing version 0.39.0

Reviewed By: mweststrate

Differential Revision: D21199718

fbshipit-source-id: 1082098a2b4fcfaa7b7efb201e8321331fd4bdc4
2020-04-23 03:57:12 -07:00
Michel Weststrate
18b88a7e03 Flipper Release: v0.38.0
Summary: Releasing version 0.38.0

Reviewed By: cekkaewnumchai

Differential Revision: D21155371

fbshipit-source-id: 554393fc357135cd8538c9b77eee023f8a3e1525
2020-04-21 13:10:56 -07:00