@pierrehrt/create-content-builder
Version:
CLI tool to create content builder projects
25 lines (21 loc) • 565 B
text/typescript
import {
configManager,
type ContentBuilderConfig,
} from "@content-builder/core";
const config: ContentBuilderConfig = {
database: {
type: process.env.DATABASE_TYPE as "postgres" | "firebase" | "sqlite",
// Database config will be added based on selection
},
auth: {
type: process.env.AUTH_TYPE as "firebase" | "clerk" | "auth0",
// Auth config will be added based on selection
},
theme: {
primary: "#0070f3",
secondary: "#1a1a1a",
accent: "#fafafa",
},
};
configManager.initialize(config);
export { configManager };