Dieses Projekt folgt den Conventional Commits Standards für alle Commit-Nachrichten.
-
Dependencies installieren:
npm install
-
Git Hooks aktivieren:
npm run prepare
-
Git Commit Template setzen:
git config commit.template .gitmessage
<type>[optional scope]: <description>
[optional body]
[optional footer(s)]
| Type | Beschreibung | SemVer |
|---|---|---|
feat |
✨ Neue Funktion | MINOR |
fix |
🐛 Bug-Fix | PATCH |
docs |
📚 Dokumentationsänderungen | - |
style |
💎 Code-Stil (Formatierung, Leerzeichen) | - |
refactor |
📦 Code-Refactoring | - |
test |
🚨 Tests hinzufügen/ändern | - |
chore |
♻️ Maintenance (Build, Dependencies) | - |
ci |
⚙️ CI/CD Konfiguration | - |
perf |
🚀 Performance-Verbesserung | PATCH |
build |
🛠️ Build-System Änderungen | - |
revert |
🗑️ Commit rückgängig machen | - |
auth- Authentication/Authorizationapi- API Änderungenui- User Interfacecomponents- React/Astro Komponentenpages- Seiten-Komponentenlayout- Layout-Komponentenconfig- Konfigurationsdateiendeps- Dependencieschat- Chat Widget/Funktionalitätfirebase- Firebase Integrationstyles- CSS/Stylingbuild- Build-Konfigurationci- CI/CD Konfigurationdocs- Dokumentationtest- Test-Dateien
npm run commitDies startet einen interaktiven Wizard, der dich durch die Commit-Erstellung führt.
git commitDas Git-Template wird automatisch geladen mit Hilfen und Beispielen.
git commit -m "feat(auth): add OAuth2 login support"feat(auth): add OAuth2 login support
Implement OAuth2 authentication flow with Google and GitHub providers.
Includes login, logout, and token refresh functionality.
Closes #123
fix(chat): resolve memory leak in profile component
The ProfileEditor component was not properly cleaning up event listeners
when unmounted, causing memory leaks during navigation.
feat!: remove deprecated user API
BREAKING CHANGE: The old user API endpoints (/api/user/*) have been
removed. Use the new endpoints under /api/users/* instead.
Migration guide: https://docs.example.com/migration
docs: update API documentation for new endpoints
Add documentation for OAuth2 endpoints and update authentication
examples in the getting started guide.
- Conventional Commits: Auto-Completion für Commit Types
- GitLens: Git History und Blame Annotations
- Git Graph: Visualisierung der Git History
Das Projekt nutzt Conventional Commits für:
- Semantic Versioning: Automatische Versionsnummern basierend auf Commit Types
- Changelog: Automatische Generierung von Release Notes
- Release Process: Automatische Releases bei Breaking Changes oder Features
- Documentation: Automatische Aktualisierung der API-Dokumentation
- Commit oft: Kleine, atomare Commits sind besser als große
- Ein Thema pro Commit: Jeder Commit sollte nur eine Änderung enthalten
- Beschreibende Messages: Erkläre das "Was" und "Warum", nicht das "Wie"
- Breaking Changes markieren: Nutze
!oderBREAKING CHANGE:Footer - Issues referenzieren: Nutze
Fixes #123oderCloses #456 - Imperativ verwenden: "add" statt "added", "fix" statt "fixed"