ported all templates to json

This commit is contained in:
2026-02-01 18:51:43 +02:00
parent ae3a339db6
commit 74f033d5e8
403 changed files with 68948 additions and 5936 deletions

13
validate_json.ps1 Normal file
View File

@@ -0,0 +1,13 @@
$templatesDir = "d:\gdfhbfgdbnbdfbdf\typogenie\src-tauri\templates"
$files = Get-ChildItem -Path $templatesDir -Recurse -Filter *.json
foreach ($file in $files) {
try {
$content = Get-Content -Path $file.FullName -Raw
$json = $content | ConvertFrom-Json
Write-Host "VALID: $($file.Name)" -ForegroundColor Green
} catch {
Write-Host "INVALID: $($file.Name)" -ForegroundColor Red
Write-Host "Error: $($_.Exception.Message)"
}
}