Skip to content

Align devkit tooling with Angular 22; group dependabot's angular updates - #5792

Merged
norman-abramovitz merged 2 commits into
cloudfoundry:developfrom
nabramovitz:chore/devkit-angular-22-align
Aug 9, 2026
Merged

Align devkit tooling with Angular 22; group dependabot's angular updates#5792
norman-abramovitz merged 2 commits into
cloudfoundry:developfrom
nabramovitz:chore/devkit-angular-22-align

Conversation

@nabramovitz

Copy link
Copy Markdown
Contributor

The first dependabot sweep from the #5779 config surfaced real debt in unusable slices: the devkit package was left on @angular-devkit 21.2.19 / TypeScript 5.9.2 by the Angular 22 upgrade, and dependabot proposed the catch-up one package at a time. The @angular-devkit set only works in matching versions — each single-package PR produces a mixed set that fails the devkit build with nested-type TS2742 errors (#5781, #5788, #5789 fail exactly this way).

Two commits:

  • Devkit alignment: the four @angular-devkit packages to 22.1.3 in lockstep (architect 0.2201.3) and TypeScript to 6.0.3 — the root toolchain's major, rather than the 7.0.2 dependabot proposed. The devkit installs and builds in isolation (build/ensure-devkit.cjs runs its own npm install + tsc), so this was verified by running that exact sequence locally, plus the full gate.
  • Dependabot config: group @angular*/@schematics/* per ecosystem so lockstep packages arrive as one PR, and ignore TypeScript majors in both ecosystems — those move with framework upgrades, not on their own.

Supersedes #5780, #5781, #5785, #5788, #5789 (will be closed with @dependabot ignore comments). The remaining five root-ecosystem PRs (#5782, #5783, #5784, #5786, #5787) are independently green — the bun ecosystem maintains bun.lock natively — and can merge as-is.

Bump the devkit's @Angular-devkit packages 21.2.19 to 22.1.3 in lockstep
(architect 0.2102.19 to 0.2201.3) and TypeScript 5.9.2 to 6.0.3, the
root toolchain's major. The devkit was left behind by the Angular 22
upgrade; dependabot proposed the same bumps one package at a time, which
cannot build — the @Angular-devkit set only works in matching versions
(mixed sets fail with nested-type TS2742 errors in the devkit build).

Supersedes cloudfoundry#5780, cloudfoundry#5781, cloudfoundry#5788, cloudfoundry#5789 and the TypeScript-7 proposal
in cloudfoundry#5785.
The Angular packages only work in lockstep, so per-package PRs arrive
mutually incompatible; group them per ecosystem. TypeScript majors are
pinned by Angular's supported range and move with framework upgrades,
not on their own — ignore them in both ecosystems.

@norman-abramovitz norman-abramovitz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@norman-abramovitz
norman-abramovitz merged commit e909aad into cloudfoundry:develop Aug 9, 2026
23 checks passed
@nabramovitz
nabramovitz deleted the chore/devkit-angular-22-align branch August 9, 2026 06:34
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