Skip to content
Nx Cloud CI is in private beta 10.6× faster average CI time with 79% less compute. Join the beta

▸ validateDependency(dependency, ctx): void

A function to validate dependencies in a CreateDependencies function

NameType
dependencyRawProjectGraphDependency
ctxCreateDependenciesContext

void

Throws

If the dependency is invalid.