Skip to content

Add WithBun() documentation to JavaScript integration page#289

Merged
IEvangelist merged 3 commits intorelease/13.2from
copilot/update-js-content-api
Jan 23, 2026
Merged

Add WithBun() documentation to JavaScript integration page#289
IEvangelist merged 3 commits intorelease/13.2from
copilot/update-js-content-api

Conversation

Copy link
Contributor

Copilot AI commented Jan 23, 2026

Documents the new WithBun() extension method added in dotnet/aspire#13733 for using Bun as a package manager with JavaScript/Vite apps.

Changes

  • Updated intro and Vite app sections to include Bun in supported package managers list
  • Added "Use Bun" section following existing npm/yarn/pnpm pattern:
    • Basic usage and installArgs customization
    • Lockfile detection (bun.lock/bun.lockb) behavior
    • No -- separator needed for script arguments
    • Automatic oven/bun:1 build image for container publishing

Example

var app = builder.AddViteApp("app", "./app")
    .WithBun();

// With custom install args
var customApp = builder.AddViteApp("custom-app", "./custom-app")
    .WithBun(installArgs: ["--frozen-lockfile"]);

Screenshot

Use Bun Section

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/CommunityToolkit/Aspire/contributors
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build (http block)
  • https://api.github.com/repos/dotnet/aspire-samples/contributors
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build (http block)
  • https://api.github.com/repos/dotnet/aspire/contributors
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build (http block)
  • https://api.github.com/repos/microsoft/aspire.dev/contributors
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build (http block)
  • learn.microsoft.com
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build (dns block)
  • telemetry.astro.build
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build (dns block)
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js dev --host log �� %aE ���� --follow p/bin/git ands/aspire-deplgit om/microsoft/asplog e/git git log �� %aE ���� --follow p/bin/git ands/aspire-run.node --follow ../pagefind@1.4 git (dns block)
  • vimeo.com
    • Triggering command: /usr/local/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Implement an update to the existing JS content that details the newly added API: dotnet/aspire#13733


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits January 23, 2026 16:08
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Copilot AI changed the title [WIP] Update JS content for newly added API Add WithBun() documentation to JavaScript integration page Jan 23, 2026
Copilot AI requested a review from IEvangelist January 23, 2026 16:10
@IEvangelist IEvangelist marked this pull request as ready for review January 23, 2026 16:25
@IEvangelist IEvangelist requested a review from eerhardt as a code owner January 23, 2026 16:25
@IEvangelist IEvangelist merged commit 6a336e2 into release/13.2 Jan 23, 2026
1 check passed
@IEvangelist IEvangelist deleted the copilot/update-js-content-api branch January 23, 2026 16:25
IEvangelist added a commit that referenced this pull request Jan 26, 2026
* Initial plan

* Add WithBun() documentation to JavaScript integration page

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

* Update Bun example to use specific version tag

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
IEvangelist added a commit that referenced this pull request Jan 27, 2026
* Initial plan

* Add WithBun() documentation to JavaScript integration page

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

* Update Bun example to use specific version tag

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
IEvangelist added a commit that referenced this pull request Jan 28, 2026
* Initial plan

* Add WithBun() documentation to JavaScript integration page

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

* Update Bun example to use specific version tag

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
IEvangelist added a commit that referenced this pull request Jan 30, 2026
* Initial plan

* Add WithBun() documentation to JavaScript integration page

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

* Update Bun example to use specific version tag

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
IEvangelist added a commit that referenced this pull request Feb 3, 2026
* Initial plan

* Add WithBun() documentation to JavaScript integration page

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

* Update Bun example to use specific version tag

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
IEvangelist added a commit that referenced this pull request Feb 7, 2026
* Initial plan

* Add WithBun() documentation to JavaScript integration page

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

* Update Bun example to use specific version tag

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
IEvangelist added a commit that referenced this pull request Feb 17, 2026
* Initial plan

* Add WithBun() documentation to JavaScript integration page

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

* Update Bun example to use specific version tag

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
IEvangelist added a commit that referenced this pull request Feb 18, 2026
* Initial plan

* Add WithBun() documentation to JavaScript integration page

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

* Update Bun example to use specific version tag

Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants