Ready for Vercel.
Deploy the documentation as a Next.js project from the monorepo root. No environment variables or database are needed.
Vercel settings
| Root directory | apps/docs |
|---|---|
| Framework preset | Next.js |
| Install command | cd ../.. && pnpm install --frozen-lockfile |
| Build command | cd ../.. && pnpm build |
| Output directory | Default Next.js output |
| Node.js | 22.x or newer supported LTS |
| Environment variables | None |
Enable access to files outside the root directory so the workspace package and shared examples are included. The repository’s vercel.json provides the commands for the apps/docs root. The library is built before Next.js and does not need registry publication.
Before deploying
Terminal
pnpm install --frozen-lockfile
pnpm build
pnpm typecheck
pnpm test
pnpm check:coverageThis workspace is prepared for deployment; it has not been published to Vercel.