Watch Aspire live streamsDocsTry Aspire

TurborepoResource.withPackageManagerLaunch

Method
📦 CommunityToolkit.Aspire.Hosting.JavaScript.Extensions v13.6.1
interface TurborepoResource {
// ... omitted for brevity
withPackageManagerLaunch(packageManager?: string): TurborepoResource;
}

Signature

methodwithPackageManagerLaunchbuilder
Configures the Turborepo workspace to use the specified JavaScript package manager when starting apps.
withPackageManagerLaunch(packageManager?: string): TurborepoResource
packageManagerstringoptionalThe package manager to use. If none is provided it will attempt to use the installer annotation's resource command.
TurborepoResource

Defined on

This method is defined on the following type: