docs/plans/2026-03-28-next-upgrade.md
Upgrade apps/www to the latest stable Next release using the official Next/Vercel upgrade path, then fix any repo-local fallout and verify the app still passes the required checks.
apps/www has custom Next dev aliasing and TS path behavior for workspace packages; do not casually rewrite those configs.next-env.d.ts is generated and may differ between dev and prod typegen paths.apps/www.[email protected].react and react-dom in apps/www from 19.2.3 to 19.2.4.pnpm -C apps/www exec next upgrade . --revision latest --verbose updated manifests and the lockfile, but its internal pnpm install failed on the repo's existing root prepare script (bun x skiller@latest apply -> invalid claude agent config). I finished install sync with pnpm install --ignore-scripts.skiller config in .claude/skiller.toml: skiller now requires canonical agent ids, so claude had to become claude-code in both default_agents and [agents.<id>]..claude/.skiller.json still uses sourceType: "claude" for project-managed items after a successful apply. That field is generated metadata, not the validated config surface.@platejs/dnd: pages that prerender client editor demos (/cn, /dev, /blocks/editor-ai) crashed with Invariant Violation: Expected drag drop context.apps/www; react-dnd hooks were still being called during server prerender. The fix is package-level: @platejs/dnd now returns inert drag/drop connectors when DOM DnD is unavailable.createdAt metadata across server and client.apps/www, but the user wants that normalization moved into the package layer.normalizeNodeId focused on IDs. Export a separate helper from @platejs/core for hydration-safe static demo normalization.apps/www to [email protected] and @next/[email protected].packages/dnd so app routes do not need dynamic(..., { ssr: false }) wrappers just to survive prerender.apps/www into @platejs/core so docs/demo consumers can use a package API instead of app-local glue.prepare path by updating .claude/skiller.toml from claude to claude-code and rerunning bun x skiller@latest apply.bun test packages/dnd/src/components/useDraggable.spec.tsxpnpm --filter @platejs/dnd buildpnpm --filter @platejs/dnd typecheckpnpm -C apps/www buildpnpm -C apps/www typecheckpnpm lint:fixbun x skiller@latest apply