Skip to main content

getGeneratorVersions

@webda/compiler


Function: getGeneratorVersions()

getGeneratorVersions(appRoot, resolveEntry?): Record<string, string>

Defined in: compiler.ts:55

Installed versions of the packages that generate the build output.

Read once per application root and process. A package that cannot be resolved reports "unknown" rather than failing the build.

Parameters​

appRoot​

string

application root

resolveEntry?​

(name, appRoot) => string

locates a file inside a package, to start the search for its manifest

Returns​

Record<string, string>

package name to installed version