Development Plugin
A plugin that provides local development defaults for database and email verification flows.
The development plugin helps you run OberonCMS quickly without provisioning external infrastructure during local development.
Installation
npm install @oberoncms/plugin-developmentoberon/config.ts
import { defineConfig } from "@oberoncms/core"
import { authPlugin } from "@oberoncms/core/auth"
import { plugin as developmentPlugin } from "@oberoncms/plugin-development"
import { plugin as tailwindPlugin } from "@oberoncms/plugin-tailwind"
import { plugin as tursoPlugin } from "@oberoncms/plugin-turso"
import { clientConfig } from "./client.config"
export const config = defineConfig({
client: clientConfig,
plugins: [developmentPlugin, tursoPlugin, tailwindPlugin, authPlugin],
})What it does
When enabled, the plugin can provide:
- A local development database adapter
- A development email sender that logs verification details instead of sending real emails
- Database migrations during Oberon bootstrap
Environment-based behavior
The plugin auto-disables itself when both development feature flags are off.
In production, you should use real database and send plugins (for example, Turso/PostgreSQL plus a custom send implementation).
Typical workflow
- Add the plugin first in your plugin list
- Keep your production database plugin configured
- Run your app locally and let the development plugin handle local-only needs
- Deploy with production environment variables so real plugins are used
Verification emails in development
For local development, verification requests are logged instead of sent by email. This allows quick sign-in testing without SMTP setup.
Notes
- The plugin is intended for development only
- Do not rely on development send behavior in production
- Always verify production plugin configuration before release
Last updated on