Skip to content

Ignore Angular 22 and TypeScript 6+ in Dependabot - #750

Merged
fpigeonjr merged 2 commits into
masterfrom
fix/dependabot-ignore-architect-ng22
Sep 24, 2026
Merged

fpigeonjr merged 2 commits into
masterfrom
fix/dependabot-ignore-architect-ng22

Conversation

@fpigeonjr

@fpigeonjr fpigeonjr commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

Add ignore rules in .github/dependabot.yml for @angular/*, @angular-devkit/*, @angular-eslint/*, @gsa-sam/*, angular-eslint, ng-packagr, and ngx-markdown versions >= 22.0.0, plus typescript versions >= 6.0.0 in both root and test-app npm ecosystems.

Motivation and Context

Because @angular-devkit/architect uses a 0.x versioning scheme (0.2102.x for Angular 21.2 vs. 0.2201.x for Angular 22.1), npm semver treats 0.2102.x -> 0.2201.x as a minor version bump rather than a major release.

Furthermore, because .github/dependabot.yml specifies cooldown.semver-major-days: 60, once Angular 22 passed the 60-day threshold, Dependabot opens individual major version bump PRs. These fail CI because the repository is pinned to the Angular 21 toolchain.

These ignore rules instruct Dependabot to suppress automated bumps to Angular 22 and TypeScript 6+ while still allowing legitimate patch/minor updates on the Angular 21 line.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Because @angular-devkit/architect uses a 0.x versioning scheme (0.2102.x for Angular 21.2 vs. 0.2201.x for Angular 22.1), npm semver treats 0.2102.x -> 0.2201.x as a minor bump.

Add ignore rules for @angular-devkit/architect versions on the Angular 22 line (>= 0.2200.0) under both root and test-app npm ecosystem blocks in .github/dependabot.yml as a preventative guardrail while pinned to Angular 21.
@fpigeonjr
fpigeonjr requested a review from a team as a code owner September 23, 2026 22:01
Add ignore rules for @angular/*, @angular-devkit/*, @angular-eslint/*, @gsa-sam/*, angular-eslint, ng-packagr, ngx-markdown versions >= 22.0.0, and typescript >= 6.0.0 under both root and test-app npm ecosystem blocks in .github/dependabot.yml to prevent Dependabot from creating major upgrade PRs while the repository is pinned to Angular 21.
@fpigeonjr fpigeonjr changed the title Ignore Angular DevKit Architect >= 0.2200.0 in Dependabot Ignore Angular 22 and TypeScript 6+ in Dependabot Sep 24, 2026
@fpigeonjr
fpigeonjr merged commit f9cfa86 into master Sep 24, 2026
9 checks passed
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