apps/rebreak-native/.gitignore had bare `ios/` + `android/` patterns meant for the
Expo-prebuild output dirs — but with no leading slash they also matched
modules/rebreak-protection/{android,ios}, so the entire custom expo native module
(RebreakProtectionModule.kt, RebreakAccessibilityService.kt, RebreakVpnService.kt,
the DNS filter, the iOS NEFilter extension, podspec, ...) was never tracked. A
fresh clone / CI / `git clean` would lose it.
Anchor the prebuild patterns (`/ios/`, `/android/`), keep ignoring the module's
build artifacts (build/, .cxx/, .gradle/, Pods/), and commit the source.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
46 lines
722 B
Plaintext
46 lines
722 B
Plaintext
# dependencies
|
|
node_modules/
|
|
|
|
# Expo
|
|
.expo/
|
|
dist/
|
|
web-build/
|
|
expo-env.d.ts
|
|
|
|
# Native (Expo-prebuild output — regenerated by `expo prebuild`, not tracked).
|
|
# Anchored so it does NOT swallow the custom native module's source under modules/.
|
|
/ios/
|
|
/android/
|
|
# Custom native module (modules/rebreak-protection/{android,ios}) source IS tracked,
|
|
# but its build artifacts are not.
|
|
modules/*/android/build/
|
|
modules/*/android/.cxx/
|
|
modules/*/android/.gradle/
|
|
modules/*/ios/build/
|
|
modules/*/ios/Pods/
|
|
*.jks
|
|
*.p12
|
|
*.key
|
|
*.mobileprovision
|
|
|
|
# Metro
|
|
.metro-health-check*
|
|
|
|
# debug
|
|
npm-debug.*
|
|
yarn-debug.*
|
|
yarn-error.*
|
|
|
|
# macOS
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# local env files
|
|
.env*.local
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
|
|
# Storybook
|
|
storybook-static/
|