update package.json file with yarn code example
Example 1: yarn update all dependencies to latest
yarn upgrade --latest
Example 2: yarn add install all packages in package,json
yarn install
yarn upgrade --latest
yarn install