Skip to content

Latest commit

 

History

History
44 lines (37 loc) · 1.18 KB

DEPENDENCIES.md

File metadata and controls

44 lines (37 loc) · 1.18 KB

Dependencies

Dependencies are being updated manually until automated tests have been set up.

npm install -g npm-check-updates
ncu
ncu - u

Pinned dependencies

  • execa use v5, needs to stay CJS
  • p-limit use v3, need to stay CJS
  • @types/node keep same as Node Engine v18.19.1
  • semantic-release keep on v22 because we need to support Node Engine > v18
  • chai use v4, needs to stay CJS, else we get an error when mocha runs, complains about ESM, not obvious

How to update dependencies

Project pakcage.json

  1. Run ncu and have a look at what can be updated, pay attention to major versions
  2. Run ncu -u to update package.json
  3. Change the pinned versions above back to what they were
  4. Run
npm run lint-fix
npm run build
npm run validate
  1. Run a few tests to see if everything still works

Frontend application/src/frontend/pakcage.json

  1. Run
cd application/src/frontend/
  1. Run ncu and have a look at what can be updated, pay attention to major versions
  2. Run ncu -u to update package.json
  3. Run and manually verify if the frontend still seems fine
npm run build
npm run dev