chore: update .gitignore for .NET 10 + React project

- Add comprehensive .NET/C# ignore patterns
- Add React/Vite/Node.js ignore patterns
- Remove obsolete Python-specific patterns
- Organize by technology stack
This commit is contained in:
Invoice Master
2026-02-04 23:24:12 +01:00
parent ad6ce08e3e
commit fa996683c3

151
.gitignore vendored
View File

@@ -1,26 +1,90 @@
# Python # .NET / C#
## Build outputs
bin/
obj/
out/
## Visual Studio
.vs/
*.suo
*.user
*.userosscache
*.sln.docstates
*.userprefs
## Visual Studio Code
.vscode/
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
## Rider / IntelliJ
.idea/
*.sln.iml
## .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
## ASP.NET Scaffolding
ScaffoldingReadMe.txt
## NuGet
*.nupkg
*.snupkg
.nuget/
packages/
## Test Results
TestResults/
*.trx
*.coverage
*.coveragexml
## BenchmarkDotNet
BenchmarkDotNet.Artifacts/
# Frontend (React/Vite)
## Dependencies
node_modules/
.pnp
.pnp.js
## Build outputs
dist/
dist-ssr/
build/
*.local
## Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
## TypeScript
*.tsbuildinfo
## Vite
.vite/
## ESLint
.eslintcache
## Stylelint
.stylelintcache
# Python (if any scripts)
__pycache__/ __pycache__/
*.py[cod] *.py[cod]
*$py.class *$py.class
*.so *.so
.Python .Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/ *.egg-info/
.installed.cfg .installed.cfg
*.egg *.egg
MANIFEST
# Virtual environments # Virtual environments
venv/ venv/
@@ -28,13 +92,12 @@ ENV/
env/ env/
.venv .venv
# IDEs # IDEs and Editors
.vscode/
.idea/
*.swp *.swp
*.swo *.swo
*~ *~
.DS_Store .DS_Store
Thumbs.db
# Environment variables # Environment variables
.env .env
@@ -51,17 +114,9 @@ env/
*.log *.log
logs/ logs/
# Testing # Coverage
.coverage coverage/
.pytest_cache/
htmlcov/ htmlcov/
.tox/
.nox/
# MyPy
.mypy_cache/
.dmypy.json
dmypy.json
# Terraform # Terraform
.terraform/ .terraform/
@@ -71,33 +126,6 @@ dmypy.json
!.tfvars.example !.tfvars.example
.terraform.lock.hcl .terraform.lock.hcl
# Node.js
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*
# Build outputs
dist/
dist-ssr/
build/
*.local
# TypeScript
*.tsbuildinfo
# Vite
.vite/
# Coverage
coverage/
# Temporary files
*.tmp
*.temp
.cache/
# Azure # Azure
azure_credentials.json azure_credentials.json
@@ -106,5 +134,16 @@ azure_credentials.json
*.key *.key
secrets/ secrets/
# OS # Temporary files
*.tmp
*.temp
.cache/
# OS files
.DS_Store
Thumbs.db Thumbs.db
desktop.ini
# Misc
*.bak
*.orig