react/packages
Ricky 6b35ff766a
Move @generated from build to sync (#29799)
## Overview

Reverts https://github.com/facebook/react/pull/26616 and implements the
suggested way instead.

This change in #26616 broken the internal sync command, which now
results in duplicated `@generated` headers. It also makes it harder to
detect changes during the diff train sync. Instead, we will check for
changes, and if there are changes sign the files and commit them to the
sync branch.

## Strategy

The new sync strategy accounts for the generated headers during the
sync:
- **Revert Version**: Revert the version strings
- **Revert @generated**: Re-sign the files (will be the same hash as
before if unchanged)
- **Check**: Check if there are changes **if not, skip**
- **Re-apply Version**: Now add back the new version string
- **Re-sign @generated**: And re-generate the headers

Then commit to branch. This ensures that if there are no changes, we'll
skip.

---------

Co-authored-by: Timothy Yung <yungsters@gmail.com>
2024-06-10 10:16:40 -04:00
..
dom-event-testing-library Avoid meta programming to initialize functions in module scope (#26388) 2023-03-14 21:00:22 -04:00
eslint-plugin-react-hooks eslint-plugin-react-hooks: Add support for ESLint v9 (#28773) 2024-04-23 23:29:01 +02:00
internal-test-utils Dim console calls on additional Effect invocations due to StrictMode (#29007) 2024-05-22 11:39:54 +02:00
jest-react Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
react [Fiber] Track the Real Fiber for Key Warnings (#29791) 2024-06-07 13:38:44 -04:00
react-art Reconciler: Change commitUpdate signature to account for unused updatePayload parameter (#28909) 2024-04-25 19:14:06 +02:00
react-cache Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
react-client [Flight] Run recreated Errors within a fake native stack (#29717) 2024-06-07 11:54:14 -04:00
react-debug-tools fix[ReactDebugHooks/find-primitive-index]: remove some assumptions (#29652) 2024-05-30 16:11:56 +01:00
react-devtools chore[react-devtools]: ip => internal-ip (#29772) 2024-06-05 19:58:12 +01:00
react-devtools-core Default native inspections config false (#29784) 2024-06-06 17:48:44 +01:00
react-devtools-extensions Default native inspections config false (#29784) 2024-06-06 17:48:44 +01:00
react-devtools-fusebox Default native inspections config false (#29784) 2024-06-06 17:48:44 +01:00
react-devtools-inline Default native inspections config false (#29784) 2024-06-06 17:48:44 +01:00
react-devtools-shared [Fiber] Track the Real Fiber for Key Warnings (#29791) 2024-06-07 13:38:44 -04:00
react-devtools-shell fix[react-devtools/ci]: fix configurations for e2e testing (#29016) 2024-05-08 12:04:51 +01:00
react-devtools-timeline refactor[react-devtools]: rewrite context menus (#29049) 2024-05-20 15:12:21 +01:00
react-dom [Float][Fiber] Assume stylesheets in document are already loaded (#29811) 2024-06-07 16:53:24 -07:00
react-dom-bindings [Float][Fiber] Assume stylesheets in document are already loaded (#29811) 2024-06-07 16:53:24 -07:00
react-is Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
react-native-renderer Move @generated from build to sync (#29799) 2024-06-10 10:16:40 -04:00
react-noop-renderer [Flight] Schedule work in a microtask (#29491) 2024-06-06 10:19:57 -07:00
react-reconciler [Fiber] Track the Real Fiber for Key Warnings (#29791) 2024-06-07 13:38:44 -04:00
react-refresh Add xplat test variants (#29734) 2024-06-04 13:07:29 -04:00
react-server [Flight] Allow aborting during render (#29764) 2024-06-06 14:41:27 -07:00
react-server-dom-esm [Flight] Add findSourceMapURL option to get a URL to load Server source maps from (#29708) 2024-06-02 22:58:24 -04:00
react-server-dom-fb Remove ReactFlightFB bundles (#28864) 2024-04-18 16:41:04 -04:00
react-server-dom-turbopack [Flight][Fizz] schedule work async (#29551) 2024-06-06 10:07:24 -07:00
react-server-dom-webpack [Flight] Allow aborting during render (#29764) 2024-06-06 14:41:27 -07:00
react-suspense-test-utils (Land #28798) Move Current Owner (and Cache) to an Async Dispatcher (#28912) 2024-04-25 10:40:40 -07:00
react-test-renderer Reconciler: Change commitUpdate signature to account for unused updatePayload parameter (#28909) 2024-04-25 19:14:06 +02:00
scheduler Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
shared Minify DEV bundles with closure (#29809) 2024-06-08 11:15:57 -04:00
use-subscription Don't minify symbols in production builds (#28881) 2024-04-20 11:23:46 -04:00
use-sync-external-store Throw if React and React DOM versions don't match (#29236) 2024-05-28 14:06:30 -04:00