fix: sync changelog to public/ and automate on build/dev (#37) #38

Merged
maximus merged 4 commits from fix/simpl-resultat-37-changelog into main 2026-03-11 21:26:07 +00:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 9afe23180f - Show all commits

View file

@ -141,7 +141,7 @@ La documentation technique est centralisée dans `docs/` :
- `CHANGELOG.fr.md` (français) — traduction
- Catégories : Added/Ajouté, Changed/Modifié, Fixed/Corrigé, Removed/Supprimé
- Format [Keep a Changelog](https://keepachangelog.com/). Le contenu est extrait automatiquement par le CI pour les release notes et affiché dans l'app selon la langue de l'utilisateur.
- The `public/` copies are synced automatically: Vite copies them on `dev`/`build` start (`vite.config.ts`), and the `prebuild` npm script handles standalone builds. No manual sync needed.
- The `public/` copies are synced automatically: Vite copies them on `dev`/`build` start via `syncChangelogs()` in `vite.config.ts`. No manual sync needed.
---

View file

@ -7,7 +7,6 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"prebuild": "cp CHANGELOG.md public/CHANGELOG.md && cp CHANGELOG.fr.md public/CHANGELOG.fr.md",
"preview": "vite preview",
"tauri": "tauri",
"test": "vitest run",