@ui5/builder/processors/versionInfoGenerator

Methods

(static) default(parameters) → {Promise.<Array.<@ui5/fs/Resource>>}

Description:
  • Creates sap-ui-version.json.
Source:
Parameters:
Name Type Description
parameters object Parameters
Properties
Name Type Description
options object Options
Properties
Name Type Description
rootProjectName string Name of the root project
rootProjectVersion string Version of the root project
libraryInfos Array.<module:@ui5/builder/processors/versionInfoGenerator~LibraryInfo> Array of objects representing libraries, e.g.
  {
     name: "lib.x",
     version: "1.0.0",
     libraryManifest: @ui5/fs/Resource,
     embeddedManifests: @ui5/fs/Resource[]
  }
Returns:
Promise resolving with an array containing the versionInfo resource
Type
Promise.<Array.<@ui5/fs/Resource>>

Type Definitions

LibraryInfo

Description:
  • Library Info contains information about the name and the version of the library and its manifest, as well as the nested manifests.
Source:
Properties:
Name Type Description
name string The library name, e.g. "lib.x"
version string The library version, e.g. "1.0.0"
libraryManifest @ui5/fs/Resource library manifest resource, e.g. resource with path "lib/x/manifest.json"
embeddedManifests Array.<@ui5/fs/Resource> list of embedded manifest resources, e.g. resource with path "lib/x/sub/manifest.json"
Library Info contains information about the name and the version of the library and its manifest, as well as the nested manifests.
Type:
  • object