Initiales Beispiel-Monorepo (npm + .NET)
This commit is contained in:
commit
e25a66e940
22 files changed
+1222
No files matched your search
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
# Nur prüfen: Renovate läuft mit --platform=local direkt auf diesem Verzeichnis.
|
||||
# Es werden keine Dateien geändert; das Ergebnis (gefundene Updates) landet im Log
|
||||
# und als JSON-Report in .renovate-local/report.json.
|
||||
source "$(dirname "$0")/lib.sh"
|
||||
cd "$ROOT_DIR"
|
||||
mkdir -p "$STATE_DIR"
|
||||
|
||||
log "Renovate ${RENOVATE_VERSION} – Dry-Run (lookup) auf $ROOT_DIR"
|
||||
LOG_LEVEL="${LOG_LEVEL:-info}" renovate_cli \
|
||||
--platform=local \
|
||||
--dry-run=lookup \
|
||||
--report-type=file \
|
||||
--report-path="$STATE_DIR/report.json"
|
||||
|
||||
log "Gefundene Updates:"
|
||||
node -e '
|
||||
const r = require(process.argv[1]);
|
||||
for (const [repo, data] of Object.entries(r.repositories)) {
|
||||
for (const [manager, files] of Object.entries(data.packageFiles)) {
|
||||
for (const f of files) for (const d of f.deps) for (const u of d.updates ?? [])
|
||||
console.log(` [${manager}] ${f.packageFile}: ${d.depName} ${d.currentValue} -> ${u.newValue} (${u.updateType})`);
|
||||
}
|
||||
}' "$STATE_DIR/report.json"
|
||||
Reference in new issue
Block a user