Justfile and updated README

This commit is contained in:
2026-03-17 20:12:01 +02:00
parent 69290f3192
commit 000eb3367a
2 changed files with 50 additions and 0 deletions

View File

@@ -1,3 +1,19 @@
# Tietokonepaja.fi
Livonsaaren Tietokonepajan kotisivut vaihteeksi Vuella!
## Kehitys
Projekti käyttää [just](https://github.com/casey/just)-komentotulkkia tehtävien ajamiseen.
| Komento | Kuvaus |
| -------------------------- | ----------------------------------------------------- |
| `just dev` | Käynnistä kehityspalvelin |
| `just build` | Tuotantoversio (type-check + .htaccess) |
| `just preview` | Esikatsele tuotantoversio paikallisesti |
| `just build-only` | Build ilman type-checkingiä |
| `just type-check` | Tarkista tyypit vue-tsc:llä |
| `just lint` | Lint ja automaattinen korjaus |
| `just format` | Muotoile lähdekoodit Prettierillä |
| `just deploy` | Build ja kopioi `dist/``/var/www/tietokonepaja-fi` |
| `just deploy /polku/kohde` | Build ja kopioi `dist/` valittuun hakemistoon |