framework14 個の有効ルール2026-09-30 検証済み
Expo .gitignore テンプレート
Expo temporary files, local build archives, and web output. 公式GitHubリポジトリの最新パターンと決定論的に統合され、パッケージディレクトリ、一時ビルド成果物、ローカル環境ファイルをクリーンに保ちます。
スタック統合ジェネレーター
フルジェネレーターで開く/
Search for templates
クイック追加:
選択中1
Expo
選択されたテンプレート (1)
Expo
framework
Expo temporary files, local build archives, and web output
#javascript-expo#expo#react-native-expo
.gitignore
14 ルール•1 テンプレート
### Expo #### .gitignore template for Expo# website: https://expo.dev/# docs: https://docs.expo.dev/workflow/expo-cli/## Rationale:# node_modules/ is always ignored# .expo/, .expo-shared/ are Expo’s local state and project-settings cache (see docs)# Metro caches/logs are *.expo, *.tunnel, *.cache, *.tmp, *.log # Node modulesnode_modules/ # Expo local state and caches# runtime state (Metro bundler, dev-client data, tunnels).expo/# shared project settings (app.json edits, etc.).expo-shared/ # Metro bundler caches/logs# generic Expo temp files*.expo# Expo DevTools tunnels*.tunnel# Metro cache folder*.cache# temp files created during bundling*.tmp# build or Metro logs*.log # Environment variables.env.env.local.env.*.local # Package manager logsnpm-debug.log*yarn-debug.log*yarn-error.log* 41 行•UTF-8•LF
決定論的パイプライン
生ソース: Expo .gitignore
クローラブルな公式アップストリーム原典javascript-expo.gitignore•40 lines•UTF-8
# .gitignore template for Expo# website: https://expo.dev/# docs: https://docs.expo.dev/workflow/expo-cli/## Rationale:# node_modules/ is always ignored# .expo/, .expo-shared/ are Expo’s local state and project-settings cache (see docs)# Metro caches/logs are *.expo, *.tunnel, *.cache, *.tmp, *.log # Node modulesnode_modules/ # Expo local state and caches# runtime state (Metro bundler, dev-client data, tunnels).expo/# shared project settings (app.json edits, etc.).expo-shared/ # Metro bundler caches/logs# generic Expo temp files*.expo# Expo DevTools tunnels*.tunnel# Metro cache folder*.cache# temp files created during bundling*.tmp# build or Metro logs*.log # Environment variables.env.env.local.env.*.local # Package manager logsnpm-debug.log*yarn-debug.log*yarn-error.log* 主要除外パターンの解説
依存関係・パッケージフォルダ
パッケージマネージャーによって再インストール可能な外部ライブラリや vendor フォルダを除外します。
node_modules/
環境変数・シークレット情報
API キー、パスワード、接続文字列を含むローカル環境変数ファイル(.env)の流出を防止します。
.env.env.local.env.*.local
キャッシュ・一時ファイル
コンパイラキャッシュ、テストカバレッジデータ、一時作業ファイルを除外してリポジトリを軽量に保ちます。
*.cache*.tmp*.lognpm-debug.log*yarn-debug.log*yarn-error.log*
ソース元とライセンス検証
ライセンス:: CC0-1.0
このファイルをプロジェクトのルートディレクトリに .gitignore というファイル名で配置してください。新規および未追跡ファイルに即座に反映されます。