fix: sync changelog to public/ and automate on build/dev (#37) #38
2 changed files with 1 additions and 2 deletions
|
|
@ -141,7 +141,7 @@ La documentation technique est centralisée dans `docs/` :
|
||||||
- `CHANGELOG.fr.md` (français) — traduction
|
- `CHANGELOG.fr.md` (français) — traduction
|
||||||
- Catégories : Added/Ajouté, Changed/Modifié, Fixed/Corrigé, Removed/Supprimé
|
- 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.
|
- 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.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "tsc && vite build",
|
"build": "tsc && vite build",
|
||||||
"prebuild": "cp CHANGELOG.md public/CHANGELOG.md && cp CHANGELOG.fr.md public/CHANGELOG.fr.md",
|
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"tauri": "tauri",
|
"tauri": "tauri",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue