Skip to content
DocsTry Aspire
DocsTry

CommunityToolkit.Aspire.Hosting.JavaScript.Extensions

📦 CommunityToolkit.Aspire.Hosting.JavaScript.Extensionsv13.4.0
15Functions
4Types

Types

Functions

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