Deploy 0.319.0 to xplat (#57256)

Summary:
Pull Request resolved: https://github.com/react/react-native/pull/57256

[changelog](https://github.com/facebook/flow/blob/main/Changelog.md)
Changelog: [Internal]

Reviewed By: gkz

Differential Revision: D108885686

fbshipit-source-id: b31fc3f2987ddb08cbe52daa5e8eef437541c8df
This commit is contained in:
Sam Zhou authored and meta-codesync[bot] committed 2026-06-17 11:30:47 -07:00
1 parent ef38ba4050
commit 9ab5dd857b
4 files changed
+11 -15

No files matched your search

+1 -8
View File
@@ -16,14 +16,12 @@
* --maxWorkers [num] - how many workers, default 1
* --jestBinary [path] - path to jest binary, defaults to local node modules
* --yarnBinary [path] - path to yarn binary, defaults to yarn
* --flowBinary [path] - path to flow binary, defaults to running `yarn run flow-check`
*/
const {execSync} = require('child_process');
const argv /*:Readonly<{
maxWorkers?: number,
jestBinary?: string,
flowBinary?: string,
yarnBinary?: string,
}> */ =
// $FlowFixMe[incompatible-type]
@@ -34,7 +32,6 @@ const argv /*:Readonly<{
const numberOfMaxWorkers = argv.maxWorkers ?? 1;
const JEST_BINARY = argv.jestBinary ?? './node_modules/.bin/jest';
const FLOW_BINARY = argv.flowBinary;
const YARN_BINARY = argv.yarnBinary ?? 'yarn';
class ExecError extends Error {
@@ -61,11 +58,7 @@ try {
execAndLog(`${YARN_BINARY} run build-types --validate`);
describe('Test: Flow check');
const flowCommand =
FLOW_BINARY == null
? `${YARN_BINARY} run flow-check`
: `${FLOW_BINARY} full-check`;
execAndLog(flowCommand);
execAndLog(`${YARN_BINARY} run flow-check`);
/*
* Build @react-native/codegen and @react-native/codegen-typescript-test