Create Ideal CMS

Interactive CLI that scaffolds a production-ready Payload CMS monorepo preconfigured with FocusReactive plugins.

Community 17 MIT v1.2.0

Installation

pnpm add create-ideal-cms

About

`create-ideal-cms` is an interactive Node CLI that scaffolds a new Payload CMS monorepo. Running `npx create-ideal-cms my-app` fetches the FocusReactive payload-plugins template (from GitHub or a local checkout), prunes the plugin source packages and internal demo apps, and leaves a clean Turborepo workspace with a Payload + Next.js app under `apps/cms` plus shared `tailwind-config`, `typescript-config`, and `ui` packages. The prompts collect a project name, a primary brand color (hex), a Postgres `DATABASE_URL`, and the public server URL. Optional credentials cover OpenAI, Vercel Blob, and OIDC SSO (Auth0, Keycloak, Okta). `PAYLOAD_SECRET` is auto-generated. The CLI can run `payload migrate:create init` and `payload migrate` after install and initialize a git repository. You can install deps with bun, pnpm, or npm, or skip and do it manually. The scaffolded `apps/cms` pulls the published `@focus-reactive/payload-plugin-*` packages (SEO, translator, analytics, A/B testing, comments, presets, scheduling) as regular dependencies at pinned versions instead of `workspace:*` refs. The premium `@fr-private/payload-plugin-visual-editing` is conditional: without a private-registry token, the CLI strips its dependency and all wiring (imports, admin importMap entries, frontend layout and RichText wrapper code) so install never 404s on an unreachable scope. With a token, it writes an `.npmrc` that reads `NPM_TOKEN` from the environment instead of committing the secret to disk. Flags `--ref` and `--from-local` let you template from a specific GitHub revision or a local checkout of the source monorepo, which is how plugin authors test unpublished changes. The tool is opinionated toward a Postgres-backed, bun-workspace layout and depends on the FocusReactive plugin suite being published to npm.

Package info

Package name
create-ideal-cms
Latest version
1.2.0
Unpacked size
30 kB
License
MIT
Last publish
Sep 7, 2026

More from focusreactive

View profile

Similar plugins

More in Devtools