1 instantiation of BunAppResource
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
489var resource = new BunAppResource(name, "bun", appDirectory);
13 references to BunAppResource
Aspire.Hosting.JavaScript (4)
JavaScriptHostingExtensions.cs (4)
482public static IResourceBuilder<BunAppResource> AddBunApp(this IDistributedApplicationBuilder builder, [ResourceName] string name, string appDirectory, string scriptPath) 489var resource = new BunAppResource(name, "bun", appDirectory); 2195if (resource is BunAppResource) 2198$"Bun apps cannot be debugged through the Node dev-server debug path. '{resource.Name}' is a {nameof(BunAppResource)}; use {nameof(AddBunApp)}, which wires its own Bun debug support.");
Aspire.Hosting.JavaScript.Tests (9)
AddBunAppTests.cs (6)
155var bunResource = Assert.Single(appModel.Resources.OfType<BunAppResource>()); 177var bunResource = Assert.Single(appModel.Resources.OfType<BunAppResource>()); 203var bunResource = Assert.Single(appModel.Resources.OfType<BunAppResource>());
BunAppFixture.cs (3)
13/// Test fixture that boots an Aspire application with two <see cref="BunAppResource"/> instances: 25public IResourceBuilder<BunAppResource>? BunAppBuilder { get; private set; } 26public IResourceBuilder<BunAppResource>? BunScriptBuilder { get; private set; }