Skip to content

pnpm升级依赖库

CommandMeaning
pnpm upUpdates all dependencies, adhering to ranges specified in package.json
pnpm up --latestUpdates all dependencies to their latest versions
pnpm up foo@2Updates foo to the latest version on v2
pnpm up "@babel/*"Updates all dependencies under the @babel scope

官方文档

Last updated: