Translate scripts, comments and README to English
This commit is contained in:
1 parent
9196e0da4a
commit
3cc2ea573f
7 files changed
+65
-65
No files matched your search
@@ -1,14 +1,14 @@
|
||||
# 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.
|
||||
# Renovate braucht Node.js >= 24.11
|
||||
if ([version](node -v).TrimStart('v') -lt [version]'24.11.0') { throw "Renovate braucht Node.js >= 24.11, gefunden: $(node -v). Z. B.: volta install node@24" }
|
||||
# Check only: Renovate runs with the "local" platform directly on this directory
|
||||
# and changes nothing. Found updates are read from the JSON report and printed.
|
||||
# Renovate requires Node.js >= 24.11
|
||||
if ([version](node -v).TrimStart('v') -lt [version]'24.11.0') { throw "Renovate requires Node.js >= 24.11, found: $(node -v). E.g.: volta install node@24" }
|
||||
$report = Join-Path ([IO.Path]::GetTempPath()) 'renovate-report.json'
|
||||
|
||||
Push-Location (Join-Path $PSScriptRoot '..') # Repo-Root
|
||||
Push-Location (Join-Path $PSScriptRoot '..') # repository root
|
||||
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
|
||||
Write-Host "`nAvailable 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) {
|
||||
|
||||
Reference in new issue
Block a user