* For a given project name (e.g. the value of the metadata.name property in a ui5.yaml), * returns a [Module]{@ui5/project/graph/Module} instance or undefined depending on whether the project * has been found in the configured dependency-management resolution paths of t
(projectName)
| 99 | * Module instance, or <code>undefined</code> if none is found |
| 100 | */ |
| 101 | async getModuleByProjectName(projectName) { |
| 102 | const {projectNameMap} = await this._getResolvedModules(); |
| 103 | return projectNameMap.get(projectName); |
| 104 | } |
| 105 | |
| 106 | /** |
| 107 | * For a given node id (e.g. the value of the name property in a package.json), |
no test coverage detected