@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:
Parameters:
Name Type Description
options object
Properties
Name Type Attributes Description
dependencyTree @ui5/project/graph/providers/DependencyTree~TreeNode Dependency tree as returned by a translator
rootConfiguration object <optional>
Configuration object to use for the root module instead of reading from a configuration file
rootConfigPath string <optional>
Configuration file to use for the root module instead the default ui5.yaml

Type Definitions

TreeNode

Description:
  • Tree node
Source:
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