normalizer

@ui5/project. normalizer

Source:
Generate project and dependency trees via translators. Optionally configure all projects with the projectPreprocessor.

Methods

(static) generateDependencyTree(optionsopt) → {Promise.<object>}

Source:
Generates a project and dependency tree via translators
Parameters:
Name Type Attributes Description
options object <optional>
Properties
Name Type Attributes Default Description
cwd string <optional>
. Current working directory
translatorName string <optional>
npm Translator to use
translatorOptions object <optional>
Options to pass to translator
Returns:
Promise resolving to tree object
Type
Promise.<object>

(static) generateProjectTree(optionsopt) → {Promise.<object>}

Source:
Generates a project and dependency tree via translators and configures all projects via the projectPreprocessor
Parameters:
Name Type Attributes Description
options object <optional>
Properties
Name Type Attributes Description
cwd string <optional>
Current working directory
configPath string <optional>
Path to configuration file
translatorName string <optional>
Translator to use
translatorOptions object <optional>
Options to pass to translator
frameworkOptions object <optional>
Options to pass to the framework installer
Properties
Name Type Attributes Description
versionOverride string <optional>
Framework version to use instead of the root projects framework
Returns:
Promise resolving to tree object
Type
Promise.<object>