Status Codes
Banned
This instance was matched by a Banned Version Group, it is not allowed in the location it’s in and should be removed.
FilteredOut
This instance did not match the RegExp provided for the filter option and will be ignored.
HighestSemverMismatch
Every instance of this dependency has a valid semver version number, but they are not all identical. Of those versions currently in use, the one with the highest semver version should be used.
Ignored
This instance was matched by an Ignored Version Group, it is ignored completely by Syncpack.
LocalPackageMismatch
This dependency is a package developed in your monorepo and the local
dependencyType is enabled. The version
property of its package.json file is considered the canonical source of truth for the correct version to be used by all instances – but one of more of them are not identical to it.
LowestSemverMismatch
Every instance of this dependency has a valid semver version number, but they are not all identical. Of those versions currently in use, the one with the lowest semver version should be used. The lowest version should be used because these instances belong to a Lowest Version Group.
MissingLocalVersion
This dependency is a package developed in your monorepo and the local
dependencyType is enabled. The version
property of its package.json file is missing, so the correct version to be used by all instances can not be determined.
Syncpack can’t know what to do and this will need to be manually resolved.
MissingSnappedToMismatch
This instance was matched by a Snapped To Version Group, the version it should use is the one set in the packages named in the snapTo
array of this Version Group – but none of those packages depend on this dependency.
Syncpack can’t know what to do and this will need to be manually resolved.
PinnedMismatch
This instance was matched by a Pinned Version Group, its version should be identical to the pinVersion
property of the Version Group, but is is not.
SameRangeMismatch
These instances were matched by a Same Range Version Group, the version numbers do not have to be identical but they do all need to have a semver range which satisfies all of the others. In this case, one or more of the version numbers do not match all of the others.
SemverRangeMismatch
This instance belongs to a With Range Semver Group, but the semver range it is using does not match the one defined on the range
property of that group.
SnappedToMismatch
This instance was matched by a Snapped To Version Group, the version it should use is the one set in the first package named in the snapTo
array of this Version Group which depends on this dependency – but its version is not identical to that.
UnsupportedMismatch
One or more of the instances of this dependency features a version specifier which syncpack does not support. As such, syncpack can’t know what to do and this will need to be manually resolved.
This can also occur if the name of the package is not supported. A common case of this is pnpm overrides.
Valid
These instances fully meet the rules of their Version and Semver Group.