Skip to content
DocsTry Aspire
DocsTry

TurborepoResource

Handle
📦 CommunityToolkit.Aspire.Hosting.JavaScript.Extensions v13.4.0
interface TurborepoResource extends IResource {
addApp(
name: string,
filter?: string): TurborepoAppResource;
withBun(install?: boolean): TurborepoResource;
withNpm(install?: boolean): TurborepoResource;
withPackageManagerLaunch(packageManager?: string): TurborepoResource;
withPnpm(install?: boolean): TurborepoResource;
withYarn(install?: boolean): TurborepoResource;
}

Methods

methodaddAppbuilder
addApp(
name: string,
filter?: string): TurborepoAppResource
namestring
filterstringoptional
TurborepoAppResource
methodwithBunbuilder
withBun(install?: boolean): TurborepoResource
installbooleanoptional= False
TurborepoResource
methodwithNpmbuilder
withNpm(install?: boolean): TurborepoResource
installbooleanoptional= False
TurborepoResource
Configures the Turborepo workspace to use the specified JavaScript package manager when starting apps.
withPackageManagerLaunch(packageManager?: string): TurborepoResource
packageManagerstringoptional
TurborepoResource
methodwithPnpmbuilder
withPnpm(install?: boolean): TurborepoResource
installbooleanoptional= False
TurborepoResource
methodwithYarnbuilder
withYarn(install?: boolean): TurborepoResource
installbooleanoptional= False
TurborepoResource