artefactual-sdps / enduro

A tool to support ingest and automation in digital preservation workflows
https://enduro.readthedocs.io/
Apache License 2.0
4 stars 3 forks source link

Bump dashboard deps #1022

Closed sevein closed 2 weeks ago

sevein commented 2 weeks ago

I've updated all pending dependencies used by the dashboard, excepting @types/node which we still want to mantain on v20.x because we haven't upgrade to Node.js 22 yet.

$ npm outdated
Package      Current   Wanted  Latest  Location                  Depended by
@types/node  20.16.5  20.16.5  22.5.4  node_modules/@types/node  dashboard

For the record, the process I follow looks as follows:

  1. Run npm run deps (mentioned here) which launches an interactive user interface listing available updates,
  2. Bump some dependencies (start with patch and minor updates),
  3. Build (npm run build) and test (npm run test); confirm it works - if changes are required in our codebase, I launch vitest with npx vitest dev to watch the code and run the tests automatically while I make the necessary updates. Often I need to read the release notes, look up breaking changes, etc.
  4. Repeat until no outstanding deps listed.
  5. If the linter complains, run npx prettier . --write to fix.

During the upgrade, I've had to dealt with the following issues:

Fixes #1021.

codecov[bot] commented 2 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 53.07%. Comparing base (cea3fe7) to head (81b750c). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1022 +/- ## ========================================== - Coverage 53.10% 53.07% -0.04% ========================================== Files 100 100 Lines 5807 5807 ========================================== - Hits 3084 3082 -2 - Misses 2473 2474 +1 - Partials 250 251 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.