From eb10dee3d0a087060f80242bc18ba747b8721c83 Mon Sep 17 00:00:00 2001 From: Daniel Cavalcante Date: Fri, 28 Aug 2026 23:03:46 -0300 Subject: [PATCH] fix(create-react-native-library): ignore test app artifacts --- .../templates/common/$.gitignore | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/create-react-native-library/templates/common/$.gitignore b/packages/create-react-native-library/templates/common/$.gitignore index 67f32126d..2756b26ed 100644 --- a/packages/create-react-native-library/templates/common/$.gitignore +++ b/packages/create-react-native-library/templates/common/$.gitignore @@ -27,7 +27,10 @@ DerivedData *.hmap *.ipa *.xcuserstate -project.xcworkspace +# Generated by CocoaPods for the test app. +example/ios/*.xcworkspace/ +# Generated by react-native-test-app and contains the local Node path. +example/ios/.xcode.env **/.xcode.env.local # Android/IJ @@ -46,6 +49,10 @@ android.iml example/ios/Pods # Ruby +# Bundler's configuration is generated by react-native-test-app and must remain +# in the example project, but its installed gems are machine-local. +example/.bundle/* +!example/.bundle/config example/vendor/ # node.js