Skip to content

Commit 9ab5dd8

Browse files
SamChou19815meta-codesync[bot]
authored andcommitted
Deploy 0.319.0 to xplat (#57256)
Summary: Pull Request resolved: #57256 [changelog](https://github.com/facebook/flow/blob/main/Changelog.md) Changelog: [Internal] Reviewed By: gkz Differential Revision: D108885686 fbshipit-source-id: b31fc3f2987ddb08cbe52daa5e8eef437541c8df
1 parent ef38ba4 commit 9ab5dd8

4 files changed

Lines changed: 11 additions & 15 deletions

File tree

.flowconfig

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ react.runtime=automatic
6767

6868
experimental.deprecated_utilities.excludes=<PROJECT_ROOT>/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js
6969
experimental.deprecated_utilities.excludes=<PROJECT_ROOT>/packages/react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js
70+
experimental.deprecated_colon_extends.excludes=<PROJECT_ROOT>/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js
71+
experimental.deprecated_variance_sigils.excludes=<PROJECT_ROOT>/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js
72+
7073
ban_spread_key_props=true
7174

7275
[lints]
@@ -90,4 +93,4 @@ untyped-import
9093
untyped-type-import
9194

9295
[version]
93-
^0.318.0
96+
^0.319.0

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"clean": "node ./scripts/build/clean.js",
1414
"cxx-api-build": "python -m scripts.cxx-api.parser",
1515
"cxx-api-validate": "python -m scripts.cxx-api.parser --validate",
16-
"flow-check": "flow check",
16+
"flow-check": "flow full-check",
1717
"flow": "flow",
1818
"format-check": "prettier --list-different \"./**/*.{js,md,yml,ts,tsx}\"",
1919
"format": "npm run prettier && npm run clang-format",
@@ -86,7 +86,7 @@
8686
"eslint-plugin-relay": "^1.8.3",
8787
"fb-dotslash": "0.5.8",
8888
"flow-api-translator": "0.36.1",
89-
"flow-bin": "^0.318.0",
89+
"flow-bin": "^0.319.0",
9090
"hermes-eslint": "0.36.1",
9191
"hermes-transform": "0.36.1",
9292
"ini": "^5.0.0",

scripts/run-ci-javascript-tests.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,12 @@
1616
* --maxWorkers [num] - how many workers, default 1
1717
* --jestBinary [path] - path to jest binary, defaults to local node modules
1818
* --yarnBinary [path] - path to yarn binary, defaults to yarn
19-
* --flowBinary [path] - path to flow binary, defaults to running `yarn run flow-check`
2019
*/
2120

2221
const {execSync} = require('child_process');
2322
const argv /*:Readonly<{
2423
maxWorkers?: number,
2524
jestBinary?: string,
26-
flowBinary?: string,
2725
yarnBinary?: string,
2826
}> */ =
2927
// $FlowFixMe[incompatible-type]
@@ -34,7 +32,6 @@ const argv /*:Readonly<{
3432
const numberOfMaxWorkers = argv.maxWorkers ?? 1;
3533

3634
const JEST_BINARY = argv.jestBinary ?? './node_modules/.bin/jest';
37-
const FLOW_BINARY = argv.flowBinary;
3835
const YARN_BINARY = argv.yarnBinary ?? 'yarn';
3936

4037
class ExecError extends Error {
@@ -61,11 +58,7 @@ try {
6158
execAndLog(`${YARN_BINARY} run build-types --validate`);
6259

6360
describe('Test: Flow check');
64-
const flowCommand =
65-
FLOW_BINARY == null
66-
? `${YARN_BINARY} run flow-check`
67-
: `${FLOW_BINARY} full-check`;
68-
execAndLog(flowCommand);
61+
execAndLog(`${YARN_BINARY} run flow-check`);
6962

7063
/*
7164
* Build @react-native/codegen and @react-native/codegen-typescript-test

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4810,10 +4810,10 @@ flow-api-translator@0.36.1:
48104810
hermes-transform "0.36.1"
48114811
typescript "5.3.2"
48124812

4813-
flow-bin@^0.318.0:
4814-
version "0.318.0"
4815-
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.318.0.tgz#a9fca88958c361255c3939b7a0ab7db6ab4feaf3"
4816-
integrity sha512-Q4Z1lrjgBeGNwQEdlD3bJNtjU00bAwgM+HDKQF2kH0gB6ZmEx72kOfYZyL2iok/MIiHqfxU9RhugUqH3ue7YjA==
4813+
flow-bin@^0.319.0:
4814+
version "0.319.0"
4815+
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.319.0.tgz#7ff6c2c531b4d8bd13ec8fecf69e8964f14b6499"
4816+
integrity sha512-cl14ZCtILLYmrSW60hoSNfChiA5Og0xacKhqTiSDfSnhJd0P7jLip8IziGE7bOnOi5JIGo+tOlniibkXmckb/w==
48174817

48184818
flow-enums-runtime@^0.0.6:
48194819
version "0.0.6"

0 commit comments

Comments
 (0)