Skip to content

chore(deps): upgrade major dependencies - #1491

Merged
larbish merged 4 commits into
mainfrom
chore/deps-major
Nov 19, 2026
Merged

larbish merged 4 commits into
mainfrom
chore/deps-major

Conversation

@larbish

@larbish larbish commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

Upgrades every dependency that has a new major, except typescript 7 (out of scope) and h3 2 (needs Nitro 3 / Nuxt 5).

  • cli: tsup 9. @nuxt/cli 4 moved nuxt init out (v4.0.0), so create-docus now calls runCommand('init', …) from create-nuxt 4.0.3.
  • better-sqlite3 13: bumped in the playground and starters. The layer peer is now 12.x || 13.x. Version snippets in the docs are updated.
  • Nuxt SEO: @nuxtjs/robots 7, @nuxtjs/sitemap 9, nuxt-og-image 7 (the ~6.10 pin is dropped) and nuxt-schema-org 7, upgraded together because they share nuxt-site-config 5.
    • Removed the schema-org tree-shaking hook and the /sitemap.xml prerender ignore, which both modules now handle themselves.
    • Added @types/node to the layer: og-image 6 brought it in through chrome-launcher, and without it starter projects fail nuxt typecheck.

Evidence

Compared with a static build of main:

  • All 42 _og/s/*.png files are byte-identical to the og-image 6 output.
  • JSON-LD and og/twitter meta on /en and /en/getting-started/installation are identical.
  • check:vercel-output: all checks pass. Smoke tests against the node-server build: 18 passed, 2 skipped.
  • scripts/test-starter.sh passes for default and i18n. Before the @types/node fix, default failed with 40 TS2591 errors.

Notes

  • Static output now contains a real sitemap index at /sitemap.xml. On Vercel it stays a 307 redirect to /sitemap_index.xml.
  • New minimums from the upgraded modules: Nuxt 4.6.1 and Node 22.22.3 / 24.15.0.

ELI5

This updates several tools Docus relies on to their newest big versions. Generated pages, sitemaps and preview images come out the same as before. One tool had stopped bringing in type definitions that projects needed, so Docus now includes them itself.

🤖 Generated with Amp, reviewed by @larbish before opening.

@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docus Ready Ready Preview Nov 19, 2026 3:56pm UTC

@pkg-pr-new

pkg-pr-new Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/create-docus@1491
npm i https://pkg.pr.new/docus@1491

commit: 27b5d72

@larbish
larbish marked this pull request as ready for review November 19, 2026 15:58
@docus-bundle-report

Copy link
Copy Markdown

Bundle size

Explore the comparison →

Client 806.5 kB $\color{green}\textsf{(-274 B, -0.0}\%\textsf{)}$ · Server 1.67 MB $\color{red}\textsf{(+1.34 kB, +0.1}\%\textsf{)}$

Initial page load PR Δ
/en/:lang? 257.6 kB −285 B (−0.1%)
/fr/:lang? 257.6 kB −285 B (−0.1%)
/en/:lang?/:slug(.) 266.9 kB −280 B (−0.1%)
/fr/:lang?/:slug(.) 266.9 kB −280 B (−0.1%)
Prerendered URL Initial load Δ HTML Δ
/en/essentials/components 290.1 kB
23.1 kB from components
−280 B (−0.1%)
route −280 B, components ±0 B
22.3 kB −182 B (−0.8%)
/en/essentials/images-embeds 317.2 kB
50.3 kB from components
−280 B (−0.1%)
route −280 B, components ±0 B
17.3 kB −116 B (−0.7%)
/en/getting-started/installation 275.1 kB
8.21 kB from components
−280 B (−0.1%)
route −280 B, components ±0 B
18.4 kB −106 B (−0.6%)
/en/essentials/code-blocks 283.0 kB
16.1 kB from components
−280 B (−0.1%)
route −280 B, components ±0 B
22.9 kB −103 B (−0.4%)
/en 483.7 kB
226.0 kB from components
−276 B (−0.1%)
route −285 B, components +9 B
17.0 kB −99 B (−0.6%)
Largest changes in the client
Package or file Base PR Δ
node_modules/nuxt-schema-org 186 B n/a −186 B (−100.0%)
layer/app/composables/useSeo.ts 513 B 355 B −158 B (−30.8%)
Largest changes in the server
Package or file Base PR Δ
node_modules/@nuxt/nitro-server 8.33 kB 9.54 kB +1.21 kB (+14.6%)
[unassigned] 337.3 kB 338.4 kB +1.11 kB (+0.3%)
node_modules/nuxtseo-shared 4.88 kB 4.04 kB −842 B (−17.2%)
node_modules/nuxt-site-config 2.67 kB 3.10 kB +432 B (+16.2%)
node_modules/@nuxtjs/sitemap 17.5 kB 17.2 kB −360 B (−2.1%)
node_modules/std-env 330 B n/a −330 B (−100.0%)
node_modules/nuxt-og-image 2.67 kB 2.37 kB −310 B (−11.6%)
node_modules/unstorage 4.58 kB 4.88 kB +292 B (+6.4%)
node_modules/nuxt 27.8 kB 28.0 kB +214 B (+0.8%)
node_modules/@nuxtjs/robots 5.02 kB 4.81 kB −208 B (−4.1%)

And 1 more packages or files.

Brotli sizes. Changes under 100 B are left out of the tables. Initial page load counts the JavaScript and CSS a route loads before it renders. Prerendered URLs count the JavaScript and CSS their HTML preloads (module scripts, modulepreload and stylesheets, not prefetch), and the HTML document. Components are the lazy-loaded components the page rendered: its HTML preloads them, but its route's static imports don't reach them. Measured by nuxt-bundle-analyzer for 27b5d72.

@larbish
larbish merged commit b5e5f08 into main Nov 19, 2026
13 checks passed
@larbish
larbish deleted the chore/deps-major branch November 19, 2026 16:29

This branch was successfully deployed

1 active deployment
Preview — 27b5d722 Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant