Skip to content
Docs Try Aspire
Docs Try

CommunityToolkit.Aspire.Hosting.JavaScript.Extensions

📦 CommunityToolkit.Aspire.Hosting.JavaScript.Extensions v13.4.0
15 Functions
4 Types

Types

Functions

method addApp builder
addApp(name: string, appName?: string): NxAppResource
method addApp builder
addApp(name: string, filter?: string): TurborepoAppResource
method addNxApp builder
Adds an Nx monorepo workspace to the distributed application builder.
addNxApp(name: string, workingDirectory?: string): NxResource
method addTurborepoApp builder
Adds a Turborepo monorepo workspace to the distributed application builder.
addTurborepoApp(name: string, workingDirectory?: string): TurborepoResource
method withBun builder
withBun(install?: boolean): NxResource
method withBun builder
withBun(install?: boolean): TurborepoResource
method withMappedEndpointPort builder
Maps the endpoint port for the JavaScript app resource to the appropriate command line argument
withMappedEndpointPort(endpointName?: string): JavaScriptAppResource
method withNpm builder
withNpm(install?: boolean): NxResource
method withNpm builder
withNpm(install?: boolean): TurborepoResource
method withPackageManagerLaunch builder
Configures the Nx workspace to use the specified JavaScript package manager when starting apps.
withPackageManagerLaunch(packageManager?: string): NxResource
method withPackageManagerLaunch builder
Configures the Turborepo workspace to use the specified JavaScript package manager when starting apps.
withPackageManagerLaunch(packageManager?: string): TurborepoResource
method withPnpm builder
withPnpm(install?: boolean): NxResource
method withPnpm builder
withPnpm(install?: boolean): TurborepoResource
method withYarn builder
withYarn(install?: boolean): NxResource
method withYarn builder
withYarn(install?: boolean): TurborepoResource