Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,51 @@
version: 2
# Platform-aligned packages are pinned to the platform's major version (and TypeScript to Angular's range).
# Platform upgrades (.NET 11, Angular 23, Node 24) happen deliberately, all packages together, with an ADR.
updates:
- package-ecosystem: nuget
directory: /
schedule: { interval: weekly }
groups: { nuget-minor: { update-types: [minor, patch] } }
ignore:
# Major versions of these track the .NET major (11.x targets .NET 11; e.g. ApiDescription.Server 11
# ships no net10.0 tool and breaks the build-time OpenAPI document).
- dependency-name: "Microsoft.Extensions.*"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Should fix: Microsoft.Extensions.* is too broad. Microsoft.Extensions.AI* (used by AiGateway) is versioned independently of the .NET major, so this glob would also block its legitimate major bumps. Dependabot would stay silent about them, with no warning.

Suggested fix: list the .NET-aligned families explicitly (Microsoft.Extensions.Http.Resilience, Microsoft.Extensions.Diagnostics.Testing, Microsoft.Extensions.Hosting*, Microsoft.Extensions.Configuration*, Microsoft.Extensions.DependencyInjection*, Microsoft.Extensions.Logging*, and so on). Or keep the glob and add Dependabot's allow for Microsoft.Extensions.AI*. Check which packages Directory.Packages.props actually references.

Also note that the ignore rules don't revert the already-merged SqlClient 8.0.0 bump (#31), even though the new comment says EF Core 10 targets 6.x. Please confirm that the build is fine with 8.0.0 or revert it.

update-types: ["version-update:semver-major"]
- dependency-name: "Microsoft.AspNetCore.*"
update-types: ["version-update:semver-major"]
- dependency-name: "Microsoft.EntityFrameworkCore*"
update-types: ["version-update:semver-major"]
# EF Core 10 is built against SqlClient 6.x.
- dependency-name: "Microsoft.Data.SqlClient"
update-types: ["version-update:semver-major"]
- package-ecosystem: npm
directory: /web
schedule: { interval: weekly }
groups: { npm-minor: { update-types: [minor, patch] } }
ignore:
# Angular 22 requires typescript >=6.0 <6.1 (peer dependency of @angular/build and compiler-cli).
- dependency-name: "typescript"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# Angular and its tooling move together, one major at a time (ng update).
- dependency-name: "@angular/*"
update-types: ["version-update:semver-major"]
- dependency-name: "@angular-devkit/*"
update-types: ["version-update:semver-major"]
- dependency-name: "angular-eslint"
update-types: ["version-update:semver-major"]
- dependency-name: "@angular-eslint/*"
update-types: ["version-update:semver-major"]
# Types must match the Node 22 runtime.
- dependency-name: "@types/node"
update-types: ["version-update:semver-major"]
- package-ecosystem: npm
directory: /tests/e2e
schedule: { interval: weekly }
groups: { e2e-minor: { update-types: [minor, patch] } }
ignore:
# Types must match the Node 22 runtime.
- dependency-name: "@types/node"
update-types: ["version-update:semver-major"]
- package-ecosystem: github-actions
directory: /
schedule: { interval: monthly }
2 changes: 2 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ Always run build + tests for every area you touched before declaring a task done
- **Learn:** when a reviewer corrects a repeated mistake, propose a one-line rule for this file or a nested
`CLAUDE.md` in the PR (via `/retro`).
- Do not add new dependencies (NuGet/npm) without noting why in the PR.
- Platform packages (.NET `Microsoft.*`, Angular, TypeScript, `@types/node`) stay on the platform's major line;
`.github/dependabot.yml` ignores their majors. Platform upgrades are a deliberate, all-together change with an ADR.
- Use GitHub only through `gh api` REST calls (`docs/sdlc/github-rest.md`); `gh pr`/`gh issue` use GraphQL,
which cloud sessions block.
- Do not put model names or vendor model IDs in code comments, commits or PR text.