Skip to content

fix: Peer range @arkenv/core ^1.0.0 excludes the only published versions - #2069

Merged
yamcodes merged 1 commit into
v1from
cursor/widen-core-peer-ranges-8d93
Oct 10, 2026
Merged

yamcodes merged 1 commit into
v1from
cursor/widen-core-peer-ranges-8d93

Conversation

@yamcodes

@yamcodes yamcodes commented Oct 10, 2026 •

Copy link
Copy Markdown
Owner

Fixes #2034

Optional @arkenv/core and @arkenv/standard peers on the Next.js, Nuxt, Vite, Bun, and Rsbuild plugins now use ^1.0.0-0. A bare ^1.0.0 range matches no published prerelease, so npm overrides those peers when installing a plugin with @arkenv/core@1.0.0-rc.4.

The peers stay optional. ADR 0012 records the -0 floor, including that a later prerelease such as 1.1.0-rc.0 does not match, and why this is preferred to workspace:^.

Verification

  • Unit test reads each plugin manifest and checks the range with npm's bundled semver (1.0.0-rc.4 and stable 1.0.0 match; 2.0.0 and 1.1.0-rc.0 do not).
  • npm 11.19 packed a fixture whose peers were copied from the local @arkenv/nuxt manifest and installed it with @arkenv/core@1.0.0-rc.4 and @arkenv/standard@1.0.0-rc.4. The install exited 0 with no ETARGET and no overridden peer. The same install with ^1.0.0 warned ERESOLVE overriding peer dependency.
  • nub run typecheck passed, and nub run test -- --run passed (186 files, 1640 tests).
Open in Web Open in Cursor 

Optional @arkenv/core and @arkenv/standard peers now use ^1.0.0-0 so npm can
resolve the published release candidates.

Fixes #2034

Co-authored-by: Yam Borodetsky <hi@yam.codes>
@changeset-bot

changeset-bot Bot commented Oct 10, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: e267924

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@arkenv/nextjs Patch
@arkenv/nuxt Patch
@arkenv/vite-plugin Patch
@arkenv/bun-plugin Patch
@arkenv/rsbuild-plugin Patch

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

@github-actions github-actions Bot added docs Adds or changes documentation, or acts as documentation in and of itself @arkenv/vite-plugin Issues or Pull Requests involving the Vite plugin for ArkEnv @arkenv/bun-plugin Issues or Pull Requests involving the Bun plugin for ArkEnv @arkenv/nextjs Issues or Pull Requests involving the Next.js integration for ArkEnv @arkenv/nuxt Issues or Pull Requests involving the Nuxt integration for ArkEnv labels Oct 10, 2026
@pkg-pr-new

pkg-pr-new Bot commented Oct 10, 2026

Copy link
Copy Markdown

Open in StackBlitz

@arkenv/agent-plugin

npm i https://pkg.pr.new/@arkenv/agent-plugin@2069

arkenv

npm i https://pkg.pr.new/arkenv@2069

@arkenv/build

npm i https://pkg.pr.new/@arkenv/build@2069

@arkenv/bun-plugin

npm i https://pkg.pr.new/@arkenv/bun-plugin@2069

@arkenv/core

npm i https://pkg.pr.new/@arkenv/core@2069

@arkenv/fumadocs-ui

npm i https://pkg.pr.new/@arkenv/fumadocs-ui@2069

@arkenv/nextjs

npm i https://pkg.pr.new/@arkenv/nextjs@2069

@arkenv/nuxt

npm i https://pkg.pr.new/@arkenv/nuxt@2069

@arkenv/rsbuild-plugin

npm i https://pkg.pr.new/@arkenv/rsbuild-plugin@2069

@arkenv/standard

npm i https://pkg.pr.new/@arkenv/standard@2069

@arkenv/tanstack-addon

npm i https://pkg.pr.new/@arkenv/tanstack-addon@2069

@arkenv/vite-plugin

npm i https://pkg.pr.new/@arkenv/vite-plugin@2069

commit: e267924

@yamcodes yamcodes added @arkenv/standard Issues or Pull Requests involving @arkenv/standard bug Something isn't working dependencies Pull requests that update a dependency file labels Oct 10, 2026 — with Cursor
@arkenv-bot

arkenv-bot Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

📦 Bundle Size Report

