Contributing
Beiträge sind willkommen! Hier sind die wichtigsten Infos.
Commit-Konventionen
StoreStash nutzt Conventional Commits mit semantic-release:
| Prefix | Effekt | Beispiel |
|---|---|---|
fix: | Patch-Release | fix: stock create 500 error |
feat: | Patch-Release | feat: add bulk consume |
feat(minor): | Minor-Release | feat(minor): barcode scanner |
feat!: | Major-Release | feat!: breaking API change |
chore: | Kein Release | chore: update docs |
Übersetzungen
Besonders willkommen! So fügst du eine neue Sprache hinzu:
- Kopiere
frontend/src/lib/i18n/de.ts - Benenne die Datei um (z.B.
fr.tsfür Französisch) - Übersetze alle Strings
- Registriere die Sprache in
frontend/src/lib/i18n/index.ts - Pull Request erstellen
Code Style
- Python: PEP 8, Type Hints, async/await
- TypeScript: Strict Mode, kein
anyaußer bei API-Calls - Svelte: Composition-Style,
$:Reactive, Tailwind Utility-First
Pull Requests
- Fork erstellen
- Feature Branch:
git checkout -b feat/mein-feature - Conventional Commit Messages
- PR gegen
mainerstellen - CI muss grün sein