create-newcms
v0.1.0
Published
Scaffold a new NewCMS project — WordPress-inspired CMS with a visual builder, agent instructions included
Maintainers
Readme
create-newcms
Scaffold a new NewCMS project — a WordPress-inspired TypeScript CMS with an Elementor-inspired visual builder.
pnpm create newcms my-site
# or
npm create newcms@latest my-siteWhat it does
- Clones the newcms template (shallow) into
my-site/ - Detaches it from the template's git history and starts a fresh one
- Renames the root package to your project name
- Generates a
.envfrom.env.examplewith a fresh randomAUTH_SECRET - Removes the scaffolder package from the new project
- Prints the next steps
After scaffolding
cd my-site
pnpm install
pnpm env:start # postgres + redis via docker compose
pnpm db:migrate
pnpm db:seed
pnpm devOpen http://localhost:3000/login and sign in with admin / password.
AI agents included
Every scaffolded project ships with agent instructions:
AGENTS.md— entry point for AI coding agents (architecture, commands, gotchas)docs/decisions/— short ADRs recording the why behind project decisionsCLAUDE.md— importsAGENTS.mdfor Claude Code
Requirements: Node.js 22+, git, pnpm 10+ (for the scaffolded project), Docker.
Part of the newcms monorepo. License: GPL-2.0-or-later.
