Skip to content

Replace contentlayer with qino - #1244

Open
CharlyMartin wants to merge 10 commits into
react-hook-form:masterfrom
CharlyMartin:qino-migration
Open

CharlyMartin wants to merge 10 commits into
react-hook-form:masterfrom
CharlyMartin:qino-migration

Conversation

@CharlyMartin

@CharlyMartin CharlyMartin commented Oct 31, 2026 •

Copy link
Copy Markdown

Key changes:

  • Removes contentlayer2 and next-contentlayer2, and adds @qino/cms with definitions in qino/: a docs tree, an integrations collection and 6 items for the root pages
  • Adds src/lib/docs.ts, which loads every doc and builds breadcrumbs with getAncestorNodes
  • Compiles MDX with @mdx-js/mdx in getStaticProps (src/lib/mdx.ts) and runs it with runSync in src/pages/[...slug].tsx
  • formstate.mdx reads its code examples from props instead of imports
  • Ports scripts/generate-markdown.mjs to .mts, run with tsx. It now also writes public/sitemap.xml, which replaces src/pages/sitemap.xml.tsx
  • Adds "type": "module", bumps Node to 24 and pins the new dependencies to exact versions
  • Turns off qino's media check ({#id} headings fail its MDX parser)

Rendered HTML, JSON-LD and llms.txt are identical to a contentlayer build. The only diffs are in formstate.md and llms-full.txt, where the old output leaked import lines.

Fixes #1243

Note

Before merging: set the Vercel project's Node version to 24.

@vercel

vercel Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

@CharlyMartin is attempting to deploy a commit to the BEEKAI OSS Team on Vercel.

A member of the Team first needs to authorize it.

@netlify

netlify Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for sage-cassata-31d224 ready!

Name Link
🔨 Latest commit c805a97
🔍 Latest deploy log https://app.netlify.com/projects/sage-cassata-31d224/deploys/6ae60d3627c51a49a4ec7755
😎 Deploy Preview https://deploy-preview-1244--sage-cassata-31d224.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

This branch has not been deployed

No deployments
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.

contentlayer2 hasn't had a release since May 2025

1 participant