CLI to create and upgrade CMS Nova projects.
npx create-cms-nova my-appAlternative (npm will resolve create-cms-nova):
npm create cms-nova@latest my-appWhat it does:
- Clones the template repo.
- Removes the template
.githistory. - Installs dependencies.
From your project root (must be a git repo):
npx create-cms-nova upgradeOptions:
npx create-cms-nova upgrade --dry-run
npx create-cms-nova upgrade --tag v6.1.0
npx create-cms-nova upgrade --allow-dirty
npx create-cms-nova upgrade --no-interactiveUpgrade behavior:
- Adds (or reuses) an
upstreamremote pointing to the template repository. - Computes a diff from a detected base ref to the target ref (default:
upstream/main). - Only updates files inside the CLI-defined CMS core paths.
- Intentionally does not upgrade documentation/readmes (including research/academic docs).
- Skips files that require manual merge (e.g.
package.json,package-lock.json,prisma/schema.prisma). - Creates a local git backup tag before applying changes.
MIT (see LICENSE).