Kill Flow support

Summary:
* Removed Flow compilation step
* Removed all `flow` annotations
* Removed all FlowFixMe's
* Removed flow typings for Flipper
* Left flow transpilation (stripping) in babel, in case there is any external user using Flow in his plugin
* Left `eslint-plugin-flowtype` dependencies, as `eslint-config-fbjs` requires it

Reviewed By: passy

Differential Revision: D24755545

fbshipit-source-id: 9c0a7910657fd1cba88294e041bf2bfdf7b565bf
This commit is contained in:
Michel Weststrate
2020-11-09 07:59:07 -08:00
committed by Facebook GitHub Bot
parent 543a0e53ac
commit 670be012b2
44 changed files with 15 additions and 16621 deletions

View File

@@ -180,8 +180,8 @@
"eslint-config-prettier": "^6.10.1",
"eslint-import-resolver-typescript": "^2.3.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-flipper": "0.64.0",
"eslint-plugin-flowtype": "^4.7.0",
"eslint-plugin-flipper": "0.64.0",
"eslint-plugin-header": "^3.0.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-jsx-a11y": "^6.3.1",
@@ -195,7 +195,6 @@
"flipper-babel-transformer": "0.64.0",
"flipper-pkg-lib": "0.64.0",
"flipper-plugin-lib": "0.64.0",
"flow-bin": "0.131.0",
"fs-extra": "^9.0.0",
"glob": "^7.1.2",
"ignore": "^5.1.4",
@@ -269,8 +268,7 @@
"lint:tsc": "tsc --noemit",
"prelint:eslint": "yarn build:eslint",
"lint:eslint": "eslint . --ext .js,.ts,.tsx",
"lint:flow": "flow check",
"lint": "yarn lint:eslint && yarn lint:flow && yarn lint:tsc",
"lint": "yarn lint:eslint && yarn lint:tsc",
"bump-versions": "./ts-node scripts/bump-versions.ts",
"publish-packages": "./ts-node scripts/publish-packages.ts",
"everything": "yarn reset && yarn install && yarn lint && yarn test && yarn test-electron && yarn build --mac --mac-dmg --win --linux --linux-deb && yarn build-headless --mac --linux && yarn start"