nx/docs/generated/devkit/ProjectGraphDependencyWithFile.md
Craigory Coppola a7cf272d1f
feat(core): add api for v2 of project project graph plugins (#18032)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-08-10 14:58:29 -04:00

1.3 KiB

Interface: ProjectGraphDependencyWithFile

A ProjectGraph dependency between 2 projects Optional: Specifies a file from where the dependency is made

Table of contents

Properties

Properties

dependencyType

dependencyType: DependencyType

The type of dependency


source

source: string

The name of a ProjectGraphProjectNode or ProjectGraphExternalNode depending on the target project


sourceFile

Optional sourceFile: string

The path of a file (relative from the workspace root) where the dependency is made


target

target: string

The name of a ProjectGraphProjectNode or ProjectGraphExternalNode that the source project depends on