Skip to content

[docs] Yarn Classic (v1) not supported for TypeScript AppHosts - #830

Closed
aspire-repo-bot[bot] wants to merge 1 commit into
release/13.3from
docs/typescript-apphost-yarn-classic-not-supported-fb1776ea734e0a24
Closed

[docs] Yarn Classic (v1) not supported for TypeScript AppHosts#830
aspire-repo-bot[bot] wants to merge 1 commit into
release/13.3from
docs/typescript-apphost-yarn-classic-not-supported-fb1776ea734e0a24

Conversation

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Documents changes from microsoft/aspire#16620 by @eerhardt.

Targeting main because release/13.4 (the source PR's milestone) does not yet exist on microsoft/aspire.dev.

Why this PR is needed

microsoft/aspire#16620 introduced a behavioral change: the Aspire CLI now rejects Yarn Classic (v1) for TypeScript AppHosts. If a Yarn Classic lockfile (# yarn lockfile v1) or packageManager: "yarn@1.x" is detected, the CLI fails early with a clear error message directing users to upgrade to Yarn 4+ or switch to npm, pnpm, or Bun.

The TypeScript AppHost docs previously had no mention of which package managers are supported. This is a user-facing breaking change for Yarn Classic users and warrants documentation.

What changed

Updated src/frontend/src/content/docs/app-host/typescript-apphost.mdx:

  • Added a Supported package managers table listing npm, pnpm, Yarn 4+, and Bun
  • Added a caution Aside explaining that Yarn Classic (v1) is not supported and what to do about it

Files modified

  • src/frontend/src/content/docs/app-host/typescript-apphost.mdx — updated (+15 lines)

Note: This draft PR needs human review before merging.

Generated by PR Documentation Check for issue #16620 · ● 1.9M ·

@aspire-repo-bot aspire-repo-bot Bot added the docs-from-code Copilot initiated issue from dotnet/aspire repo label May 5, 2026
…Hosts

Documents the change introduced in microsoft/aspire#16620, which rejects Yarn Classic
(v1) for TypeScript AppHosts. Adds a supported package managers table and an Aside
warning in the TypeScript AppHost project structure page.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@IEvangelist
David Pine (IEvangelist) force-pushed the docs/typescript-apphost-yarn-classic-not-supported-fb1776ea734e0a24 branch from 9d569b3 to 0d47890 Compare May 5, 2026 16:04
@IEvangelist
David Pine (IEvangelist) changed the base branch from main to release/13.3 May 5, 2026 16:04
@IEvangelist
David Pine (IEvangelist) marked this pull request as ready for review May 5, 2026 16:04
@IEvangelist

Copy link
Copy Markdown
Member

Closing as duplicate

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