OptionaldependencyOptionalonlyOnly return the root workspace package
OptionalpackageWhen defined only the packages where the package.json file is matching to this matcher are returned.
OptionalskipSkip the root workspace package itself. Has no effect if the repo is not a monorepo!
Return only those packages that list these dependencies among either
dependenciesordevDependencies. When it's not defined or is an empty array, it will not perform such filtering.Note that while the
packageJsonMatchercan also match dependencies, matching across multiple fields at the top level means that you're limited to only use a single function based matcher, or writing needlessly complicated boilerplate. So this field is here to trivialize this usecase.