Skip to content
Closed
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
2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@angular/localize": "20.3.30",
"@angular/platform-browser": "20.3.30",
"@angular/platform-browser-dynamic": "20.3.30",
"@angular/router": "20.3.30",
"@angular/router": "20.3.33",

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.

R881f0f [high] Dependency bump shipped without pnpm-lock.yaml update — frozen-lockfile CI installs fail

package.json now requires @angular/router 20.3.33 but pnpm-lock.yaml is unchanged: the packages/frontend importer still records specifier/version 20.3.30 (lockfile lines ~533-535, package entry '@angular/router@20.3.30' at line 1945). Every CI job installs with --frozen-lockfile (.github/workflows/unit-tests.yml:33,69,111,150,184,218,252,287 — line 150 is the frontend job), so pnpm aborts with ERR_PNPM_OUTDATED_LOCKFILE and the whole pipeline goes red; the PR cannot build, test, or merge on a green gate.

Suggested fix: Run pnpm install at the repo root to regenerate pnpm-lock.yaml for the 20.3.33 specifier and commit it in this PR (or comment @dependabot rebase, which normally recreates the branch with the lockfile update).

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.

R842a50 [medium] Router bumped alone violates its exact-pinned peers — @angular/core/common/platform-browser stay at 20.3.30

@angular/router@20.3.33 declares exact peerDependencies @angular/core@20.3.33, @angular/common@20.3.33 and @angular/platform-browser@20.3.33 (verified on the npm registry), but the manifest keeps those packages — and forms, compiler, platform-browser-dynamic, compiler-cli — pinned at 20.3.30. .npmrc does not set strict-peer-dependencies, so once the lockfile is regenerated the install only warns, leaving the frontend running an Angular version mix the framework does not support (Angular ships in lockstep; ng-update groups these packages), with a real risk of subtle runtime router bugs and noisy unmet-peer diagnostics for every future install.

Suggested fix: Bump the whole @angular/* framework set in packages/frontend (core, common, compiler, platform-browser, platform-browser-dynamic, forms, animations, localize, compiler-cli) to 20.3.33 in the same change, as Angular's lockstep versioning requires.

"@babel/runtime": "^7.29.7",
"@domifa/common": "workspace:^",
"@edugouvfr/ngx-dsfr": "1.19.2",
Expand Down
Loading