Repository navigation
fix: accept Nuxt 5 prereleases in the compatibility range - #358
Conversation
Nuxt 5 nightly kits keep the nightly suffix, so 5.0.0-<stamp>-<sha> is a prerelease that ^5.0.0 rejects, and Nuxt skips the module with only a warning. ^5.0.0-0 admits it and still rejects Nuxt 6 and Nuxt versions below the floor.
commit: |
🤖 MERGED
GitHub merged this pull request.
036aab2a-87ea-430f-b8c8-3d9dd15eefda Selected findings run after merge and open separate pull requests. |
|
| Module | Client gzip | Server raw |
|---|---|---|
| @nuxtjs/robots | 608 B | 168 kB |
Package files (6)
Rows overlap and include unused code. These totals do not measure deployed output or npm downloads.
Excludes dependency files, types, source maps, and other non-code files.
| Package files | Summed gzip | Raw | Δ gzip |
|---|---|---|---|
| @nuxtjs/robots · export . | 6.9 kB | 26 kB | — |
| @nuxtjs/robots · export ./content | 292 B | 503 B | — |
| @nuxtjs/robots · export ./util | 466 B | 784 B | — |
| @nuxtjs/robots · built code files | 42 kB | 137 kB | — |
| @nuxtjs/robots · app source files | 3.3 kB | 7.2 kB | — |
| @nuxtjs/robots · server source files | 8.9 kB | 21 kB | — |
Dependencies (8)
Declared dependencies. Their installed size does not show runtime cost.
| Package | Dependency | Requested |
|---|---|---|
| @nuxtjs/robots | @fingerprintjs/botd | catalog: |
| @nuxtjs/robots | @nuxt/kit | catalog: |
| @nuxtjs/robots | @vueuse/core | catalog: |
| @nuxtjs/robots | consola | catalog: |
| @nuxtjs/robots | defu | catalog: |
| @nuxtjs/robots | nuxt-site-config | catalog: |
| @nuxtjs/robots | nuxtseo-shared | catalog: |
| @nuxtjs/robots | ufo | catalog: |
How this is measured
- Compare the same app with and without the module.
- Client: all emitted JS/CSS, summed per-file gzip. This includes lazy chunks.
- Server: deployed files, including external dependencies. Source maps are excluded.
- Default module settings, Node server preset. Memory and request speed are outside this report.
Base: main @ 8a42a65 · 2026-10-13 · differences below 16 B are ignored
This release includes breaking changes. Run a manual major release. Automatic releases support patch and minor only. |
🔗 Linked issue
❓ Type of change
📚 Description
A Nuxt 5 nightly build skips
@nuxtjs/robotswith only a warning:The Nuxt 5 nightly
@nuxt/kitdoes not strip the nightly suffix before the range check. The version stays a5.0.0prerelease, which sorts below5.0.0, so^5.0.0rejects it.meta.compatibility.nuxtis now^4.6.0 || ^5.0.0-0. It accepts Nuxt 5 prereleases and nightlies, and still rejects Nuxt 6 and Nuxt versions below the floor. The Nuxt 5 fixture no longer patchesmeta.compatibility. It now installs thenuxt-site-configandnuxtseo-sharedpreviews that carry the same fix.