Update project dependencies
Dependency updates
Yarn
-
Run yarn set version stable
to update thepackageManager
field inpackage.json
.
Node modules
-
Run npx npm-check-updates -u -x '*vue*, eslint'
to bump versions for everything except Vue and eslint. -
Run yarn
to updateyarn.lock
. -
Run make lint-frontend
andmake jest-tests
and verify frontend tests still pass. -
Run make view
and browse around the site a bit. Check for new console errors or other problems.
Go modules
-
Run go get -t -u ./...
to update all dependencies, including test dependencies -
Run go mod tidy
to remove now unneeded dependencies fromgo.sum
-
Check that linting and tests still pass: make lint-go && make go-tests
Other tools
Update .tool-versions
and the relevant variable in .gitlab-ci.yml
(e.g, HUGO_VERSION
).
-
Hugo (releases)
Edited by Hiru Fernando