docs: add versioning guidelines to CLAUDE.md
All checks were successful
CI / update (push) Successful in 4m46s

This commit is contained in:
2026-04-06 00:21:11 +02:00
parent c86d6f487a
commit 082202b71c

View File

@@ -76,3 +76,16 @@ Re-create the chart on theme change via `MutationObserver` on `data-theme` + `ma
### Toggle component ### Toggle component
Use `Toggle.svelte` (iOS-style) instead of raw `<input type="checkbox">` for user-facing boolean switches. Use `Toggle.svelte` (iOS-style) instead of raw `<input type="checkbox">` for user-facing boolean switches.
## Versioning
When committing, bump version numbers as appropriate using semver:
- **patch** (x.y.Z): bug fixes, minor styling tweaks, small corrections
- **minor** (x.Y.0): new features, significant UI changes, new pages/routes
- **major** (X.0.0): breaking changes, major redesigns, data model changes
Version files to update (keep in sync):
- `package.json` — site version
- `src-tauri/tauri.conf.json` — Tauri/Android app version
- `src-tauri/Cargo.toml` — Rust crate version