source
Patterns supported by glob to find package.json files you want to manage with syncpack.
Default Value
Defaulted to match most Projects using Lerna or Yarn Workspaces
Resolving Packages
package.json files are resolved in this order of precedence:
- If
--source
glob patterns are provided, use those. - If using Yarn Workspaces, read
workspaces
from./package.json
. - If using Lerna, read
packages
from./lerna.json
. - If using Pnpm, read
packages
from./pnpm-workspace.yaml
. - Default to
'package.json'
and'packages/*/package.json'
.