Repository navigation
Widen the @arkenv/nextjs React peer range - #1877
Conversation
Replace the published catalog pin with ^18.2.0 || ^19.0.0 so consumers on React 18.2+ and React 19 are not forced onto 19.2.5. Co-authored-by: Yam Borodetsky <[email protected]>
🦋 Changeset detectedLatest commit: 9f3c1eb The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@arkenv/agent-plugin
arkenv
@arkenv/build
@arkenv/bun-plugin
@arkenv/core
@arkenv/fumadocs-ui
@arkenv/nextjs
@arkenv/nuxt
@arkenv/rsbuild-plugin
@arkenv/standard
@arkenv/tanstack-addon
@arkenv/vite-plugin
commit: |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Widen the published React peer —
packages/nextjs/package.jsonnow setspeerDependencies.reactto^18.2.0 || ^19.0.0instead of thecatalog:alias, so pnpm stops baking the exact19.2.5pin into published npm metadata. The range mirrors Next.js's own React peer. - Regression test —
packages/nextjs/src/package.test.tsasserts the published peer literal exactly, so a future revert tocatalog:fails CI rather than silently shipping. - Biome suppression —
packages/nextjs/src/script.tsxadds thenoDangerouslySetInnerHtmlignore onArkEnvScript's intentional SSR env injection (same pattern asfumadocs-ui/apps/www). Not unrelated: per the dev source commit, dropping the catalog alias activates Biome's React domain rules, which flag that injection and breakautofix.ci. - Changeset —
.changeset/widen-nextjs-react-peer.mdcarries the consumer-facing release note matching dev #1842; top-level placement is correct whilev1is in pre mode.
I checked vitest run src/package.test.ts (passes, and the assertion genuinely fails on catalog:), biome check on the changed files (clean), and pnpm install --frozen-lockfile --offline ("Already up to date" — the peer edit needs no lockfile change). The only remaining item from #1868, verifying npm view @arkenv/nextjs@alpha peerDependencies.react after publish, is a post-merge release step, not part of this diff.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

Forward-port of #1833 / #1842 onto
v1. Published@arkenv/nextjswas pinning React to the catalog exact version (19.2.5). This setspeerDependencies.reactto^18.2.0 || ^19.0.0and adds a patch changeset.Parent tracking: #1867
Closes #1868