Skip to content

chore: bump all dependencies and upstream Docker images#164

Merged
3alpha merged 4 commits into
masterfrom
bump-all-deps
Jul 8, 2026
Merged

chore: bump all dependencies and upstream Docker images#164
3alpha merged 4 commits into
masterfrom
bump-all-deps

Conversation

@3alpha

@3alpha 3alpha commented Jul 7, 2026

Copy link
Copy Markdown
Member

Summary

Bump all Node.js dependencies, upstream Docker images, and fix TypeScript 6 compatibility.

Changes

Dependency bumps

  • manager: All devDeps to latest (TS 6.0.3, webpack 5.108.4, mocha 11.7.6, etc.)
  • stakers-metrics: All deps to latest (TS 6.0.3, express 5.2.1, prom-client 15.1.3, etc.)

TypeScript 6 fixes

  • Added rootDir: "./src" to both tsconfigs
  • Changed moduleResolution from deprecated "node" to "bundler"
  • Removed deprecated downlevelIteration (not needed with ESNext target)
  • Added "types": ["node"] to manager tsconfig

Dockerfile fixes

  • Pinned base images: node:24-alpine3.24, alpine:3.24
  • Install yarn via apk add --no-cache yarn (no longer bundled in node:alpine)

Upstream Docker image bumps

Image Old New
prometheus/node_exporter v1.10.2 v1.11.1
google/cadvisor 0.55.0 v0.60.3
prometheus/prometheus v3.8.1 v3.13.0
grafana/grafana 12.3.1 13.1.0
grafana/loki 3.6.3 3.7.3

@dappnode/types breaking change

  • getJsonRpcApiFromDnpName was removed from @dappnode/types in v0.1.32+. Re-implemented locally in stakers-metrics/src/utils.ts using executionClients/consensusClients from the types package.

Other

  • Fixed .gitignore typo: staker-metricsstakers-metrics

3alpha added 3 commits July 7, 2026 15:57
- Bump manager devDeps to latest (TS 6.0.3, webpack 5.108.4, mocha 11.7.6, etc.)
- Bump stakers-metrics deps to latest (TS 6.0.3, express 5.2.1, prom-client 15.1.3, etc.)
- Fix tsconfig.json for TypeScript 6: add rootDir, use moduleResolution bundler, remove deprecated downlevelIteration
- Pin Docker base images: node:24-alpine3.24, alpine:3.24
- Install yarn via apk in Dockerfiles (no longer bundled in node:alpine)
- Re-implement getJsonRpcApiFromDnpName locally (removed from @dappnode/types 0.1.32+)
- Bump upstream Docker images: node_exporter v1.11.1, cadvisor v0.60.3, prometheus v3.13.0, grafana 13.1.0, loki 3.7.3
- Fix .gitignore typo: staker-metrics → stakers-metrics
@3alpha 3alpha merged commit 7441be0 into master Jul 8, 2026
2 checks passed
@3alpha 3alpha deleted the bump-all-deps branch July 8, 2026 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants