env/composability

Methods

static installLocalGenerators(packages) → {Boolean}

Install generators at the custom local repository and register.

Parameters:
Name Type Description
packages Object

packages to install key(packageName): value(versionRange).

Returns:
Boolean -
  • true if the install succeeded.

static lookupLocalPackages(packagesToLookupopt)

Lookup and register generators from the custom local repository.

Parameters:
Name Type Attributes Default Description
packagesToLookup Array.<String> <optional>
'generator-*'

packages to lookup.

static resolvePackage(packageName, packageVersionopt, Array)

Resolve a package name with version.

Parameters:
Name Type Attributes Description
packageName string

package to resolve.

packageVersion string <optional>

version or range to resolve.

Array Array.<string>

of key, value pairs.