Build: use content hash for facebook-react-native build (#27577)

Similar to #26734, this switches the RN builds for Meta to a content
hash instead of git commit number to make the builds reproducible and
avoid creating sync commits if the bundled content didn't change.

DiffTrain build for [51ffd3564f](https://github.com/facebook/react/commit/51ffd3564f97b58737df395d30628a27fa71a39d)
This commit is contained in:
kassens
2023-10-25 13:55:20 +00:00
parent ab33152132
commit 76600e478a
14 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -1 +1 @@
b8e47d988eb3ba547c102c0b12c351250ed955e0
51ffd3564f97b58737df395d30628a27fa71a39d
+1 -1
View File
@@ -27,7 +27,7 @@ if (
}
"use strict";
var ReactVersion = "18.3.0-www-modern-8a5fff1f";
var ReactVersion = "18.3.0-www-modern-be9acb5b";
// ATTENTION
// When adding new symbols to this file,
+1 -1
View File
@@ -579,4 +579,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-www-modern-a27fae8a";
exports.version = "18.3.0-www-modern-4e6d4d90";
@@ -590,7 +590,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactCurrentDispatcher.current.useTransition();
};
exports.version = "18.3.0-www-modern-53a85d2a";
exports.version = "18.3.0-www-modern-035cd9a2";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
+1 -1
View File
@@ -69,7 +69,7 @@ function _assertThisInitialized(self) {
return self;
}
var ReactVersion = "18.3.0-www-modern-f0ea8864";
var ReactVersion = "18.3.0-www-modern-df61861e";
var LegacyRoot = 0;
var ConcurrentRoot = 1;
@@ -9850,7 +9850,7 @@ var slice = Array.prototype.slice,
return null;
},
bundleType: 0,
version: "18.3.0-www-modern-4b9b2c3c",
version: "18.3.0-www-modern-797e6021",
rendererPackageName: "react-art"
};
var internals$jscomp$inline_1302 = {
@@ -9881,7 +9881,7 @@ var internals$jscomp$inline_1302 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-4b9b2c3c"
reconcilerVersion: "18.3.0-www-modern-797e6021"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1303 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
+1 -1
View File
@@ -34004,7 +34004,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-modern-1e4930fb";
var ReactVersion = "18.3.0-www-modern-b2fbd9ab";
function createPortal$1(
children,
@@ -16008,7 +16008,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1755 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-c02ee778",
version: "18.3.0-www-modern-6e7deda2",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2106 = {
@@ -16039,7 +16039,7 @@ var internals$jscomp$inline_2106 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-c02ee778"
reconcilerVersion: "18.3.0-www-modern-6e7deda2"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2107 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16304,4 +16304,4 @@ exports.useFormState = function () {
exports.useFormStatus = function () {
throw Error(formatProdErrorMessage(248));
};
exports.version = "18.3.0-www-modern-c02ee778";
exports.version = "18.3.0-www-modern-6e7deda2";
@@ -16778,7 +16778,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1840 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-ca7f5004",
version: "18.3.0-www-modern-7d9d57c7",
rendererPackageName: "react-dom"
};
(function (internals) {
@@ -16823,7 +16823,7 @@ var devToolsConfig$jscomp$inline_1840 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-ca7f5004"
reconcilerVersion: "18.3.0-www-modern-7d9d57c7"
});
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
exports.createPortal = function (children, container) {
@@ -17075,7 +17075,7 @@ exports.useFormState = function () {
exports.useFormStatus = function () {
throw Error(formatProdErrorMessage(248));
};
exports.version = "18.3.0-www-modern-ca7f5004";
exports.version = "18.3.0-www-modern-7d9d57c7";
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (
@@ -19,7 +19,7 @@ if (__DEV__) {
var React = require("react");
var ReactDOM = require("react-dom");
var ReactVersion = "18.3.0-www-modern-f0ea8864";
var ReactVersion = "18.3.0-www-modern-df61861e";
// This refers to a WWW module.
var warningWWW = require("warning");
@@ -4989,4 +4989,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "18.3.0-www-modern-4b9b2c3c";
exports.version = "18.3.0-www-modern-797e6021";
@@ -34621,7 +34621,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-modern-a27fae8a";
var ReactVersion = "18.3.0-www-modern-4e6d4d90";
function createPortal$1(
children,
@@ -16388,7 +16388,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1784 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "18.3.0-www-modern-53a85d2a",
version: "18.3.0-www-modern-035cd9a2",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2140 = {
@@ -16419,7 +16419,7 @@ var internals$jscomp$inline_2140 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "18.3.0-www-modern-53a85d2a"
reconcilerVersion: "18.3.0-www-modern-035cd9a2"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2141 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16835,4 +16835,4 @@ exports.useFormState = function () {
exports.useFormStatus = function () {
throw Error(formatProdErrorMessage(248));
};
exports.version = "18.3.0-www-modern-53a85d2a";
exports.version = "18.3.0-www-modern-035cd9a2";
@@ -25267,7 +25267,7 @@ function createFiberRoot(
return root;
}
var ReactVersion = "18.3.0-www-modern-c5313fe8";
var ReactVersion = "18.3.0-www-modern-69dcdcef";
// Might add PROFILE later.