fix: widen @arkenv/nextjs React peer range - #1833
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🦋 Changeset detectedLatest commit: 0012f3d 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
@arkenv/build
@arkenv/bun-plugin
@arkenv/cli
@arkenv/fumadocs-ui
@arkenv/nextjs
@arkenv/nuxt
@arkenv/vite-plugin
commit: |
📦 Bundle Size Report
✅ All size limits passed! |
There was a problem hiding this comment.
Important
The range change itself is correct (it matches Next.js 16's own React peer range), but the PR is missing a changeset — without one @arkenv/nextjs will never be version-bumped and the fix will not reach npm consumers.
Reviewed changes — single-commit fix (e580178) touching only packages/nextjs/package.json:35, replacing the react: "catalog:" peer alias (resolved to a single React version in published metadata) with the explicit supported range "^18.2.0 || ^19.0.0".
- Widened
@arkenv/nextjsReact peer range from a catalog-pinned single version to^18.2.0 || ^19.0.0.
⚠️ Missing changeset — the fix will not be released
The change is inert unless @arkenv/nextjs is version-bumped. The Changesets release action only bumps packages that carry a changeset, and .changeset/ currently holds no pending changeset files. Merged as-is, the published metadata keeps the old catalog pin and the consumer ERESOLVE this PR targets stays broken — the entire goal of the PR. The sibling @arkenv/nuxt peer-range fix (#1706) shipped exactly this kind of changeset (.changeset/fix-nuxt-peer-dependencies.md, "@arkenv/nuxt": patch).
Technical details
# Add a changeset for the @arkenv/nextjs peer range fix
## Affected sites
- Missing `.changeset/<name>.md` — `.changeset/` currently contains only `README.md` and `config.json`.
## Required outcome
- Add a changeset bumping `@arkenv/nextjs` with `patch` (v0 package, non-breaking fix),
using an imperative-mood summary, e.g.:
```md
---
"@arkenv/nextjs": patch
---
#### Widen the React peer dependency range
Replace the workspace `catalog:` alias for the published React peer dependency
with `"^18.2.0 || ^19.0.0"` so installs are not pinned to a single React version.
```
## Suggested approach
- Run `pnpm changeset`, select `@arkenv/nextjs`, choose `patch`.
## Notes
- Do not reference GitHub issue numbers in the changeset body.DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — incremental delta since the prior Pullfrog review (head c40216c). The only substantive change is the addition of the previously-missing changeset, which resolves the prior review's one blocking concern.
- Added
.changeset/widen-nextjs-react-peer.mdbumping@arkenv/nextjswith apatch— exactly the changeset the prior review requested, so the peer-range fix will now be version-bumped and reach npm consumers. - Merged
devinto the branch (bringing#1838, a CI-only Vercel CLI change); no overlap with this PR's scope and no changes topackages/nextjs/package.jsonor.changeset/from the merge.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
…iden Widening the React peer from catalog: enables Biome's React domain rules, which flags ArkEnvScript's intentional SSR env injection as an error and breaks autofix.ci. Suppress with the same pattern used in fumadocs-ui. Co-authored-by: Yam Borodetsky <hi@yam.codes>
## Summary - remove the unused `error` binding from `scripts/verify-artifacts.js` - preserve the existing size-limit failure handling Fixes the pre-existing Biome autofix/lint failure identified in #1833. ## Validation - `npx --yes @biomejs/biome@2.5.11 check scripts/verify-artifacts.js` - `node --check scripts/verify-artifacts.js` - `git diff --check` Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to dev, this PR will be updated. # Releases ## @arkenv/nextjs@0.1.6 ### Patch Changes - #### Widen the React peer dependency range _[`#1833`](#1833) [`230ed72`](230ed72) [@yamcodes](https://github.com/yamcodes)_ Allow `@arkenv/nextjs` to work with React 18.2.0 and later in the React 18 line, as well as every React 19 release, instead of requiring React 19.2.5. Install it alongside a supported React version, such as `pnpm add @arkenv/nextjs react@^18.2.0`. Co-authored-by: arkenv-bot[bot] <237618717+arkenv-bot[bot]@users.noreply.github.com>

Summary
Fix the React peer dependency conflict affecting Next.js example installs.
Root cause
@arkenv/nextjsused the pnpm workspace-onlycatalog:alias for its published React peer dependency. The resulting npm metadata pinned React to19.2.5, conflicting with projects using React19.2.8and causingERESOLVEduring installs.Fix
Set the peer dependency to the supported React range:
This matches Next.js's supported React range and allows the examples to resolve successfully.