Skip to content

[docs] Update Bun integration docs for first-party Aspire.Hosting.JavaScript support#1153

Draft
aspire-repo-bot[bot] wants to merge 1 commit into
release/13.4from
docs/aspire-17700-bun-appsurfacearea-df32202527c98dd9
Draft

[docs] Update Bun integration docs for first-party Aspire.Hosting.JavaScript support#1153
aspire-repo-bot[bot] wants to merge 1 commit into
release/13.4from
docs/aspire-17700-bun-appsurfacearea-df32202527c98dd9

Conversation

@aspire-repo-bot
Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#17700 (@aspire-repo-bot[bot])

Targeting release/13.4 based on the source PR milestone 13.4.x.

Why this PR is needed

Aspire 13.4 promotes Bun hosting to a first-party integration (BunAppResource) in the Aspire.Hosting.JavaScript package. The existing integrations/frameworks/bun-apps.mdx page still referenced the deprecated CommunityToolkit.Aspire.Hosting.Bun package. The integrations/frameworks/javascript.mdx resource-type list was also missing BunAppResource.

What changed

  • bun-apps.mdx: Removed the Community Toolkit badge and Community Toolkit package reference. Updated the install command to Aspire.Hosting.JavaScript. Added an Aside note directing readers who are on Aspire < 13.4 to the Community Toolkit and those on 13.4+ to the official package. Added TypeScript AppHost (addBunApp) examples alongside the existing C# examples. Updated "See also" links to point to Aspire.Hosting.JavaScript NuGet and the JavaScript hosting reference page.
  • javascript.mdx: Added BunAppResource (added with AddBunApp / addBunApp) to the integration's resource-type list, with a cross-link to the Bun integration page.

Files modified

  • src/frontend/src/content/docs/integrations/frameworks/bun-apps.mdx — updated
  • src/frontend/src/content/docs/integrations/frameworks/javascript.mdx — updated

Generated by PR Documentation Check for issue #17700 · ● 24.1M ·

…Script support

- Update bun-apps.mdx to reference Aspire.Hosting.JavaScript (BunAppResource)
  instead of the deprecated CommunityToolkit.Aspire.Hosting.Bun package
- Add TypeScript AppHost examples alongside C# examples
- Add BunAppResource to the resource types list in javascript.mdx

Documents API surface changes from microsoft/aspire#17700

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label Jun 1, 2026
@aspire-repo-bot aspire-repo-bot Bot requested a review from joperezr June 1, 2026 23:36
@IEvangelist
Copy link
Copy Markdown
Member

Triage note — overlapping with #1177

This bot PR and #1177 (authored by @mitchdenny) both edit src/frontend/src/content/docs/integrations/frameworks/bun-apps.mdx and have overlapping intent (move guidance from CommunityToolkit.Aspire.Hosting.Bun to first-party Aspire.Hosting.JavaScript). #1177 is human-authored, also corrects the AddBunApp parameter names to the current appDirectory / scriptPath shape (this PR still uses the older workingDirectory wording), and additionally fixes the whats-new/aspire-13-4.mdx examples — so it should be the one that lands.

Recommendation: close this PR in favour of #1177, then fold in the two unique pieces this PR contributes that #1177 doesn't:

  • The <Tabs> C#/TypeScript split on bun-apps.mdx.
  • The BunAppResource entry added to the resource-type list in src/frontend/src/content/docs/integrations/frameworks/javascript.mdx.

Both can be added as a small follow-up to #1177 (or amended into it before merge). Either author can pick that up — happy to spin up a Copilot task to do it once #1177 is in.

Not closing anything here — leaving that to a maintainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs-from-code Copilot initiated issue from dotnet/aspire repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant