PNPM update all NPM dependencies to latest version

I used to have a simple bash script that I ran on Javascript projects to update all the NPM dependencies to the latest version: alias npmup="npx npm-check-updates -u && npm i" But now that I&apos;m slowly switching to pnpm I wanted an