Skip to content
This documentation is for v14 alpha, the docs for v13 stable are archived.

Hide dependencies from syncpack

Hide dependencies from syncpack

Ignore one or more dependencies so that syncpack does not inspect them.

1. Add an ignored version group

  • Match 2 specific packages in the repo.
  • Match only the peerDependencies in those packages.
  • Add a label to document the decision/expectation.
{
"versionGroups": [
{
"label": "Nothing to see here, will fix soon",
"packages": ["oops-moment", "workaround"],
"dependencyTypes": ["peer"],
"isIgnored": true
}
]
}

With this configuration in place, syncpack will now completely ignore every dependency listed under peerDependencies in the two named packages oops-moment and workaround only.