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