Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 693 Bytes

SYNCPACK.md

File metadata and controls

45 lines (29 loc) · 693 Bytes

Syncpack Commands

List Dependencies

List all dependencies required by your packages:

pnpm list:deps

Update Dependencies

Update all dependencies for all packages:

pnpm update:deps

Update by Source

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/*'

Update by Dependency

Only update react, react-dom etc:

npx syncpack update --filter 'react'