[docs] Support alternative TypeScript AppHost toolchains (Bun, Yarn, pnpm)#746
Merged
IEvangelist merged 3 commits intorelease/13.3from Apr 23, 2026
Merged
Conversation
…pnpm) - Add toolchain detection and declaration section to typescript-apphost.mdx - Update prerequisites.mdx to list all supported package managers - Update aspire-doctor.mdx to mention JavaScript toolchain environment check Documents changes from microsoft/aspire#16162. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
16 tasks
sebastienros
approved these changes
Apr 22, 2026
Contributor
|
This should target 13.3 though |
Contributor
|
I updated the target branch |
IEvangelist
approved these changes
Apr 23, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Aspire docs to reflect new TypeScript AppHost support for alternative Node package-manager toolchains (Bun, Yarn, pnpm) in addition to npm, including detection behavior and aspire doctor validation.
Changes:
- Expanded TypeScript AppHost documentation with a “Package manager toolchain” section (detection, configuration examples, and command mapping).
- Updated prerequisites to list supported package managers and link to install guides.
- Updated
aspire doctordocs to mention JavaScript toolchain validation for TypeScript AppHosts.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/frontend/src/content/docs/app-host/typescript-apphost.mdx | Adds toolchain detection/configuration details and a command substitution table; links to aspire doctor. |
| src/frontend/src/content/docs/get-started/prerequisites.mdx | Updates TypeScript prerequisites to include npm/pnpm/Yarn/Bun and installation links. |
| src/frontend/src/content/docs/reference/cli/commands/aspire-doctor.mdx | Notes that environment checks include JavaScript toolchain validation for TypeScript AppHosts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: David Pine <david.pine@microsoft.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Member
|
Hey @sebastienros - is this supposed to target
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Documents changes from microsoft/aspire#16162 by @sebastienros.
Targeting
main—release/13.3does not yet exist onmicrosoft/aspire.dev, so falling back tomain(resolved from PR milestone "13.3").Why this PR is needed
PR microsoft/aspire#16162 added support for non-npm JavaScript toolchains in TypeScript AppHosts. The CLI now auto-detects Bun, Yarn, and pnpm from
package.jsonpackageManagermetadata and common lockfiles, and substitutes the matching install, run, and watch commands. A newaspire doctorenvironment check was also added for the detected toolchain. The existing docs only mentioned npm (and occasionally pnpm) — users on Bun or Yarn had no guidance.What was changed
Files modified
src/frontend/src/content/docs/app-host/typescript-apphost.mdx— Added a new "Package manager toolchain" section documenting:packageManagerfield inpackage.json, then lockfiles, then parent directory walk (up to 8 levels)package.jsonaspire doctorcheckaspire doctorcommand pagepackage.jsondescription to mention the toolchain-awaredevscriptsrc/frontend/src/content/docs/get-started/prerequisites.mdx— Updated the TypeScript AppHost prerequisite description to list all supported package managers (npm, pnpm, Yarn, Bun) with links to their install pages.src/frontend/src/content/docs/reference/cli/commands/aspire-doctor.mdx— Updated the environment checks bullet to mention JavaScript toolchain validation.