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 footo the latest version on v2 | 
| pnpm up "@babel/*" | Updates all dependencies under the @babelscope | 
パターンによる依存関係の選択
パターンを使用して特定の依存関係を更新できます。
Update all babel packages:
pnpm update "@babel/*"
Update all dependencies, except webpack:
pnpm update "\!webpack"