mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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:
1 parent
ef38ba4050
commit
9ab5dd857b
4 files changed
+11
-15
No files matched your search
+4
-1
@@ -67,6 +67,9 @@ react.runtime=automatic
|
||||
|
||||
experimental.deprecated_utilities.excludes=<PROJECT_ROOT>/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js
|
||||
experimental.deprecated_utilities.excludes=<PROJECT_ROOT>/packages/react-native/Libraries/Renderer/shims/ReactNativeViewConfigRegistry.js
|
||||
experimental.deprecated_colon_extends.excludes=<PROJECT_ROOT>/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js
|
||||
experimental.deprecated_variance_sigils.excludes=<PROJECT_ROOT>/packages/react-native/Libraries/Renderer/shims/ReactNativeTypes.js
|
||||
|
||||
ban_spread_key_props=true
|
||||
|
||||
[lints]
|
||||
@@ -90,4 +93,4 @@ untyped-import
|
||||
untyped-type-import
|
||||
|
||||
[version]
|
||||
^0.318.0
|
||||
^0.319.0
|
||||
+2
-2
@@ -13,7 +13,7 @@
|
||||
"clean": "node ./scripts/build/clean.js",
|
||||
"cxx-api-build": "python -m scripts.cxx-api.parser",
|
||||
"cxx-api-validate": "python -m scripts.cxx-api.parser --validate",
|
||||
"flow-check": "flow check",
|
||||
"flow-check": "flow full-check",
|
||||
"flow": "flow",
|
||||
"format-check": "prettier --list-different \"./**/*.{js,md,yml,ts,tsx}\"",
|
||||
"format": "npm run prettier && npm run clang-format",
|
||||
@@ -86,7 +86,7 @@
|
||||
"eslint-plugin-relay": "^1.8.3",
|
||||
"fb-dotslash": "0.5.8",
|
||||
"flow-api-translator": "0.36.1",
|
||||
"flow-bin": "^0.318.0",
|
||||
"flow-bin": "^0.319.0",
|
||||
"hermes-eslint": "0.36.1",
|
||||
"hermes-transform": "0.36.1",
|
||||
"ini": "^5.0.0",
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4810,10 +4810,10 @@ flow-api-translator@0.36.1:
|
||||
hermes-transform "0.36.1"
|
||||
typescript "5.3.2"
|
||||
|
||||
flow-bin@^0.318.0:
|
||||
version "0.318.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.318.0.tgz#a9fca88958c361255c3939b7a0ab7db6ab4feaf3"
|
||||
integrity sha512-Q4Z1lrjgBeGNwQEdlD3bJNtjU00bAwgM+HDKQF2kH0gB6ZmEx72kOfYZyL2iok/MIiHqfxU9RhugUqH3ue7YjA==
|
||||
flow-bin@^0.319.0:
|
||||
version "0.319.0"
|
||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.319.0.tgz#7ff6c2c531b4d8bd13ec8fecf69e8964f14b6499"
|
||||
integrity sha512-cl14ZCtILLYmrSW60hoSNfChiA5Og0xacKhqTiSDfSnhJd0P7jLip8IziGE7bOnOi5JIGo+tOlniibkXmckb/w==
|
||||
|
||||
flow-enums-runtime@^0.0.6:
|
||||
version "0.0.6"
|
||||
|
||||
Reference in new issue
Block a user