how to upgrade all dependencies yarn package json code example Example: yarn update all dependencies to latest yarn upgrade --latest