@prenta/core
v0.120.2
Published
The core of [Prenta CMS](https://github.com/actuate-media/prenta): data layer (Prisma/Postgres), auth & security, the full `/api/cms/*` REST API, section registry, forms backend, SEO tooling, and the config types every other package builds on.
Readme
@prenta/core
The core of Prenta CMS: data
layer (Prisma/Postgres), auth & security, the full /api/cms/* REST API,
section registry, forms backend, SEO tooling, and the config types every other
package builds on.
npm install @prenta/coreEntry points
| Import | Purpose |
| ---------------------------- | ----------------------------------------------------------------------- |
| @prenta/core | Actions, auth, security, storage/adapters, config types |
| @prenta/core/config | defineConfig() for prenta.config.ts |
| @prenta/core/api | handlePrentaAPI() — mount the REST API in any runtime |
| @prenta/core/page-sections | Section registry, defineSectionTypes(), coercion + validation helpers |
| @prenta/core/forms/client | Client-safe form validation (no Node deps) |
| @prenta/core/next | Next.js helpers (routes, middleware) |
Most projects scaffold with create-prenta
instead of wiring this package by hand.
Release notes
See CHANGELOG.md (shipped with the package) or the GitHub releases.
License
MIT
