Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Unify `.gitignore`

Dhruv Bhanushali36d9185a89c5
diff --git a/.gitignore b/.gitignore
index 0ff326206..6b7ecaff1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,49 +1,48 @@
+# macOS
+._*
.DS_Store
+
+# Editor/IDE configs
+.idea/
+.vscode/
+.swp
+
+# Environment
+.env
+
+# Python environments
+env/
+venv/
+pip-log.txt
+
+# Python
+__pycache__/
+*.py[cod]
+.python-version
+
+# Node.js dependencies
node_modules/
-/dist/
npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-frontend/test/unit/coverage/
-frontend/test/e2e/reports/
-frontend/test/e2e/screenshots
-frontend/test/e2e/videos
-frontend/test/selenium-webdriver/geckodriver.log
-frontend/test/selenium-webdriver/screenshots/*
-selenium-debug.log
.pnpm-debug.log
-.env
-.idea
-.vscode
-*.suo
-*.ntvs*
-*.njsproj
-*.sln
-vercel.json
-.eslintcache
-.nuxt
-.nuxt-storybook
-storybook-static
-.vercel
-.zshrc
-.tcv-export
-# pre-commit executable
+# Local certificates
+*.pem
+*.crt
+*.key
+
+# pre-commit
pre-commit.pyz
-# Playwright creates these two folders
-test-results
-test/Default
+# ESLint
+.eslintcache
-# Ignore local certificates
-*.pem
+# Vercel
+vercel.json
+.vercel
-# Ignore generated translation files
-*.pot
+# Grafana
+grafana.db
-# Ignore downloaded translation files
-frontend/src/locales/openverse.zip
-frontend/src/locales/*.json
-frontend/src/locales/scripts/valid-locales.json
-frontend/src/locales/scripts/untranslated-locales.json
-frontend/src/locales/scripts/wp-locales.json
+# Ingestion server
+# TODO: This shouldn't be in root
+ingestion_server.log
diff --git a/frontend/.gitignore b/frontend/.gitignore
new file mode 100644
index 000000000..b92ce7297
--- /dev/null
+++ b/frontend/.gitignore
@@ -0,0 +1,26 @@
+# Nuxt
+.nuxt
+
+# Storybook
+.nuxt-storybook
+storybook-static
+
+# Tailwind Config Viewer
+.tcv-export
+
+# Playwright creates these two folders
+test-results
+test/Default
+
+# Coverage
+test/unit/coverage/
+
+# Generated translation files
+*.pot
+
+# Downloaded translation files
+src/locales/openverse.zip
+src/locales/*.json
+src/locales/scripts/valid-locales.json
+src/locales/scripts/untranslated-locales.json
+src/locales/scripts/wp-locales.json