Repository navigation
deps: move the dev environment to Next 16.4 and Payload 3.94 - #68
Merged
Merged
Conversation
next 15.4.11 -> 16.4.6, payload and @payloadcms/* 3.90.0 -> 3.94.2 (pulls undici 7.30.1), and vite pinned to ^7.3.8 as a direct devDependency so the copy vitest uses is a patched one. pnpm audit goes from 76 advisories (3 critical, 28 high) to 7 (0 critical, 2 high). Next 16 follow-ups in the dev app: next-env.d.ts is rewritten by every dev/build run and is no longer tracked, AGENTS.md generation is turned off, the import map is regenerated for Payload 3.94, and the dev script drops the --turbo flag because Turbopack is the default. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0122PV8TJ7ELGdAX7H2hdrRU
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. |
The type-level tests compare the exported types with this file, so it is kept in step with the installed Payload version. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0122PV8TJ7ELGdAX7H2hdrRU
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.
Dev dependencies only; the published
peerDependenciesare unchanged. Supersedes #61 (next 15.4.11 → 15.5.29, a version@payloadcms/nextdoes not accept).Changes
nextpayload,@payloadcms/next,@payloadcms/ui,@payloadcms/db-sqlite,@payloadcms/richtext-lexicalvite(new direct devDependency, was only resolved through vitest)vitestwas already on 4.1.12. Payload moves along because 3.90.0 pinsundici7.29.0 exactly, and 3.94.2 is the release that both accepts Next 16.4 and ships the patchedundici.Next 16 follow-ups in the dev app:
dev/next-env.d.tsis rewritten by everynext dev/next build(it now imports generated route types from.next/), so it is untracked, git-ignored and no longer listed in the roottsconfig.json.agentRules: falseindev/next.config.mjs, otherwisenext devwrites adev/AGENTS.md.pnpm devdrops--turbo: Turbopack is the default.CollectionCards).pnpm auditBefore: 76 advisories (3 critical, 28 high, 38 moderate, 7 low). After: 7 (0 critical, 2 high, 4 moderate, 1 low), none from Next:
happy-dom20.14.6@payloadcms/richtext-lexical→@lexical/headlessesbuild0.18.20@payloadcms/db-sqlite→drizzle-kit→@esbuild-kit/esm-loaderfile-type20.5.0@swc/cli→@xhmikosr/downloader@swc/climinimatch9.0.9@payloadcms/eslint-config→@typescript-eslint@eslint/plugin-kit0.2.8@payloadcms/eslint-config→eslint9.14All are in dev tooling; none ship with the package.
Checks
pnpm lint(0 errors),npx tsc --noEmit,pnpm build,pnpm test(85 passing) on the new versions.pnpm devon Next 16.4.6: login,/admin,/admin/feature-flags-overview,/admin/collections/feature-flags,/and/api/feature-flags/evaluateall answer 200 with the seeded flags, with no import map warnings.🤖 Generated with Claude Code
https://claude.ai/code/session_0122PV8TJ7ELGdAX7H2hdrRU