@uxbert-labs/cms-site-kit
v0.1.2
Published
Shared site glue for UXBERT Labs CMS sites: block/page registries, caching fetch, revalidation webhook receiver, SEO helpers.
Maintainers
Readme
@uxbert-labs/cms-site-kit
Shared glue for sites powered by the UXBERT Labs CMS. Sites inject their own adapters and design system; the kit stays framework-light (TanStack Start-friendly, React 19).
pnpm add @uxbert-labs/cms-site-kitWhat's inside:
- Block/page registries — typed helpers to map CMS block types to your components, per page where needed.
createCachingFetch({ ttlMs })— short in-memory SSR cache around the SDK, withclear()for webhook-driven invalidation.createCmsRevalidateHandler({ secret, onRevalidate })— drop-in publish-webhook receiver (HMAC-verified,Request → Response) so publishes go live in milliseconds.- Embedded-section plumbing — keep bespoke animated sections in code while the CMS owns their copy, media and order.
- SEO helpers — head tags from the CMS
seocomposite.
New sites: scaffold with create-uxbert-site, which wires all of this up.
