diff --git a/.gitignore b/.gitignore index 6e98a2d..2945932 100644 --- a/.gitignore +++ b/.gitignore @@ -1,45 +1,106 @@ -# See https://help.github.com/articles/ignoring-files for more about ignoring files. -# -# If you find yourself ignoring temporary files generated by your text editor -# or operating system, you probably want to add a global ignore instead: -# git config --global core.excludesfile '~/.gitignore_global' +# General Information +# ------------------- +# Documentation: https://help.github.com/articles/ignoring-files +# For personal ignore preferences, use a global ignore: +# git config --global core.excludesfile '~/.gitignore_global' -# Ignore bundler config. -/.bundle +# System & IDEs Ignores +# --------------------- +*.DS_Store +.AppleDouble +.LSOverride +.localized +.directory +.Spotlight-V100 +.Trashes +.Thumbs.db +.ehthumbs.db +.Desktop.ini +$RECYCLE.BIN/ + +# IDE Specific +.idea/ +*.sublime* +.sublime-gulp.cache +.vscode/ +.vscode-test +# JetBrains +.idea/ +# VIM +*~ +.*.swp +.Session.vim +.Sessionx.vim +.netrwhist +/tags +# OSX +.DS_Store -# Ignore all environment files (except templates). +# Development Environment +# ----------------------- +/.bundle /.env* !/.env*.erb +!/.env.sample +/config/master.key +*.local -# Ignore all logfiles and tempfiles. -/log/* -/tmp/* -!/log/.keep -!/tmp/.keep - -# Ignore pidfiles, but keep the directory. -/tmp/pids/* -!/tmp/pids/ -!/tmp/pids/.keep - -# Ignore storage (uploaded files in development and any SQLite databases). +# Build & Dependency Folders +# -------------------------- +node_modules/ +/public/assets +/public/uploads +/public/vite* +/public/packs +/public/packs-test +/public/assets /storage/* !/storage/.keep /tmp/storage/* !/tmp/storage/ !/tmp/storage/.keep +# Ignore SQLite databases and backups +/db/*.sqlite3* +/db/backups -/public/assets - -# Ignore master key for decrypting credentials and more. -/config/master.key -node_modules/ +# Log, Temp Files & Uploads +# -------------------------- +/log/* +!/log/.keep +/tmp/* +!/tmp/.keep +/tmp/pids/* +!/tmp/pids/ +!/tmp/pids/.keep +/*.log +/coverage +/uploads/* +.byebug_history +# Cypress specific +cypress-tests/cypress/results +cypress-tests/debug.log +cypress-tests/.vscode +cypress-tests/cypress/artifacts/screenshots/ +cypress-tests/cypress/artifacts/videos/ +cypress-tests/cypress/screenshots/ +cypress-tests/cypress/videos/ -# Vite Ruby -/public/vite* -node_modules -# Vite uses dotenv and suggests to ignore local-only env files. See -# https://vitejs.dev/guide/env-and-mode.html#env-files -*.local +# Package Managers & Tools +# ------------------------ +/.yarn-integrity +/.yarnrc +yarn-1.22.5.cjs +yarn-1.22.5.js +yarn-debug.log* +yarn-error.log +.eslintcache +.dump.rdb +# Cypress node_modules and package-lock.json +cypress-tests/node_modules +cypress-tests/package-lock.json -!/.env.sample +# Misc & OS Specific Ignores +# --------------------------- +*.swp +*.byebug_history +*.rbc \ No newline at end of file