File tree Expand file tree Collapse file tree
packages/react-native/ReactCommon
react/renderer/components/rncore Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -139,7 +139,6 @@ vendor/
139139/packages /react-native /React /FBReactNativeSpec /
140140/packages /react-native-codegen /lib
141141/packages /react-native-codegen /tmp /
142- /packages /react-native /ReactCommon /react /renderer /components /rncore /
143142/packages /rn-tester /NativeModuleExample /ScreenshotManagerSpec *
144143/** /RCTThirdPartyFabricComponentsProvider. *
145144
Original file line number Diff line number Diff line change @@ -129,6 +129,12 @@ Pod::Spec.new do |s|
129129 sss . exclude_files = "react/renderer/components/unimplementedview/tests"
130130 sss . header_dir = "react/renderer/components/unimplementedview"
131131 end
132+
133+ # Legacy header paths for backwards compat
134+ ss . subspec "rncore" do |sss |
135+ sss . source_files = "react/renderer/components/rncore/**/*.h"
136+ sss . header_dir = "react/renderer/components/rncore"
137+ end
132138 end
133139
134140 s . subspec "textlayoutmanager" do |ss |
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3+ *
4+ * This source code is licensed under the MIT license found in the
5+ * LICENSE file in the root directory of this source tree.
6+ */
7+
8+ #include <react/renderer/components/FBReactNativeSpec/States.h>
9+
10+ #warning \
11+ "[DEPRECATION] `react/renderer/components/rncore/States.h` is deprecated and will be \
12+ removed in the future. If this warning appears due to a library, please open an issue \
13+ in that library, and ask for an update. Please, replace the `rncore` imports with \
14+ `FBReactNativeSpec` or remove them entirely.
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3+ *
4+ * This source code is licensed under the MIT license found in the
5+ * LICENSE file in the root directory of this source tree.
6+ */
7+
8+ #include <react/renderer/components/FBReactNativeSpec/EventEmitters.h>
9+
10+ #warning \
11+ "[DEPRECATION] `react/renderer/components/rncore/EventEmitters.h` is deprecated \
12+ and will be removed in the future. If this warning appears due to a library, \
13+ please open an issue in that library, and ask for an update. Please, replace \
14+ the `rncore` imports with `FBReactNativeSpec` or remove them entirely.
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3+ *
4+ * This source code is licensed under the MIT license found in the
5+ * LICENSE file in the root directory of this source tree.
6+ */
7+
8+ #include <react/renderer/components/FBReactNativeSpec/Props.h>
9+
10+ #warning \
11+ "[DEPRECATION] `react/renderer/components/rncore/Props.h` is deprecated and will \
12+ be removed in the future. If this warning appears due to a library, please open \
13+ an issue in that library, and ask for an update. Please, replace the `rncore` \
14+ imports with `FBReactNativeSpec` or remove them entirely.
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3+ *
4+ * This source code is licensed under the MIT license found in the
5+ * LICENSE file in the root directory of this source tree.
6+ */
7+
8+ #include <react/renderer/components/FBReactNativeSpec/ShadowNodes.h>
9+
10+ #warning \
11+ "[DEPRECATION] `react/renderer/components/rncore/ShadowNodes.h` is deprecated and \
12+ will be removed in the future. If this warning appears due to a library, please \
13+ open an issue in that library, and ask for an update. Please, replace the `rncore` \
14+ imports with `FBReactNativeSpec` or remove them entirely.
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3+ *
4+ * This source code is licensed under the MIT license found in the
5+ * LICENSE file in the root directory of this source tree.
6+ */
7+
8+ #include <react/renderer/components/FBReactNativeSpec/States.h>
9+
10+ #warning \
11+ "[DEPRECATION] `react/renderer/components/rncore/States.h` is deprecated and will be \
12+ removed in the future. If this warning appears due to a library, please open an \
13+ issue in that library, and ask for an update. Please, replace the `rncore` imports \
14+ with `FBReactNativeSpec` or remove them entirely.
You can’t perform that action at this time.
0 commit comments