Repository navigation
fix: Peer range @arkenv/core ^1.0.0 excludes the only published versions - #2069
Conversation
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 detectedLatest commit: e267924 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
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: |
📦 Bundle Size Report
✅ All size limits passed! |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Widened the optional
@arkenv/core/@arkenv/standardpeer range from^1.0.0to^1.0.0-0on the Next.js, Nuxt, Vite, Bun, and Rsbuild plugins. The peers stay optional and the devworkspace:*links are unchanged. - Documented the
-0prerelease-inclusive floor in ADR 0012 (wide-peer section and the dependency-protocol table), including that1.1.0-rc.0still does not match and why this beatsworkspace:^. - Added
scripts/framework-core-peers.test.js, which reads all five manifests and verifies the range semantics against npm's bundledsemver. - Added a patch changeset at
.changeset/core-peer-prerelease-floor.mdcovering the five plugins (at the changeset root, not underpre/).
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.
deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏
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>
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) |  |  | | [@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) |  |  | --- ### Release Notes <details> <summary>yamcodes/arkenv (@​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) [@​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>

Fixes #2034
Optional
@arkenv/coreand@arkenv/standardpeers on the Next.js, Nuxt, Vite, Bun, and Rsbuild plugins now use^1.0.0-0. A bare^1.0.0range 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
-0floor, including that a later prerelease such as1.1.0-rc.0does not match, and why this is preferred toworkspace:^.Verification
1.0.0-rc.4and stable1.0.0match;2.0.0and1.1.0-rc.0do not).@arkenv/nuxtmanifest and installed it with@arkenv/core@1.0.0-rc.4and@arkenv/standard@1.0.0-rc.4. The install exited 0 with noETARGETand no overridden peer. The same install with^1.0.0warnedERESOLVE overriding peer dependency.nub run typecheckpassed, andnub run test -- --runpassed (186 files, 1640 tests).