addTurborepoApp

Method
📦 CommunityToolkit.Aspire.Hosting.JavaScript.Extensions v13.6.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addTurborepoApp(
name: string,
workingDirectory?: string): TurborepoResource;
}

Signature

methodaddTurborepoAppbuilder
Adds a Turborepo monorepo workspace to the distributed application builder.
addTurborepoApp(
name: string,
workingDirectory?: string): TurborepoResource
namestringThe name of the Turborepo workspace resource.
workingDirectorystringoptionalThe working directory of the Turborepo workspace. If not specified, it will be set to a path that is a sibling of the AppHost directory using the `name` as the folder.
TurborepoResource

Applies to

This method applies to the following types: