# Dependencies
node_modules/

# Build outputs
lib/
dist/

# Nitrogen/Nitro generated files (auto-generated bridge code)
nitrogen/generated/

# iOS
ios/build/
**/ios/Binaries/
**/ios/xcframeworks/
*.xcframework.zip

# MLX release staging. npm's explicit package `files` list still includes
# these generated resources in the packed artifact after validation.
packages/mlx/ios/Resources/
packages/mlx/ios/ThirdPartyNotices/

# NOTE: iOS xcframeworks are now bundled in npm package - DO NOT gitignore them
# The following are bundled for npm publish:
# - packages/core/ios/Frameworks/RACommons.xcframework
# - packages/llamacpp/ios/Frameworks/RABackendLLAMACPP.xcframework
# - packages/onnx/ios/Frameworks/RABackendONNX.xcframework
# - packages/onnx/ios/Frameworks/onnxruntime.xcframework

# Xcode environment (machine-specific Node.js paths)
.xcode.env
.xcode.env.local

# Android
android/build/
android/.gradle/
android/.cxx/
android/libs/
# NOTE: jniLibs are now bundled in npm package - DO NOT gitignore them
# **/android/src/main/jniLibs/   # REMOVED - libs are bundled for npm publish
**/android/src/main/include/
**/android/include/
*.aar

# TypeScript
*.tsbuildinfo

# Metro
.metro-health-check*

# Testing
coverage/

# macOS
.DS_Store

# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Environment
.env
.env.local
.env.*

# IDE
.idea/
.vscode/
*.swp
*.swo

# Temporary files
*.tmp
tmp/

# Lock files (use yarn.lock or package-lock.json, not both)
# Uncomment the one you don't use:
# yarn.lock
# package-lock.json

# Yarn PnP
.pnp.cjs
.pnp.loader.mjs

# Yarn Berry — follow standard conventions:
# Commit: plugins, releases, patches, sdks, versions (needed for reproducible CI builds)
# Ignore: cache, unplugged, build-state, install-state
.yarn/cache/
.yarn/unplugged/
.yarn/build-state.yml
.yarn/install-state.gz
.yarn/berry/
# !.yarn/plugins/    — explicitly NOT ignored, needed by CI
# !.yarn/releases/   — explicitly NOT ignored, for reproducible builds
# !.yarn/patches/
# !.yarn/sdks/
# !.yarn/versions/

# Package artifacts
package.tgz

# Internal release guide (not for public repo)
RELEASE_REACT_NATIVE.md
