Modernize dependencies (next 16.2, ts 6, next-plausible 4, @vercel/analytics 2)#55
Merged
lwwmanning merged 1 commit intomainfrom May 4, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
4ebb99e to
3450465
Compare
…alytics 2) Single consolidated bump that supersedes the seven open Dependabot PRs (#11, #49–54) with one coherent change. Lifts framework majors to current and includes the necessary code migration for next-plausible v4. Major bumps: - next 16.1.5 → 16.2.4 - typescript 5.9.3 → 6.0.3 (drop-in: tsconfig already TS-6 ready, no baseUrl) - @types/node 24.10.1 → 25.6.0 - @vercel/analytics 1.6.1 → 2.0.1 (drop-in: bare <Analytics /> API unchanged) - next-plausible 3.12.5 → 4.0.0 (migration: see below) Minor/patch sweep (≥14 days old, respecting the dependabot cooldown): react 19.2.5, @types/react 19.2.14, @next/mdx 16.2.4, tailwindcss 4.2.3 (exact-pinned), @tailwindcss/postcss 4.2.3, resend 6.12.2, rehype-pretty-code 0.14.3. next-plausible v4 migration: v4 uses Plausible script v2's site-specific URL instead of the legacy data-domain attribute. Renamed NEXT_PUBLIC_PLAUSIBLE_DOMAIN → NEXT_PUBLIC_PLAUSIBLE_SCRIPT_SRC and made both the withPlausibleProxy wrapper and PlausibleProvider conditional on the env var so local dev (no env) builds and renders cleanly. CSP unchanged — script still served from plausible.io. Post-merge: set NEXT_PUBLIC_PLAUSIBLE_SCRIPT_SRC in Vercel (URL from the Plausible dashboard for vortex.dev), remove NEXT_PUBLIC_PLAUSIBLE_DOMAIN. Verified: check:ci, build, typecheck, verify (15/15 passed). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Will Manning <will@willmanning.io>
3450465 to
ce6470f
Compare
This was referenced May 4, 2026
Closed
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.
Summary
Single consolidated dependency bump that supersedes the seven open Dependabot PRs (#11, #49, #50, #51, #52, #53, #54) with one coherent change. Lifts the framework majors to current and includes the necessary code migration for
next-plausiblev4.Bumps
Majors:
nexttypescript@types/node@vercel/analyticsnext-plausibleMinor/patch sweep (≥14 days old, respecting the Dependabot cooldown):
react/react-dom19.2.4 → 19.2.5@types/react19.2.7 → 19.2.14@next/mdx16.0.7 → 16.2.4tailwindcss+@tailwindcss/postcss^4.1.17 → 4.2.3 (exact-pinned)resend^6.6.0 → ^6.12.2rehype-pretty-code^0.14.1 → ^0.14.3Migration notes
Most TS-6 / Next-16 migration chores already landed in #47 —
tsconfig.jsonhas nobaseUrl, already usesjsx: react-jsx, already includes.next/dev/types/**/*.ts. Nomiddleware.tsto rename, nobun-typesindirection. So the only real code changes are for next-plausible v4:https://plausible.io/js/pa-XXXXX.js) instead of the legacydata-domainattribute.NEXT_PUBLIC_PLAUSIBLE_DOMAIN→NEXT_PUBLIC_PLAUSIBLE_SCRIPT_SRC.withPlausibleProxy()(next.config.mjs) and<PlausibleProvider>(src/app/layout.tsx) are now conditional on the env var so local dev without analytics still builds and renders cleanly.plausible.io.@vercel/analyticsv2 is drop-in for the bare<Analytics />call inlayout.tsx.@types/node25 brings inundici-types7 — no code touches Node typings directly.Post-merge (manual)
NEXT_PUBLIC_PLAUSIBLE_SCRIPT_SRCto the URL from the Plausible dashboard forvortex.dev.NEXT_PUBLIC_PLAUSIBLE_DOMAIN.The 7 superseded Dependabot PRs (#11, #49, #50, #51, #52, #53, #54) should be closed after this merges.
Test plan
🤖 Generated with Claude Code