54d83cc6b9
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
410 B
TypeScript
11 lines
410 B
TypeScript
/**
|
||
* Seed betiği — Faz 4'te doldurulacak (admin, örnek hane, aile üyeleri ve alan verisi).
|
||
* Çalıştırma: npm run seed | Sıfırlayıp doldurma: npm run seed:reset
|
||
*/
|
||
if (process.env.NODE_ENV === "production" && process.argv.includes("--reset")) {
|
||
console.error("seed:reset production ortamında çalıştırılamaz.");
|
||
process.exit(1);
|
||
}
|
||
|
||
console.log("Seed henüz uygulanmadı (Faz 4).");
|