cmskit
v3.0.0-alpha.1
Published
Schema-driven CMSKit product shell for frontend content, themes, tenancy, and framework adapters.
Downloads
197
Readme
cmskit
Schema-driven CMS layer for frontend applications with local JSON content, generated admin/API routes for the GA Next.js path, tenant-aware runtime delivery, component-first local themes, and hardened built-in plugin execution.
What it owns
npm install cmskitfor existing Next.js appscmsandjsoncmsfor runtime generation, validation, registry, theme, tenancy, health, and repair workflows- smart install and generated
/cms+/api/cms/v1 - runtime creation and content resolution
- local theme authoring contracts
- public Next.js route helpers
- framework capability metadata for Next.js GA and Vue/Astro/Gatsby beta starters
Public exports
- root:
defineConfigcreateRuntimegetContentdefineCollectiondefineNavigationdefineTenantResolverdefineSeoProfiledefineThemedefinePlugin
- subpaths:
cmskit/nextcmskit/contractscmskit/themescmskit/plugins
Boundaries
- Existing-project install is additive and postinstall-driven.
- Internal runtime source is merged behind this package and is not part of public onboarding.
- Next.js is GA. Vue, Astro, and Gatsby ship as beta scaffold targets with explicit capability limits.
- Built-in plugins execute in worker isolation. Broader third-party worker plugin support remains phased work.
Runtime CLI
Use the package CLI after installation:
cms doctor
cms validate all
cms registry build
cms theme validate
cms generate page about --slug /about
cms generate component ProofPanel --theme corporate-foundation
cms tenant resolve --host default.localhost