Commit Graph

166 Commits

Author SHA1 Message Date
Brian Vaughn
07a6a3b87d Upgrade React DevTools 4.0.6 -> 4.6.0
Summary:
Upgrading the embedded version of React DevTools, primarily to pull in [this PR](https://github.com/facebook/react/pull/18397) which will reduce the impact of this package on `node_modules` size.

# Update process

Following a similar process as D15973709, I began by searching for [all of the references](https://our.intern.facebook.com/intern/biggrep/?corpus=xplat&filename=.json&case=false&view=default&extre=&s=%22react-devtools&engine=apr_strmatch&context=false&filter[uninteresting]=false&filter[intern]=false&filter[test]=false&grep_regex=) to the `react-devtools-core` package and updated all v4 usage to to point to the new 4.6.0 release:

1: Manually update "react-devtools-core" versions:
```
js/package.json
js/react-native-github/package.json
nuclide/package.json
sonar/desktop/app/package.json
sonar/desktop/plugins/reactdevtools/package.json
vscode/modules/vscode-webview/package.json
```
2: Setup Yarn proxy:
```
yarn config set proxy http://fwdproxy:8080/
yarn config set https-proxy http://fwdproxy:8080
```
3: Run "yarn" in each of the above directories.
4: Run the lockfile shell script:
```
~/xplat/js/scripts/update-oss-yarn-lockfile.sh
```
5: Update the generated `MOBILE_JS_NODE_MODULE_DEPS.bzl` by running
```
js1 build buckfiles
```

## Changelog:

[General] [Changed] - Upgrade embedded React DevTools backend from v4.0.6 to v4.6.0.

Reviewed By: cpojer, gaearon

Differential Revision: D20676091

fbshipit-source-id: 99865bdba9bce45e2a7d582d5fb550cfdbeeca3a
2020-03-26 16:45:29 -07:00
George Zahariev
b5e55aca4e Deploy Flow 0.121 to Xplat (#901)
Summary:
Deploy Flow 0.121 to Xplat

bypass-lint
allow-large-files

Closes https://github.com/facebook/flipper/pull/901

Changelog: [Internal]

Reviewed By: panagosg7

Differential Revision: D20570316

fbshipit-source-id: a76983d6f46c8b995ce2dd5cd1e014534790698a
2020-03-25 23:22:06 -07:00
Pascal Hartig
4d866b0327 Bump acorn, minimist
Summary:
They have some security vulns, resolving all to the 7.x release
where it's fixed.

What's bothering me about this is that we can't leave comments in the `package.json` to explain why this is there.

Reviewed By: nikoant

Differential Revision: D20645477

fbshipit-source-id: 0ea1a9d27066349943e25d618339a19b48d76def
2020-03-25 11:18:05 -07:00
Anton Nikolaev
9299198906 Fix adbkit-logcat resolution
Summary:
There is error written to console just after launch. It is related to wrong resolution of adbkit-logcat version. This diff forces resolution to the single version everywhere.

{F232416275}

Reviewed By: mweststrate

Differential Revision: D20632452

fbshipit-source-id: bf45bbd6d245dbb1093b093c20e808840689971b
2020-03-25 03:27:51 -07:00
Michael Bolin
37f0260116 Back out "Upgrade Prettier from 1.17 to 2.0.2."
Differential Revision: D20639755

fbshipit-source-id: 5028563f9cf0527a30b4259daac50cdc03934bfd
2020-03-24 21:48:09 -07:00
Michael Bolin
8658fca4dd Upgrade Prettier from 1.17 to 2.0.2.
Summary:
This gets us on the latest Prettier 2.x:
https://prettier.io/blog/2020/03/21/2.0.0.html

Notably, this adds support for TypeScript 3.8,
which introduces new syntax, such as `import type`.

Reviewed By: zertosh

Differential Revision: D20636268

fbshipit-source-id: fca5833d003804333a05ba16325bbbe0e06d6c8a
2020-03-24 20:24:52 -07:00
greenkeeper[bot]
fe6077e218 Update prettier in group pkg to the latest version � (#917)
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 devDependency [prettier](https://github.com/prettier/prettier) was updated from `1.19.1` to `2.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:** [thorn0](https://www.npmjs.com/~thorn0)
**License:** MIT

[Find out more about this release](https://github.com/prettier/prettier).

 ---

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

Reviewed By: jknoxville

Differential Revision: D20596394

Pulled By: passy

fbshipit-source-id: 27c551944d3fe15b4cf001f7b0757d31a60e3cbe
2020-03-24 09:38:12 -07:00
Pascal Hartig
fc9ed65762 prettier 2
Summary:
Quick notes:

- This looks worse than it is. It adds mandatory parentheses to single argument lambdas. Lots of outrage on Twitter about it, personally I'm {emoji:1f937_200d_2642} about it.
- Space before function, e.g. `a = function ()` is now enforced. I like this because both were fine before.
- I added `eslint-config-prettier` to the config because otherwise a ton of rules conflict with eslint itself.

Close https://github.com/facebook/flipper/pull/915

Reviewed By: jknoxville

Differential Revision: D20594929

fbshipit-source-id: ca1c65376b90e009550dd6d1f4e0831d32cbff03
2020-03-24 09:38:11 -07:00
greenkeeper[bot]
37096ba800 Greenkeeper/pkg/monorepo.babel7 20200322111342 (#921)
Summary:
Greenkeeper update
Pull Request resolved: https://github.com/facebook/flipper/pull/921

Reviewed By: mweststrate

Differential Revision: D20598722

Pulled By: jknoxville

fbshipit-source-id: 896352cf56d16e0c8cce8350c7a0e6d068ba03c6
2020-03-23 18:45:01 -07:00
John Knox
e85331bc98 chore(package): update @types/node to version 13.9.3 (#923)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/923

Reviewed By: mweststrate

Differential Revision: D20599094

Pulled By: jknoxville

fbshipit-source-id: f48e16099c50358cc798b62ecde12368c75ee3ec
2020-03-23 18:45:01 -07:00
John Knox
8eb18557dd chore(package): update ts-node to version 8.8.1 (#922)
Summary:
Greenkeeper update
Pull Request resolved: https://github.com/facebook/flipper/pull/922

Reviewed By: mweststrate

Differential Revision: D20599053

Pulled By: jknoxville

fbshipit-source-id: 2934eb44cbf964244fad213e5f79b2bc931aca03
2020-03-23 11:53:56 -07:00
Anton Nikolaev
863f89351e Yarn workspaces
Summary:
1) moved "sonar/desktop/src" to "sonar/desktop/app/src", so "app" is now a separate package containing the core Flipper app code
2) Configured yarn workspaces with the root in "sonar/desktop": app, static, pkg, doctor, headless-tests. Plugins are not included for now, I plan to do this later.

Reviewed By: jknoxville

Differential Revision: D20535782

fbshipit-source-id: 600b2301960f37c7d72166e0d04eba462bec9fc1
2020-03-20 13:37:41 -07:00
Pascal Hartig
c88553e00e Fix security vuln in acorn (#898)
Summary:
Resolves https://github.com/facebook/flipper/pull/886 which doesn't
rebase.
Pull Request resolved: https://github.com/facebook/flipper/pull/898

Test Plan: hopeitwork

Reviewed By: mweststrate

Differential Revision: D20510909

Pulled By: passy

fbshipit-source-id: c1525e65a98520d7dd9d3248d2a4e40aee3ae65d
2020-03-18 08:18:22 -07:00
Michel Weststrate
353c0657d0 Bump several dependencies
Summary:
Bumped several dependencies. For operational efficiency doing this in one diff.

Lands GH diffs #747, #826, #839, #875, #876

Reviewed By: passy

Differential Revision: D20419326

fbshipit-source-id: 2378d66362d754e0345f129097b22c52b44b7879
2020-03-16 11:22:44 -07:00
Anton Nikolaev
beb5c85e69 Enable eslint import checks and fixed the reported errors (#878)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/878

1) Enabled eslint error reporting for unresolved imports and fixed all the errors
2) Enabled eslint for typings (d.ts) and fixed all the errors

Reviewed By: passy

Differential Revision: D20335151

fbshipit-source-id: 7b142281a406b32df0f02a5cd0d7d05eba941acd
2020-03-14 14:35:18 -07:00
Anton Nikolaev
85c13bb1f3 Move desktop-related code to "desktop" subfolder (#872)
Summary:
Pull Request resolved: https://github.com/facebook/flipper/pull/872
Move all the JS code related to desktop app to "desktop" subfolder.

The structure of "desktop" folder:
- `src` - JS code of Flipper desktop app executing in Electron Renderer (Chrome) process. This folder also contains all the Flipper plugins in subfolder "src/plugins".
- `static` - JS code of Flipper desktop app bootstrapping executing in Electron Main (Node.js) process
- `pkg` - Flipper packaging lib and CLI tool
- `doctor` - Flipper diagnostics lib and CLI tool
- `scripts` - Build scripts for Flipper desktop app
- `headless` - Headless version of Flipper app
- `headless-tests` - Integration tests running agains Flipper headless version

Reviewed By: passy

Differential Revision: D20249304

fbshipit-source-id: 9a51c63b51b92b758a02fc8ebf7d3d116770efe9
2020-03-14 14:35:17 -07:00