Skip to content
Docs Try Aspire
Docs Try

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

method addApp builder
addApp(
name: string,
filter?: string): TurborepoAppResource
name string
filter string optional
TurborepoAppResource
method withBun builder
withBun(install?: boolean): TurborepoResource
install boolean optional = False
TurborepoResource
method withNpm builder
withNpm(install?: boolean): TurborepoResource
install boolean optional = False
TurborepoResource
Configures the Turborepo workspace to use the specified JavaScript package manager when starting apps.
withPackageManagerLaunch(packageManager?: string): TurborepoResource
packageManager string optional
TurborepoResource
method withPnpm builder
withPnpm(install?: boolean): TurborepoResource
install boolean optional = False
TurborepoResource
method withYarn builder
withYarn(install?: boolean): TurborepoResource
install boolean optional = False
TurborepoResource