Skip to content

[npm] Update dependencies - #478

Merged
Aloento merged 1 commit into
mainfrom
chore/pnpm-update
Dec 1, 2026
Merged

Aloento merged 1 commit into
mainfrom
chore/pnpm-update

Conversation

@Aloento

@Aloento Aloento commented Dec 1, 2026

Copy link
Copy Markdown
Member

pnpm up --latest: @FluentUI 9.75.3, vite 8.4.0, eslint 10.16.0, typescript-eslint 8.74.0, postcss 8.5.34, plus type packages.

No major versions were available; every package already tracks its latest major.

Verified with pnpm lint and pnpm build.

@Aloento Aloento self-assigned this Dec 1, 2026

@ecosquad-autoreview ecosquad-autoreview Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Summary

Dependency bump PR: @fluentui/react-components 9.75.2→9.75.3, vite 8.3.8→8.4.0, eslint 10.14.0→10.16.0, typescript-eslint 8.72.2→8.74.0, postcss 8.5.32→8.5.34, plus @types/* patch bumps. The package.json changes are straightforward minor/patch updates with no major version jumps, and the second lockfile document's specifiers/versions match package.json (e.g. @fluentui/react-components 9.75.3, vite 8.4.0, eslint 10.16.0, typescript-eslint 8.74.0, postcss 8.5.34, @types/node 26.6.11, @types/react 19.3.3).

However, the lockfile as committed is not a valid pnpm lockfile.

Findings

🔴 Critical — pnpm-lock.yaml contains two concatenated lockfile documents

The file contains two lockfileVersion: '9.0' documents:

  • Lines 1–158: a document whose only importer is configDependencies: {} + packageManagerDependencies: {pnpm: 12.5.1}, and whose only packages are pnpm@12.5.1 and the @pnpm/exe.* platform binaries. This is a lockfile for the pnpm package itself — it contains none of the project's dependencies.
  • Line 159 onward: the actual project lockfile (settings, importers with all real deps, packages, snapshots).

pnpm parses only the first document of a pnpm-lock.yaml. With this file, pnpm install --frozen-lockfile (CI) would either fail the frozen-lockfile check or resolve against a document that has no project dependencies — builds and CI installs will break. This looks like a stray/concatenated artifact (e.g. a lockfile generated in the pnpm repo or a bad merge) rather than output of pnpm install in this project; packageManagerDependencies is not a standard pnpm lockfile key.

Fix: delete lines 1–158 so the file starts with the real project document (or, more safely, delete the file locally and regenerate with pnpm install after the package.json bumps, then verify with pnpm install --frozen-lockfile). If the base branch already contained this structure, it still needs fixing here since this PR rewrites the file anyway.

⚠️ CI not green at review time

The check and Analyze workflows are still running/pending at the head commit, so pnpm lint / pnpm build from the PR description couldn't be independently verified (this environment can't run builds either). Given the lockfile issue above, the install step is the most likely place the CI check job will fail. Please confirm CI goes green after fixing the lockfile.

Suggestion

  • @telekom/scale-components / -react are pinned to 3.0.0-beta.162 — no change in this PR, just noting these are pre-release pins; consider moving off betas when a stable release exists.

Verdict

Request changes — the malformed two-document pnpm-lock.yaml must be fixed before merging, then CI re-run to confirm lint/build pass.

@Aloento Aloento closed this Dec 1, 2026
@Aloento Aloento reopened this Dec 1, 2026

@ecosquad-autoreview ecosquad-autoreview Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Summary

Dependency bump via pnpm up --latest: @fluentui/react-components 9.75.2→9.75.3, @types/lodash 4.17.27→4.17.28, @types/node 26.6.6→26.6.11, @types/react 19.3.0→19.3.3, eslint 10.14.0→10.16.0, postcss 8.5.32→8.5.34, typescript-eslint 8.72.2→8.74.0, vite 8.3.8→8.4.0, all minor/patch within existing majors. No source code changes.

I verified the pnpm-lock.yaml importers section resolves to exactly the versions in package.json (fluentui 9.75.3, @types/node 26.6.11, @types/react 19.3.3, eslint 10.16.0, postcss 8.5.34, typescript-eslint 8.74.0, vite 8.4.0, @types/lodash 4.17.28), so package.json and lockfile are consistent. CI check (install + lint), CodeQL, and GitGuardian all pass.

Verdict: approve — mechanical, consistent bump; no correctness or security concerns in the diff.

Findings

suggestion

  1. Stale minimumReleaseAgeExclude entries (pnpm-workspace.yaml)
    The exclusion list still pins the previous versions (vite@8.3.0, typescript-eslint@8.70.1, @fluentui/react-components@9.74.9, postcss@8.5.15, the @typescript-eslint/*@8.70.1 set, @types/node@25.9.1 || 26.0.0), none of which appear in the new lockfile. This is why the install in CI passed (the new versions were already past the release-age window at check time), but the list no longer reflects what the lockfile actually contains. Fix: prune the dead entries and add the versions currently locked (vite@8.4.0, typescript-eslint@8.74.0 + @typescript-eslint/*@8.74.0, @fluentui/react-components@9.75.3, postcss@8.5.34, @types/node@26.6.11) if they are recent enough to fall inside the minimum-release-age window when installs run.

  2. CI does not run build or tests (.github/workflows/check.yaml)
    The check job only runs pnpm install and pnpm lint; there is no pnpm build or pnpm test step, so the PR description's claim "Verified with pnpm lint and pnpm build" is not enforced by CI. For a repo where vite/eslint major-track updates land frequently, adding pnpm build (and pnpm test) to the check job would catch regressions that lint alone cannot.

  3. TypeScript is not a declared dependency (package.json)
    The lockfile resolves typescript@6.0.3 (auto-installed as a peer via autoInstallPeers: true for typescript-eslint), but package.json has no typescript entry. It's a pre-existing condition, not introduced by this PR, but pinning it as a devDependency would stop the TS version from silently drifting with pnpm's peer resolution.

  4. @types/node 26 vs Node 24 runtime (.github/workflows/check.yaml)
    Types are bumped to ^26.6.11 while CI builds on Node 24. Low risk for types-only, but if you rely on Node-26-specific typings that don't exist in the Node 24 runtime, that mismatch won't be caught until runtime. Consider aligning @types/node major with the CI Node version (or bumping CI to Node 26).

Not blocking

  • The lockfile diff also contains the leading document locking pnpm 12.5.1 and its platform binaries (@pnpm/exe.*) — this is pnpm 12's packageManagerDependencies locking behavior consistent with "packageManager": "pnpm@12.5.1"; harmless.
  • I could not execute install/build/tests in this environment; the assessment of lockfile consistency is based on reading the importers section of pnpm-lock.yaml and the passing CI check run.

@Aloento
Aloento merged commit c1f88fc into main Dec 1, 2026
9 checks passed
@Aloento
Aloento deleted the chore/pnpm-update branch December 1, 2026 11:14
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