List all dependencies required by your packages:
pnpm list:deps
Update all dependencies for all packages:
pnpm update:deps
Update only the root package.json
:
npx syncpack update --source 'package.json'
Update only packages matching a glob:
npx syncpack update --source 'packages/*'
Update both the root package.json
file and only packages matching a glob:
npx syncpack update --source 'package.json' --source 'packages/*'
Only update react, react-dom etc:
npx syncpack update --filter 'react'