V2-Stand: UX-Dashboard, Personen v2, Starter-Paket und Dexie-Legacy entfernt.
Sichert den lokalen Entwicklungsstand nach Gitea: Nav/Dashboard, Personen-Excel/Archiv, Team-Setup, Assignment-Übergabe und C6/C7/T2. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
234f87d408
commit
d894c3c8e4
91 files changed
+7196
-2134
No files matched your search
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Exportiert Struktur/Config aus der V2-Dev-DB nach docs/starter/starter-structure.json.
|
||||
* Usage: npm run starter:export
|
||||
* Produktiv wird per Guard blockiert.
|
||||
*/
|
||||
import {
|
||||
buildStarterPackageFromDb,
|
||||
writeStarterPackage,
|
||||
summarizeStarter,
|
||||
STARTER_FILE,
|
||||
} from '../db/starterPackage'
|
||||
|
||||
const pkg = buildStarterPackageFromDb()
|
||||
const path = writeStarterPackage(pkg)
|
||||
const counts = summarizeStarter(pkg)
|
||||
|
||||
console.log(`[starter:export] geschrieben: ${path}`)
|
||||
console.log(`[starter:export] Stand: ${pkg.exportedAt}`)
|
||||
for (const [table, n] of Object.entries(counts)) {
|
||||
if (n > 0) console.log(` ${table}: ${n}`)
|
||||
}
|
||||
console.log(`[starter:export] Ziel: ${STARTER_FILE}`)
|
||||
Reference in new issue
Block a user