Skip to content

Modernize dependencies (next 16.2, ts 6, next-plausible 4, @vercel/analytics 2)#55

Merged
lwwmanning merged 1 commit intomainfrom
claude/goofy-bhabha-617d77
May 4, 2026
Merged

Modernize dependencies (next 16.2, ts 6, next-plausible 4, @vercel/analytics 2)#55
lwwmanning merged 1 commit intomainfrom
claude/goofy-bhabha-617d77

Conversation

@lwwmanning
Copy link
Copy Markdown
Contributor

@lwwmanning lwwmanning commented May 4, 2026

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-plausible v4.

Bumps

Majors:

Package From To
next 16.1.5 16.2.4
typescript ^5.9.3 ^6.0.3
@types/node ^24.10.1 ^25.6.0
@vercel/analytics ^1.6.1 ^2.0.1
next-plausible ^3.12.5 ^4.0.0

Minor/patch sweep (≥14 days old, respecting the Dependabot cooldown):

  • react / react-dom 19.2.4 → 19.2.5
  • @types/react 19.2.7 → 19.2.14
  • @next/mdx 16.0.7 → 16.2.4
  • tailwindcss + @tailwindcss/postcss ^4.1.17 → 4.2.3 (exact-pinned)
  • resend ^6.6.0 → ^6.12.2
  • rehype-pretty-code ^0.14.1 → ^0.14.3

Migration notes

Most TS-6 / Next-16 migration chores already landed in #47tsconfig.json has no baseUrl, already uses jsx: react-jsx, already includes .next/dev/types/**/*.ts. No middleware.ts to rename, no bun-types indirection. So the only real code changes are for next-plausible v4:

  • v4 uses Plausible script v2's site-specific URL (e.g. https://plausible.io/js/pa-XXXXX.js) instead of the legacy data-domain attribute.
  • Env var renamed: NEXT_PUBLIC_PLAUSIBLE_DOMAINNEXT_PUBLIC_PLAUSIBLE_SCRIPT_SRC.
  • Both 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.
  • CSP unchanged — script still served from plausible.io.

@vercel/analytics v2 is drop-in for the bare <Analytics /> call in layout.tsx. @types/node 25 brings in undici-types 7 — no code touches Node typings directly.

Post-merge (manual)

  1. In Vercel project env, set NEXT_PUBLIC_PLAUSIBLE_SCRIPT_SRC to the URL from the Plausible dashboard for vortex.dev.
  2. Remove NEXT_PUBLIC_PLAUSIBLE_DOMAIN.
  3. Trigger redeploy; confirm Plausible events arrive in the dashboard.

The 7 superseded Dependabot PRs (#11, #49, #50, #51, #52, #53, #54) should be closed after this merges.

Test plan

  • `bun run check:ci` (Biome) — clean
  • `bun run build` (Next 16.2.4 + Turbopack) — clean
  • `bun run typecheck` (TS 6.0.3) — clean
  • `bun run verify` smoke suite — 15/15 passed (sitemap, robots, RSS feeds, OG, canonicals, internal links)
  • Local sanity: `/`, `/blog`, `/blog/welcome` all 200; no Plausible script in HTML when env unset (correct no-op)
  • CI green
  • Post-merge: Plausible env var set in Vercel + redeploy verified

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
vortex Ready Ready Preview, Comment May 4, 2026 5:46pm

Request Review

@lwwmanning lwwmanning changed the title Modernize deps to sister-site parity (next 16.2, ts 6, next-plausible 4) Modernize dependencies (next 16.2, ts 6, next-plausible 4, @vercel/analytics 2) May 4, 2026
@lwwmanning lwwmanning force-pushed the claude/goofy-bhabha-617d77 branch from 4ebb99e to 3450465 Compare May 4, 2026 17:43
…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>
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