Skip to content

dependencyTypes

Areas where versions are usually defined can be toggled on and off via this property.

Example: Only include `dependencies` and `devDependencies`

Only dependencies and devDependencies will be inspected:

.syncpackrc
{
"dependencyTypes": ["dev", "prod"]
}
Example: Exclude `dependencies` and `devDependencies`

Everything except dependencies and devDependencies will be inspected:

.syncpackrc
{
"dependencyTypes": ["!dev", "!prod"]
}

Default dependency types

All are enabled by default.

ValueProperty in package.json
devdevDependencies
localversion
overridesoverrides
peerpeerDependencies
pnpmOverridespnpm.overrides
proddependencies
resolutionsresolutions