1 instantiation of BunAppResource
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
481var resource = new BunAppResource(name, "bun", appDirectory);
13 references to BunAppResource
Aspire.Hosting.JavaScript (4)
JavaScriptHostingExtensions.cs (4)
474public static IResourceBuilder<BunAppResource> AddBunApp(this IDistributedApplicationBuilder builder, [ResourceName] string name, string appDirectory, string scriptPath) 481var resource = new BunAppResource(name, "bun", appDirectory); 2867if (resource is BunAppResource) 2870$"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)
153var bunResource = Assert.Single(appModel.Resources.OfType<BunAppResource>()); 175var bunResource = Assert.Single(appModel.Resources.OfType<BunAppResource>()); 201var 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; }