Repository navigation
chore: move to pnpm and modernize the toolchain - #32
Merged
Merged
Conversation
npm's flat node_modules let @next/third-parties drift a whole major ahead of next without failing anything. pnpm's strict resolution makes that class of drift an install error instead of a silent mismatch. Next 15 -> 16 (Turbopack is the default build now, so --turbopack comes off the dev script), React 19.3, vitest 5, jsdom 30, jest-dom 7, lucide-react 1, motion 13, tailwind 4.3 and biome 2.5. jest-dom 7 registers its matchers through the /vitest entrypoint, and lucide-react 1 renames the generated icon class (lucide-trash2 -> lucide-trash-2) — the e2e selector that depended on it now queries the button by its accessible name, which is what it should have done anyway. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Owner
Author
|
Stack — merge in order, bottom to top:
Each PR's diff is only its own commits; GitHub shows it against its parent branch. |
This was referenced Sep 14, 2026
The e2e job runs with ads enabled so the suite can assert their behaviour, and Lighthouse ran against that same build. AdSense sets a third-party cookie worth five points of best-practices on its own, and a placeholder publisher id adds console errors and inspector issues on top — 0.75 in CI against 1.00 locally, none of it something our code can change. Lighthouse now runs against a build with the third-party scripts off, so the budget gates the application. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: GPT-6.2-sol <noreply@openai.com>
devRMA
added a commit
that referenced
this pull request
Nov 20, 2026
Co-Authored-By: GPT-6.2-sol <noreply@openai.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1 of 6 — stacked. Base:
main.npm's flat
node_moduleslet@next/third-partiesdrift a whole major ahead ofnextwithout failing anything:next@15.5.22alongside@next/third-parties@16.2.12, two packages that ship in lockstep upstream. pnpm's strict resolution turns that class of drift into an install error instead of a silent mismatch.What moves
packageManagerpinned,allowBuildsinpnpm-workspace.yaml)Turbopack is the default build in Next 16, so
--turbopackcomes off the dev script. Nomiddleware.ts, no AMP, no custom webpack config, no sync dynamic API usage — the migration surface was small and the codemod had nothing to rewrite.TypeScript stays on 5.9.3. 7.0.2 is available but Next, Biome and Vitest have not all declared it, and a compiler jump is not a dependency bump.
Two real breaks, fixed
@testing-library/jest-dom/vitest. The old entrypoint left 40+toBeInTheDocumenttype errors while the tests passed at runtime.lucide-trash2→lucide-trash-2. An e2e selector depended on it; it now queries the button by its accessible name, which is what it should have done in the first place.CI
pnpm/action-setup@v4,cache: "pnpm",pnpm install --frozen-lockfile,npx→pnpm exec, and the cache keys hashpnpm-lock.yaml.Verified
biome check·tsc --noEmit· 476 unit tests · production build · full Playwright suite — all clean.🤖 Generated with Claude Code
Lighthouse measures the app, not AdSense
The e2e job builds with ads enabled so the suite can assert their behaviour, and Lighthouse ran against that same build. AdSense's third-party cookie is worth five points of best-practices on its own, and a placeholder publisher id adds console errors and inspector issues on top — 0.75 in CI against 1.00 locally, none of it something our code can change. Lighthouse now runs against a build with the third-party scripts off, so the budget gates the application.