pnpm update
Aliases: up
, upgrade
pnpm update
updates packages to their latest version based on the specified
range.
引数なしで実行すると、すべての依存関係を更新します。
TL;DR
コマンド | 意味 |
---|---|
pnpm up | Updates all dependencies, adhering to ranges specified in package.json |
pnpm up --latest | Updates all dependencies to their latest versions |
pnpm up foo@2 | Updates foo to the latest version on v2 |
pnpm up "@babel/*" | Updates all dependencies under the @babel scope |