Git Checkpoint'lerle Aşama Aşama - Güvenli Yöntem
git checkout checkpoint-0-pre-migration
npm run css:muzibu çalıştır, hata var mı kontrol et
git checkout checkpoint-0-pre-migration && npm install
git checkout checkpoint-1-packages
git checkout checkpoint-2-postcss
git checkout checkpoint-3-css-import
git checkout checkpoint-4-colors
→ Hatayı düzelt → Tekrar dene
border-gray-300 ekle (currentColor yerine)
placeholder:text-gray-400 ekle
--color-* prefix'i doğru mu kontrol et
--color-*-opacity tanımla
git checkout checkpoint-6-homepage-test
ls -lh public/css/tenant-1001.css
Chrome DevTools → Network
Performance score kontrol
| Metric | v3 (Checkpoint 0) | v4 (Şimdi) |
|---|---|---|
| CSS Size | 255 KB | ? KB |
| Load Time | ? ms | ? ms |
| Lighthouse | ?/100 | ?/100 |
Muzibu yeni bir site olduğu için, Tailwind v4 güncellemesini yapmak için ideal test ortamı!
10 aşamalı plan: Her aşamada "checkpoint" (kayıt noktası) oluşturuyoruz. Tıpkı video oyunlarda kayıt noktası gibi - bir sorun olursa hemen geri dönebiliriz.
Neden güvenli?
💡 Süreç: Package yükle → Config güncelle → Build yap → Test et → Sorun varsa düzelt → Tekrar test → Başarılı! Her aşamada checkpoint var, risk minimum.
Başarılı olursa ne olur? Muzibu'da edindiğimiz deneyimle İxtif'e geçiş çok daha kolay olur. Muzibu bir "pilot proje" gibi.
tailwind/tenants/tenant-1001.config.js (rename → .backup)resources/css/app.css (veya muzibu.css - @theme ekle)public/css/tenant-1001.css (rebuild output)tailwind/tenants/tenant-2.config.js ✅public/css/tenant-2.css ✅| Checkpoint | Test Type | Pass Criteria |
|---|---|---|
| 1-4 | Build Success | No errors, CSS generated |
| 5-6 | Visual (Homepage) | Layout OK, colors OK |
| 7 | Bug Fix | All visual issues resolved |
| 8 | Full Site | All pages functional |
| 9 | Performance | CSS size ≤ v3, load time ≤ v3 |
| Scenario | Command | Time |
|---|---|---|
| Previous checkpoint | git checkout checkpoint-N |
~5 sec |
| Initial state (v3) | git checkout checkpoint-0 |
~10 sec |
| Emergency (full restore) | git checkout checkpoint-0 && npm install && build |
~30 sec |