Package Size Limit Diff Status
@arkenv/vite-plugin 1.46 kB 7.81 kB 0.0% ✅
@arkenv/rsbuild-plugin 1.44 kB 7.81 kB 0.0% ✅
@arkenv/nextjs 1.21 kB 2.93 kB 0.0% ✅
@arkenv/nextjs/config 3.71 kB 5.86 kB 0.0% ✅
@arkenv/bun-plugin 1.29 kB 7.81 kB 0.0% ✅

✅ All size limits passed!

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Widened the optional @arkenv/core / @arkenv/standard peer range from ^1.0.0 to ^1.0.0-0 on the Next.js, Nuxt, Vite, Bun, and Rsbuild plugins. The peers stay optional and the dev workspace:* links are unchanged.
  • Documented the -0 prerelease-inclusive floor in ADR 0012 (wide-peer section and the dependency-protocol table), including that 1.1.0-rc.0 still does not match and why this beats workspace:^.
  • Added scripts/framework-core-peers.test.js, which reads all five manifests and verifies the range semantics against npm's bundled semver.
  • Added a patch changeset at .changeset/core-peer-prerelease-floor.md covering the five plugins (at the changeset root, not under pre/).

I checked the range against npm's bundled semver (7.8.4): ^1.0.0-0 matches 1.0.0-alpha.2, 1.0.0-rc.4, and stable 1.0.0 / 1.0.1 / 1.1.0, and excludes 2.0.0, 2.0.0-0, and 1.1.0-rc.0, while the bare ^1.0.0 misses 1.0.0-rc.4. These five plugins are the only workspace packages declaring these peers — @arkenv/tanstack-addon only devDepends on them, and @arkenv/agent-plugin / @arkenv/build declare no such peers — so the set is complete.

Pullfrog  | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

@yamcodes
yamcodes merged commit 222d8e9 into v1 Oct 10, 2026
24 checks passed
@yamcodes
yamcodes deleted the cursor/widen-core-peer-ranges-8d93 branch October 10, 2026 03:58
@arkenv-bot arkenv-bot Bot mentioned this pull request Oct 10, 2026
yamcodes pushed a commit that referenced this pull request Oct 10, 2026
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 v1, this PR will
be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`v1` is currently in **pre mode** so this branch has prereleases rather
than normal releases. If you want to exit prereleases, run `changeset
pre exit` on `v1`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @arkenv/bun-plugin@1.0.0-rc.5

### Patch Changes

