Skip to content

build(website): 🚀 host the docs on Vercel - #67

Merged
diecodev merged 1 commit into
mainfrom
build/vercel-website
Oct 29, 2026
Merged

diecodev merged 1 commit into
mainfrom
build/vercel-website

Conversation

@diecodev

Copy link
Copy Markdown
Owner

The docs move from Deno Deploy to Vercel. The site is fully prerendered,
so Vercel serves website/dist as static files: vercel.json at the repo
root builds it with pnpm build.website (the library first), keeps the
trailing slash of the pages' URLs, and caches the hashed files of
/build/ and /assets/ for a year. The Deno adapter, its server entry and
deno.json give way to Qwik's SSG adapter, which prerenders the same
pages, sitemap and robots.txt.

Vercel reads package.json's packageManager and picks pnpm 12 (without
it, a lockfile of version 9.0 gets pnpm 10, which can't switch to pnpm
12), and pnpm then switches to that exact version, as in the CI and
local installs. packageManager goes to pnpm 12.16.1, the latest, and the
lockfile records it. Run with another pnpm 12, the frozen install and
the build pass with 12.16.1.


Stack created with GitHub Stacks CLI • Give Feedback 💬

The docs move from Deno Deploy to Vercel. The site is fully prerendered,
so Vercel serves website/dist as static files: vercel.json at the repo
root builds it with `pnpm build.website` (the library first), keeps the
trailing slash of the pages' URLs, and caches the hashed files of
/build/ and /assets/ for a year. The Deno adapter, its server entry and
deno.json give way to Qwik's SSG adapter, which prerenders the same
pages, sitemap and robots.txt.

Vercel reads package.json's packageManager and picks pnpm 12 (without
it, a lockfile of version 9.0 gets pnpm 10, which can't switch to pnpm
12), and pnpm then switches to that exact version, as in the CI and
local installs. packageManager goes to pnpm 12.16.1, the latest, and the
lockfile records it. Run with another pnpm 12, the frozen install and
the build pass with 12.16.1.
@diecodev
diecodev added this pull request to stack #69 October 29, 2026 14:53
@diecodev
diecodev merged commit 093edb3 into main Oct 29, 2026
3 checks passed
@diecodev
diecodev deleted the build/vercel-website branch October 29, 2026 18:21
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