Skip to content

fix(compat): resolve Angular CLI canaries by dist-tag#46

Merged
osnoser1 merged 2 commits into
mainfrom
osnoser1/fix-angular-canary-toolchain
Jun 10, 2026
Merged

fix(compat): resolve Angular CLI canaries by dist-tag#46
osnoser1 merged 2 commits into
mainfrom
osnoser1/fix-angular-canary-toolchain

Conversation

@osnoser1

Copy link
Copy Markdown
Member

PR Checklist

Current behavior: the Angular canary compatibility harness resolved @angular/core@next first and then reused that exact framework version for most @angular/* packages. When Angular framework next advanced to 22.1.0-next.0 but CLI-owned packages such as @angular/build remained at 22.0.0, the canary attempted to read npm metadata for a package version that does not exist.

Closes: N/A

What is the new behavior?

  • Treat Angular framework packages as an explicit release-train allowlist for exact version reuse.
  • Resolve CLI-owned packages, including @angular/build and @angular/cli, from their own npm dist-tags.
  • Add focused tests that model the framework/CLI next skew and ensure the resolver never asks for @angular/build@22.1.0-next.0.
  • Document why canary toolchains resolve framework and CLI packages separately.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Verified with:

  • pnpm --filter @limitless-angular/angular-compat test
  • pnpm turbo run test --filter=@limitless-angular/angular-compat
  • pnpm --filter @limitless-angular/angular-compat run compat:assert
  • pnpm --filter @limitless-angular/angular-compat run --silent compat:matrix --canary
  • Live resolver smoke check for angular-next, which now resolves Angular 22.1.0-next.0, @angular/build 22.0.0, and @angular/cli 22.0.0.

[Optional] What gif best describes this PR or how it makes you feel?

@netlify

netlify Bot commented Jun 10, 2026

Copy link
Copy Markdown

Deploy Preview for limitless-angular-sanity-example canceled.

Name Link
🔨 Latest commit 2726142
🔍 Latest deploy log https://app.netlify.com/projects/limitless-angular-sanity-example/deploys/6a29ed8187240d0008732d91

@osnoser1 osnoser1 marked this pull request as ready for review June 10, 2026 23:04
@osnoser1 osnoser1 merged commit 75f5b5a into main Jun 10, 2026
14 checks passed
@osnoser1 osnoser1 deleted the osnoser1/fix-angular-canary-toolchain branch June 10, 2026 23:18
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.

1 participant