- #### Include 1.0.0 prereleases in framework plugin core peers
_[`#2069`](#2069)
[`222d8e9`](222d8e9)
[@yamcodes](https://github.com/yamcodes)_

	
Optional `@arkenv/core` and `@arkenv/standard` peers on the Next.js,
Nuxt,
	Vite, Bun, and Rsbuild plugins now use `^1.0.0-0`. Installing a plugin
together with `@arkenv/core@1.0.0-rc.4` and
`@arkenv/standard@1.0.0-rc.4`
	resolves on npm 11. The peers stay optional. The range matches `1.0.0`
	prereleases and stable 1.x below `2.0.0`.
	
	```bash
npm install @arkenv/nuxt @arkenv/core@1.0.0-rc.4
@arkenv/standard@1.0.0-rc.4
	```
	
	```json
	{
	  "peerDependencies": {
	    "@arkenv/core": "^1.0.0-0",
	    "@arkenv/standard": "^1.0.0-0"
	  },
	  "peerDependenciesMeta": {
	    "@arkenv/core": { "optional": true },
	    "@arkenv/standard": { "optional": true }
	  }
	}
	```
## @arkenv/nextjs@1.0.0-rc.5

### Patch Changes

- #### Include 1.0.0 prereleases in framework plugin core peers
_[`#2069`](#2069)
[`222d8e9`](222d8e9)
[@yamcodes](https://github.com/yamcodes)_

	
Optional `@arkenv/core` and `@arkenv/standard` peers on the Next.js,
Nuxt,
	Vite, Bun, and Rsbuild plugins now use `^1.0.0-0`. Installing a plugin
together with `@arkenv/core@1.0.0-rc.4` and
`@arkenv/standard@1.0.0-rc.4`
	resolves on npm 11. The peers stay optional. The range matches `1.0.0`
	prereleases and stable 1.x below `2.0.0`.
	
	```bash
npm install @arkenv/nuxt @arkenv/core@1.0.0-rc.4
@arkenv/standard@1.0.0-rc.4
	```
	
	```json
	{
	  "peerDependencies": {
	    "@arkenv/core": "^1.0.0-0",
	    "@arkenv/standard": "^1.0.0-0"
	  },
	  "peerDependenciesMeta": {
	    "@arkenv/core": { "optional": true },
	    "@arkenv/standard": { "optional": true }
	  }
	}
	```
## @arkenv/nuxt@1.0.0-rc.5

### Patch Changes

- #### Include 1.0.0 prereleases in framework plugin core peers
_[`#2069`](#2069)
[`222d8e9`](222d8e9)
[@yamcodes](https://github.com/yamcodes)_

	
Optional `@arkenv/core` and `@arkenv/standard` peers on the Next.js,
Nuxt,
	Vite, Bun, and Rsbuild plugins now use `^1.0.0-0`. Installing a plugin
together with `@arkenv/core@1.0.0-rc.4` and
`@arkenv/standard@1.0.0-rc.4`
	resolves on npm 11. The peers stay optional. The range matches `1.0.0`
	prereleases and stable 1.x below `2.0.0`.
	
	```bash
npm install @arkenv/nuxt @arkenv/core@1.0.0-rc.4
@arkenv/standard@1.0.0-rc.4
	```
	
	```json
	{
	  "peerDependencies": {
	    "@arkenv/core": "^1.0.0-0",
	    "@arkenv/standard": "^1.0.0-0"
	  },
	  "peerDependenciesMeta": {
	    "@arkenv/core": { "optional": true },
	    "@arkenv/standard": { "optional": true }
	  }
	}
	```
- #### Compile the Nuxt schema into the Nitro server bundle
_[`#2073`](#2073)
[`f882c42`](f882c42)
[@yamcodes](https://github.com/yamcodes)_

	
Production startup and prerender now validate the schema compiled into
the server bundle. A copied `.output` directory no longer reads the
build-machine `env.ts` and no longer needs `jiti`. Live `NUXT_*` and
`NUXT_PUBLIC_*` overrides, including empty strings, still win over
values baked at build time.
- #### Fix Nuxt 4.6 `nitro:config` hook types
_[`#2040`](#2040)
[`17ff351`](17ff351)
[@renovate](https://github.com/apps/renovate)_

	
`@arkenv/nuxt` typechecks again with Nuxt 4.6. The module no longer
redeclares the `nitro:config` hook, which now uses Nuxt's `NitroConfig`
type, and still registers the server boot alias on that hook.
## @arkenv/rsbuild-plugin@1.0.0-rc.5

### Patch Changes

- #### Include 1.0.0 prereleases in framework plugin core peers
_[`#2069`](#2069)
[`222d8e9`](222d8e9)
[@yamcodes](https://github.com/yamcodes)_

	
Optional `@arkenv/core` and `@arkenv/standard` peers on the Next.js,
Nuxt,
	Vite, Bun, and Rsbuild plugins now use `^1.0.0-0`. Installing a plugin
together with `@arkenv/core@1.0.0-rc.4` and
`@arkenv/standard@1.0.0-rc.4`
	resolves on npm 11. The peers stay optional. The range matches `1.0.0`
	prereleases and stable 1.x below `2.0.0`.
	
	```bash
npm install @arkenv/nuxt @arkenv/core@1.0.0-rc.4
@arkenv/standard@1.0.0-rc.4
	```
	
	```json
	{
	  "peerDependencies": {
	    "@arkenv/core": "^1.0.0-0",
	    "@arkenv/standard": "^1.0.0-0"
	  },
	  "peerDependenciesMeta": {
	    "@arkenv/core": { "optional": true },
	    "@arkenv/standard": { "optional": true }
	  }
	}
	```
## @arkenv/vite-plugin@1.0.0-rc.5

### Patch Changes

- #### Include 1.0.0 prereleases in framework plugin core peers
_[`#2069`](#2069)
[`222d8e9`](222d8e9)
[@yamcodes](https://github.com/yamcodes)_

	
Optional `@arkenv/core` and `@arkenv/standard` peers on the Next.js,
Nuxt,
	Vite, Bun, and Rsbuild plugins now use `^1.0.0-0`. Installing a plugin
together with `@arkenv/core@1.0.0-rc.4` and
`@arkenv/standard@1.0.0-rc.4`
	resolves on npm 11. The peers stay optional. The range matches `1.0.0`
	prereleases and stable 1.x below `2.0.0`.
	
	```bash
npm install @arkenv/nuxt @arkenv/core@1.0.0-rc.4
@arkenv/standard@1.0.0-rc.4
	```
	
	```json
	{
	  "peerDependencies": {
	    "@arkenv/core": "^1.0.0-0",
	    "@arkenv/standard": "^1.0.0-0"
	  },
	  "peerDependenciesMeta": {
	    "@arkenv/core": { "optional": true },
	    "@arkenv/standard": { "optional": true }
	  }
	}
	```

Co-authored-by: arkenv-bot[bot] <237618717+arkenv-bot[bot]@users.noreply.github.com>
@arkenv-bot arkenv-bot Bot mentioned this pull request Oct 10, 2026
renovate Bot added a commit that referenced this pull request Oct 15, 2026
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [@arkenv/nextjs](https://arkenv.js.org)
([source](https://redirect.github.com/yamcodes/arkenv)) | [`1.0.0-rc.4`
→
`1.0.0-rc.5`](https://renovatebot.com/diffs/npm/@arkenv%2fnextjs/1.0.0-rc.4/1.0.0-rc.5)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@arkenv%2fnextjs/1.0.0-rc.5?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@arkenv%2fnextjs/1.0.0-rc.4/1.0.0-rc.5?slim=true)
|
| [@arkenv/vite-plugin](https://arkenv.js.org)
([source](https://redirect.github.com/yamcodes/arkenv)) | [`1.0.0-rc.4`
→
`1.0.0-rc.5`](https://renovatebot.com/diffs/npm/@arkenv%2fvite-plugin/1.0.0-rc.4/1.0.0-rc.5)
|
![age](https://developer.mend.io/api/mc/badges/age/npm/@arkenv%2fvite-plugin/1.0.0-rc.5?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@arkenv%2fvite-plugin/1.0.0-rc.4/1.0.0-rc.5?slim=true)
|

---

### Release Notes

<details>
<summary>yamcodes/arkenv (@&#8203;arkenv/nextjs)</summary>

###
[`v1.0.0-rc.5`](https://redirect.github.com/yamcodes/arkenv/releases/tag/%40arkenv/nextjs%401.0.0-rc.5)

[Compare
Source](https://redirect.github.com/yamcodes/arkenv/compare/@arkenv/nextjs@1.0.0-rc.4...@arkenv/nextjs@1.0.0-rc.5)

##### Patch Changes

- #### Include 1.0.0 prereleases in framework plugin core peers
*[`#2069`](https://redirect.github.com/yamcodes/arkenv/pull/2069)
[`222d8e9`](https://redirect.github.com/yamcodes/arkenv/commit/222d8e90b608a506aa1e42dd71d793c962d85168)
[@&#8203;yamcodes](https://redirect.github.com/yamcodes)*

Optional `@arkenv/core` and `@arkenv/standard` peers on the Next.js,
Nuxt,
  Vite, Bun, and Rsbuild plugins now use `^1.0.0-0`. Installing a plugin
together with `@arkenv/core@1.0.0-rc.4` and
`@arkenv/standard@1.0.0-rc.4`
  resolves on npm 11. The peers stay optional. The range matches `1.0.0`
  prereleases and stable 1.x below `2.0.0`.

  ```bash
npm install @arkenv/nuxt @arkenv/core@1.0.0-rc.4
@arkenv/standard@1.0.0-rc.4
  ```

  ```json
  {
    "peerDependencies": {
      "@arkenv/core": "^1.0.0-0",
      "@arkenv/standard": "^1.0.0-0"
    },
    "peerDependenciesMeta": {
      "@arkenv/core": { "optional": true },
      "@arkenv/standard": { "optional": true }
    }
  }
  ```

</details>

---

### Configuration

📅 **Schedule**: (in timezone Asia/Almaty)

- Branch creation
  - "on friday"
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/yamcodes/arkenv).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNjQuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjE2NC4xIiwidGFyZ2V0QnJhbmNoIjoidjEiLCJsYWJlbHMiOltdfQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: arkenv-bot[bot] <237618717+arkenv-bot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@arkenv/bun-plugin Issues or Pull Requests involving the Bun plugin for ArkEnv @arkenv/nextjs Issues or Pull Requests involving the Next.js integration for ArkEnv @arkenv/nuxt Issues or Pull Requests involving the Nuxt integration for ArkEnv @arkenv/standard Issues or Pull Requests involving @arkenv/standard @arkenv/vite-plugin Issues or Pull Requests involving the Vite plugin for ArkEnv bug Something isn't working dependencies Pull requests that update a dependency file docs Adds or changes documentation, or acts as documentation in and of itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Peer range @arkenv/core: ^1.0.0 excludes the only published versions

2 participants