From 5a600e60d93a47173d457ffcd47a37b9064bcc80 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Wed, 13 Dec 2023 09:06:58 -0800 Subject: [PATCH] Ignore RCTThirdPartyFabricComponentsProvider for npm publish (#41868) Summary: When publishing my RN fork I hit this issue where a RCTThirdPartyFabricComponentsProvider module would end up in the npm tarball which causes build issues. This file is generated by codegen and should never be included. ## Changelog: [INTERNAL] [FIXED] - Ignore RCTThirdPartyFabricComponentsProvider for npm publish Pull Request resolved: https://github.com/facebook/react-native/pull/41868 Test Plan: Tested that the file is no longer included when publishing my RN fork Reviewed By: christophpurrer Differential Revision: D52032223 Pulled By: dmytrorykun fbshipit-source-id: a846813176d60119d97261131fd9d9a6aa919e62 --- packages/react-native/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-native/package.json b/packages/react-native/package.json index da524ebe5ea..2e80fbea17d 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -47,6 +47,7 @@ "react-native.config.js", "React.podspec", "React", + "!React/Fabric/RCTThirdPartyFabricComponentsProvider.*", "ReactAndroid", "ReactApple", "ReactCommon",