chore: ignore JS/JSX files and add clean script to frontend

This commit is contained in:
2026-06-03 13:45:43 +02:00
parent 96fb3cb988
commit 837c3b84cb
2 changed files with 6 additions and 1 deletions
+4
View File
@@ -1,6 +1,10 @@
# Created by https://www.toptal.com/developers/gitignore/api/node,python # Created by https://www.toptal.com/developers/gitignore/api/node,python
# Edit at https://www.toptal.com/developers/gitignore?templates=node,python # Edit at https://www.toptal.com/developers/gitignore?templates=node,python
# Frontend generated files
*.js
*.jsx
### Node ### ### Node ###
# Logs # Logs
logs logs
+2 -1
View File
@@ -9,7 +9,8 @@
"preview": "vite preview", "preview": "vite preview",
"test": "DEBUG_PRINT_LIMIT=0 vitest run --reporter=dot --no-color", "test": "DEBUG_PRINT_LIMIT=0 vitest run --reporter=dot --no-color",
"test:all": "vitest run && npx playwright test", "test:all": "vitest run && npx playwright test",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0" "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"clean": "find src -name '*.js' -o -name '*.jsx' -delete"
}, },
"dependencies": { "dependencies": {
"@tanstack/react-query": "^5.100.5", "@tanstack/react-query": "^5.100.5",