This document describes how to update third-party dependencies in the project.
The project uses NodeJS for development purposes. The dependencies are managed
via pnpm
.
When doing updates, always commit the changes to the package.json
and
pnpm-lock.yaml
file in extra commits. This makes it easier to track changes
and to resolve conflicts from other branches if necessary.
To update the dependencies, execute the following command:
pnpm update
This command updates all dependencies to the latest version that is compatible with the current configuration. It is a good idea to run this command regularly to keep the dependencies up-to-date.
To update all dependencies to their latest version, execute the following command:
pnpm update --latest
This command updates all dependencies to the latest version available. It is recommended to run this command only if you are prepared to deal with potential breaking changes.
The project uses GitHub Actions for continuous integration. The configuration
is stored in .github/workflows/
and is written in YAML.
When doing updates, always commit the changes to the workflow files in extra commits. This makes it easier to track changes and to resolve conflicts from other branches if necessary.
To update the actions to the latest versions, execute the following command:
pnpm update-actions