Verschlanken: kein Root-Node-Projekt, zwei direkte PowerShell-Skripte

This commit is contained in:
Demo committed 2026-10-11 18:13:11 +02:00
1 parent 302faa395c
commit 6d33015097
25 files changed
+133 -467

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
# Nur prüfen: Renovate läuft mit der "local"-Plattform direkt auf diesem Verzeichnis
# und ändert nichts. Gefundene Updates werden aus dem JSON-Report gelesen und ausgegeben.
$report = Join-Path ([IO.Path]::GetTempPath()) 'renovate-report.json'
Push-Location $PSScriptRoot
npx --yes renovate@44.149.3 --platform=local --dry-run=lookup --report-type=file --report-path=$report
Pop-Location
Write-Host "`nGefundene Updates:" -ForegroundColor Cyan
$packageFiles = (Get-Content $report -Raw -Encoding UTF8 | ConvertFrom-Json).repositories.local.packageFiles
foreach ($manager in $packageFiles.PSObject.Properties) {
foreach ($file in $manager.Value) {
foreach ($dep in $file.deps) {
foreach ($update in $dep.updates) {
Write-Host " [$($manager.Name)] $($file.packageFile): $($dep.depName) $($dep.currentValue) -> $($update.newValue) ($($update.updateType))"
}
}
}
}