Skip to content

fix(demo): regenerate next-server-components lockfile for next 16.3.1 - #265

Merged
innerdvations merged 1 commit into
mainfrom
fix/demo-next-lockfile
Nov 3, 2026
Merged

innerdvations merged 1 commit into
mainfrom
fix/demo-next-lockfile

Conversation

@giu1io

@giu1io giu1io commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

What does it do?

Regenerates demo/next-server-components/pnpm-lock.yaml with pnpm install --lockfile-only (pnpm 9.1.0) so it matches that demo's package.json. The lockfile now resolves next to 16.3.1 (with its updated transitive dependencies, e.g. @img/sharp-* 0.35.5) instead of 16.2.9.

Why is it needed?

main is red since 6838d25 (#260). That PR bumped next to 16.3.1 in demo/next-server-components/package.json, but it was rebuilt on main by our Dependabot merge loop. The rebuild regenerated the root pnpm-lock.yaml instead of the demo's own lockfile, and was merged before CI finished. Since then every cache-and-install job fails with:

ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with package.json

This blocks every open PR, including #255.

How to test it?

  • CI cache-and-install (node 20/22/24) passes on this PR.
  • Locally: pnpm install --frozen-lockfile --lockfile-only passes in the root and in demo/next-server-components, demo/node-javascript, demo/node-typescript and demo/react-vite.

Related issue(s)/PR(s)

Note: demo/.strapi-app/pnpm-lock.yaml fails to parse on its own (ERR_PNPM_BROKEN_LOCKFILE: duplicated mapping key). That predates this change, CI doesn't install it, and it is left untouched here.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@giu1io giu1io self-assigned this Nov 2, 2026
@giu1io
giu1io requested a review from innerdvations November 2, 2026 17:37
@innerdvations innerdvations added pr: fix Bug fix source: client-demo Source is the client demos labels Nov 3, 2026
@innerdvations
innerdvations merged commit 5870379 into main Nov 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: fix Bug fix source: client-demo Source is the client demos

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants