Skip to content

chore(docs): move to nuxt 5 and nitro 3 - #369

Merged
vite-hub[bot] merged 1 commit into
mainfrom
chore/docs-nuxt-5
Nov 6, 2026
Merged

vite-hub[bot] merged 1 commit into
mainfrom
chore/docs-nuxt-5

Conversation

@onmax

@onmax onmax commented Nov 6, 2026

Copy link
Copy Markdown
Owner

The docs run Nuxt 4 and Nitro 2, so they don't exercise the stack we want ViteHub to support first.

This moves them to nuxt-nightly@5.0.0-2611031025-9496b7e and nitro@3.0.261102-rc, with the published packages from vite-hub/vitehub#3544 at 298ec15. It removes the two ViteHub backport patches, reads Cloudflare bindings from Nitro 3's request runtime, and serves Markdown from ViteHub's /raw/ paths. Wrangler keeps trailing-slash page URLs. PKCE needs a small export-condition backport for Workers, and Nitro's JSONC parser needs a formatter override to keep trailing commas out of the Wrangler config.

Verified locally:

  • Production build prerenders all 1,718 routes. Link checks cover 412 pages and 472 playground states.
  • Local workerd serves HTML, Markdown and badges with 200 responses, and the legacy path redirect with 301. The generated Durable Object class stays $DurableObject, and the Worker dry run passes.
  • Formatting, lint, root and docs typechecks, and the project Doctor pass. Lint reports 3 existing warnings in untouched files.
  • All 133 test files pass with --maxWorkers=2: 2,748 passed, 1 expected failure and 1 skipped. The first unrestricted run hit two timeouts. The Markdown regression test fails against main's source and passes here.
  • pnpm install --frozen-lockfile --ignore-scripts passes.

Nuxt still applies its Nitro 2 compatibility layer to some third-party modules. Authenticated OAuth, comments and MCP flows weren't exercised locally because the local Worker has no auth secrets. Nothing has been deployed.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-06T12:20:42.746811Z
We couldn’t complete this review. Comment @codex review to try again.
8917a7b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

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 across the Nuxt 5 and Nitro 3 docs migration, including the Cloudflare runtime boundary and generated asset routing.

  • Framework migration: Pins the docs app to the Nuxt 5 nightly and Nitro 3 RC used by ViteHub's consumer tests, and aligns all ViteHub preview packages to one upstream commit.
  • Cloudflare runtime access: Moves Assets, secrets, and waitUntil access to Nitro 3's event.req.runtime.cloudflare contract while preserving the incoming request for asset dispatch.
  • Markdown negotiation: Serves negotiated Markdown from ViteHub's generated /raw/*.md paths and updates the focused regression assertions.
  • Deployment configuration: Keeps trailing-slash page URLs in Wrangler, adds the PKCE workerd export backport, and prevents formatter-produced JSONC trailing commas.
  • Patch cleanup: Removes the superseded ViteHub docs and web-container backports and their temporary package metadata.

Pullfrog  | View workflow run | Using gpt-5.6-sol | 𝕏

@pkg-pr-new

pkg-pr-new Bot commented Nov 6, 2026

Copy link
Copy Markdown

Open in StackBlitz

comark-annotate

pnpm add https://pkg.pr.new/comark-annotate@369

comark-badge

pnpm add https://pkg.pr.new/comark-badge@369

comark-cards

pnpm add https://pkg.pr.new/comark-cards@369

comark-carousel

pnpm add https://pkg.pr.new/comark-carousel@369

comark-cast

pnpm add https://pkg.pr.new/comark-cast@369

comark-charts

pnpm add https://pkg.pr.new/comark-charts@369

comark-chat

pnpm add https://pkg.pr.new/comark-chat@369

comark-chips

pnpm add https://pkg.pr.new/comark-chips@369

comark-cjk

pnpm add https://pkg.pr.new/comark-cjk@369

comark-code

pnpm add https://pkg.pr.new/comark-code@369

comark-code-notes

pnpm add https://pkg.pr.new/comark-code-notes@369

comark-colors

pnpm add https://pkg.pr.new/comark-colors@369

comark-comments

pnpm add https://pkg.pr.new/comark-comments@369

comark-critic

pnpm add https://pkg.pr.new/comark-critic@369

comark-deflist

pnpm add https://pkg.pr.new/comark-deflist@369

comark-details

pnpm add https://pkg.pr.new/comark-details@369

comark-diagrams

pnpm add https://pkg.pr.new/comark-diagrams@369

comark-diff

pnpm add https://pkg.pr.new/comark-diff@369

comark-embed

pnpm add https://pkg.pr.new/comark-embed@369

comark-fields

pnpm add https://pkg.pr.new/comark-fields@369

comark-figure

pnpm add https://pkg.pr.new/comark-figure@369

comark-file-tree

pnpm add https://pkg.pr.new/comark-file-tree@369

comark-footnotes

pnpm add https://pkg.pr.new/comark-footnotes@369

comark-github

pnpm add https://pkg.pr.new/comark-github@369

comark-icon

pnpm add https://pkg.pr.new/comark-icon@369

comark-include

pnpm add https://pkg.pr.new/comark-include@369

comark-keys

pnpm add https://pkg.pr.new/comark-keys@369

comark-links

pnpm add https://pkg.pr.new/comark-links@369

comark-linter

pnpm add https://pkg.pr.new/comark-linter@369

comark-magic-move

pnpm add https://pkg.pr.new/comark-magic-move@369

comark-mark

pnpm add https://pkg.pr.new/comark-mark@369

markdown-it-to-comark

pnpm add https://pkg.pr.new/markdown-it-to-comark@369

marked-to-comark

pnpm add https://pkg.pr.new/marked-to-comark@369

comark-mathml

pnpm add https://pkg.pr.new/comark-mathml@369

comark-media

pnpm add https://pkg.pr.new/comark-media@369

comark-metrics

pnpm add https://pkg.pr.new/comark-metrics@369

migrate-to-comark

pnpm add https://pkg.pr.new/migrate-to-comark@369

comark-outline

pnpm add https://pkg.pr.new/comark-outline@369

comark-properties

pnpm add https://pkg.pr.new/comark-properties@369

comark-qr

pnpm add https://pkg.pr.new/comark-qr@369

comark-quiz

pnpm add https://pkg.pr.new/comark-quiz@369

comark-reading-time

pnpm add https://pkg.pr.new/comark-reading-time@369

remark-to-comark

pnpm add https://pkg.pr.new/remark-to-comark@369

comark-sources

pnpm add https://pkg.pr.new/comark-sources@369

comark-steps

pnpm add https://pkg.pr.new/comark-steps@369

comark-table

pnpm add https://pkg.pr.new/comark-table@369

comark-tabs

pnpm add https://pkg.pr.new/comark-tabs@369

comark-tests

pnpm add https://pkg.pr.new/comark-tests@369

comark-time

pnpm add https://pkg.pr.new/comark-time@369

comark-ui

pnpm add https://pkg.pr.new/comark-ui@369

comark-xref

pnpm add https://pkg.pr.new/comark-xref@369

comark-zoom

pnpm add https://pkg.pr.new/comark-zoom@369

commit: 8917a7b

@vite-hub

vite-hub Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor
Session Status Started Duration
Pending Completed Not started —
View session Waiting 2026-11-06T12:55:17.389Z 7m 59s

Latest result

Pull request merged.

Final answers

Session

Pull request merged.

View session

Ready; no actionable findings or repair needed. After docs preparation, `pnpm --dir docs exec vp test run ../test/site.test.ts --dir ../test` passed all 12 tests. Focused `vp lint`, `vp fmt --check`, and `git diff --check` passed. Validation used installed dependencies with automatic reinstall disabled. All six supplied checks passed. Pullfrog found no issues; Codex review was unavailable due usage limits. Checkout remains clean.

@vite-hub
vite-hub Bot merged commit fff58b8 into main Nov 6, 2026
6 checks passed
@vite-hub
vite-hub Bot deleted the chore/docs-nuxt-5 branch November 6, 2026 13:13
@github-actions github-actions Bot mentioned this pull request Nov 6, 2026
vite-hub Bot pushed a commit that referenced this pull request Nov 6, 2026
…s, and style headings (#370)

* fix(docs): ship the fonts again and style the page headings

Nitro 3 never calls rollup:before, where @nuxt/fonts 0.14 fills its font files, so every /_fonts file deployed empty since #369. Nuxt UI's dependency on it now resolves to 1.2, which downloads the fonts when Vite closes the bundle.

comark-links draws the docs' headings, so Nuxt UI's ProseH2 never styles them and they rendered as 16px body text. The docs app now gives them ProseH2's sizes and spacing.

* fix(docs): list each package's category in its sidebar, and draw Annotate's rail icon

Every package page is a one-page section, so @vite-hub/docs showed a sidebar with a single link to the current page. A pnpm patch backports vite-hub/vitehub#3559, which lists the section's category instead.

Lucide has no scribble-loop, so Annotate's rail item drew no icon. content.ts maps it to pen-tool, as the landing's package grid does.
@github-actions github-actions Bot mentioned this pull request Nov 7, 2026
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