Page Contents

Home > @loopback/tsdocs > getPackages

getPackages() function

Get workspace packages and sorted them by location

Signature:

export declare function getPackages(rootDir?: string): Promise<LernaPackage[]>;

Parameters

Parameter Type Description
rootDir string (Optional) Root directory

Returns:

Promise<LernaPackage[]>