Configuration File
Configure syncpack's behavior using a .syncpackrc file in your project root. These options control formatting, sorting, dependency management, and version constraints.
.syncpackrc Configure syncpack behavior through .syncpackrc files in JSON, YAML, JavaScript, or TypeScript
customTypes Define custom package.json properties to manage beyond standard dependency types
dependencyGroups Group related dependencies together to treat them as one for version management
formatBugs Configure how the bugs field is formatted in package.json files
formatRepository Configure how the repository field is formatted in package.json files
indent Configure indentation spacing for formatted package.json files
maxConcurrentRequests Configure the maximum number of concurrent npm registry requests when checking for updates
minimumReleaseAge Skip updates to dependency versions published more recently than this threshold
severity Per-group control over how each status is treated as fix, warn, or error.
sortAz Configure alphabetical sorting of dependencies within package.json files
sortExports Configure sorting order for the exports field in package.json files
sortFirst Configure which package.json fields appear first before alphabetically sorted fields
sortPackages Configure sorting order for top-level package.json fields when formatting
source Configure which package.json files syncpack should discover and process
sourceMode Control whether source patterns replace workspace discovery or extend it
strict Configure whether syncpack exits with an error when version mismatches are found