Skip to content

Instantly share code, notes, and snippets.

module.exports = {}
@lwassermann
lwassermann / js-upgrade.md
Last active July 23, 2020 07:58
Steps I tend to use to update JS dependencies

Updating Dependencies [JS (yarn)]

Over the years, I've gotten into the habit of updating project dependencies in moments where I was blocked, or the (mental) WIP limit was reached. These are steps that I tend to follow.

List outdated

yarn outdated lists all dependencies that are not on the latest version. If it detects colors, it will also show which are minor, or major version updates. This is a step that I run every now and then, to gauge whether it is time.

Upgrade versions