Skip to content

Commit 027b820

Browse files
committed
fix: add missing Package.swift targets
1 parent 0a1cb3b commit 027b820

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

packages/react-native/Package.swift

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,13 @@ let reactMutationObserverNativeModule = RNTarget(
352352
dependencies: [.reactNativeDependencies, .reactCxxReact, .reactFabric, .reactTurboModuleBridging, .reactTurboModuleCore, .yoga]
353353
)
354354

355+
/// React-resizeobservernativemodule.podspec
356+
let reactResizeObserverNativeModule = RNTarget(
357+
name: .reactResizeObserverNativeModule,
358+
path: "ReactCommon/react/nativemodule/resizeobserver",
359+
dependencies: [.reactNativeDependencies, .reactCxxReact, .reactFabric, .reactTurboModuleBridging, .reactTurboModuleCore, .reactGraphics, .reactGraphicsApple, .reactRuntimeScheduler, .yoga]
360+
)
361+
355362
/// React-viewtransitionnativemodule.podspec
356363
let reactViewTransitionNativeModule = RNTarget(
357364
name: .reactViewTransitionNativeModule,
@@ -476,7 +483,7 @@ let reactFabric = RNTarget(
476483
"scheduler/tests",
477484
],
478485
dependencies: [.reactNativeDependencies, .reactJsiExecutor, .rctTypesafety, .reactTurboModuleCore, .jsi, .logger, .reactDebug, .reactFeatureFlags, .reactUtils, .reactRuntimeScheduler, .reactCxxReact, .reactRendererDebug, .reactGraphics, .yoga, .reactJsInspectorTracing],
479-
sources: ["animated", "animationbackend", "animations", "attributedstring", "core", "componentregistry", "componentregistry/native", "components/root", "components/view", "components/view/platform/cxx", "components/scrollview", "components/scrollview/platform/cxx", "components/scrollview/platform/ios", "components/legacyviewmanagerinterop", "components/legacyviewmanagerinterop/platform/ios", "dom", "scheduler", "mounting", "observers/events", "observers/intersection", "observers/mutation", "telemetry", "consistency", "leakchecker", "uimanager", "uimanager/consistency", "viewtransition"]
486+
sources: ["animated", "animationbackend", "animations", "attributedstring", "core", "componentregistry", "componentregistry/native", "components/root", "components/view", "components/view/platform/cxx", "components/scrollview", "components/scrollview/platform/cxx", "components/scrollview/platform/ios", "components/legacyviewmanagerinterop", "components/legacyviewmanagerinterop/platform/ios", "dom", "scheduler", "mounting", "observers/events", "observers/intersection", "observers/mutation", "observers/resize", "telemetry", "consistency", "leakchecker", "uimanager", "uimanager/consistency", "viewtransition"]
480487
)
481488

482489
let reactFabricInputAccessory = RNTarget(
@@ -720,6 +727,7 @@ let targets = [
720727
reactWebPerformanceNativeModule,
721728
reactIntersectionObserverNativeModule,
722729
reactMutationObserverNativeModule,
730+
reactResizeObserverNativeModule,
723731
reactViewTransitionNativeModule,
724732
reactFeatureflagsNativemodule,
725733
reactNativeModuleDom,
@@ -912,6 +920,7 @@ extension String {
912920
static let reactWebPerformanceNativeModule = "React-webperformancenativemodule"
913921
static let reactIntersectionObserverNativeModule = "React-intersectionobservernativemodule"
914922
static let reactMutationObserverNativeModule = "React-mutationobservernativemodule"
923+
static let reactResizeObserverNativeModule = "React-resizeobservernativemodule"
915924
static let reactViewTransitionNativeModule = "React-viewtransitionnativemodule"
916925
static let reactFeatureflagsNativemodule = "React-featureflagsnativemodule"
917926
static let reactNativeModuleDom = "React-domnativemodule"

0 commit comments

Comments
 (0)