mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56483 ## Summary PR #36285 deleted the Paper (legacy) renderer, including the shim file `scripts/rollup/shims/react-native/ReactNative.js`. However, the `runtime_commit_artifacts` workflow still tries to `rm` this file after moving build artifacts into `compiled-rn/`. Since the file no longer exists in the build output, `rm` (without `-f`) fails and kills the entire step. This has caused **every run of the Commit Artifacts workflow to fail since #36285 landed on April 16**, blocking both `builds/facebook-www` and `builds/facebook-fbsource` branches from receiving new build artifacts. This in turn blocks DiffTrain from syncing React changes into Meta's internal monorepo. DiffTrain build for [bf45a68dd35ed08860b6a70fed641dfe6d7d290d](https://github.com/facebook/react/commit/bf45a68dd35ed08860b6a70fed641dfe6d7d290d) Reviewed By: zeyap Differential Revision: D101329586 fbshipit-source-id: d38877d5cc964c46257cb73678f80d0a7c729d90
This commit is contained in:
1 parent
f0c62dabe9
commit
2979663884
1 file changed
+1
-31
@@ -7,7 +7,7 @@
|
||||
* @noformat
|
||||
* @nolint
|
||||
* @flow strict
|
||||
* @generated SignedSource<<c0e57723772ea5f1aa8c3c897ac3c216>>
|
||||
* @generated SignedSource<<4ab83fd2606d6a4d374ef914f231d9c1>>
|
||||
*/
|
||||
|
||||
import type {
|
||||
@@ -138,36 +138,6 @@ export type RenderRootOptions = {
|
||||
onDefaultTransitionIndicator?: () => void | (() => void),
|
||||
};
|
||||
|
||||
/**
|
||||
* Flat ReactNative renderer bundles are too big for Flow to parse efficiently.
|
||||
* Provide minimal Flow typing for the high-level RN API and call it a day.
|
||||
*/
|
||||
export type ReactNativeType = {
|
||||
findHostInstance_DEPRECATED<TElementType: React.ElementType>(
|
||||
componentOrHandle: ?(React.ElementRef<TElementType> | number),
|
||||
): ?PublicInstance,
|
||||
findNodeHandle<TElementType: React.ElementType>(
|
||||
componentOrHandle: ?(React.ElementRef<TElementType> | number),
|
||||
): ?number,
|
||||
isChildPublicInstance(parent: PublicInstance, child: PublicInstance): boolean,
|
||||
dispatchCommand(
|
||||
handle: PublicInstance,
|
||||
command: string,
|
||||
args: Array<mixed>,
|
||||
): void,
|
||||
sendAccessibilityEvent(handle: PublicInstance, eventType: string): void,
|
||||
render(
|
||||
element: React.MixedElement,
|
||||
containerTag: number,
|
||||
callback: ?() => void,
|
||||
options: ?RenderRootOptions,
|
||||
): ?React.ElementRef<React.ElementType>,
|
||||
unmountComponentAtNode(containerTag: number): void,
|
||||
unmountComponentAtNodeAndRemoveContainer(containerTag: number): void,
|
||||
+unstable_batchedUpdates: <T>(fn: (T) => void, bookkeeping: T) => void,
|
||||
...
|
||||
};
|
||||
|
||||
export opaque type Node = mixed;
|
||||
export opaque type InternalInstanceHandle = mixed;
|
||||
|
||||
|
||||
Reference in new issue
Block a user