[docs] Update Bun integration docs for first-party Aspire.Hosting.JavaScript support#1153
Conversation
…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>
Triage note — overlapping with #1177This bot PR and #1177 (authored by @mitchdenny) both edit Recommendation: close this PR in favour of #1177, then fold in the two unique pieces this PR contributes that #1177 doesn't:
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. |
Documents changes from microsoft/aspire#17700 (
@aspire-repo-bot[bot])Targeting
release/13.4based on the source PR milestone13.4.x.Why this PR is needed
Aspire 13.4 promotes Bun hosting to a first-party integration (
BunAppResource) in theAspire.Hosting.JavaScriptpackage. The existingintegrations/frameworks/bun-apps.mdxpage still referenced the deprecatedCommunityToolkit.Aspire.Hosting.Bunpackage. Theintegrations/frameworks/javascript.mdxresource-type list was also missingBunAppResource.What changed
bun-apps.mdx: Removed the Community Toolkit badge and Community Toolkit package reference. Updated the install command toAspire.Hosting.JavaScript. Added anAsidenote 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 toAspire.Hosting.JavaScriptNuGet and the JavaScript hosting reference page.javascript.mdx: AddedBunAppResource(added withAddBunApp/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— updatedsrc/frontend/src/content/docs/integrations/frameworks/javascript.mdx— updated