@ui5/project/graph/providers/DependencyTree
@ui5/project/graph/providers/DependencyTree
Helper module to create a @ui5/project/graph/ProjectGraph from a dependency tree as returned by translators.
Constructor
new @ui5/project/graph/providers/DependencyTree(options)
Source: project/lib/graph/providers/DependencyTree.js, line 24
Parameters:
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | Properties:
|
Type Definitions
TreeNode
Description: Tree node
Source: project/lib/graph/providers/DependencyTree.js, line 1
Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
node.id | string | Unique ID for the project | |
node.version | string | Version of the project | |
node.path | string | File System path to access the projects resources | |
node.configuration | object \| Array<object> | optional | Configuration object or array of objects to use instead of reading from a configuration file |
node.configPath | string | optional | Configuration file to use instead the default ui5.yaml |
dependencies | Array<@ui5/project/graph/providers/DependencyTree~TreeNode> |
Tree node
Type:
- object

