create-velocms-theme
v1.0.0
Published
Scaffolding tool for VeloCMS theme development
Maintainers
Readme
create-velocms-theme
Scaffold a new VeloCMS theme project ready for npm publish.
Usage
npx create-velocms-theme my-themeOr install globally:
npm install -g create-velocms-theme
create-velocms-theme my-themePrompts
The CLI will ask you:
- Theme name — human-readable display name (e.g. "Minimal Portfolio")
- Theme slug — kebab-case package suffix (e.g. "minimal-portfolio")
- Theme type —
layout|niche|pack - Niche category — (only if type = niche) photographer | podcaster | restaurant | ...
- Author name
- Author email
- License — default: MIT
- Short description
Non-interactive mode
npx create-velocms-theme my-theme --non-interactiveUses sensible defaults for CI environments.
Generated scaffold
my-theme/
├── package.json # velocms-theme-my-theme, peerDeps: react@19, next@16
├── theme.manifest.json # ThemeManifest (spec §4)
├── tsconfig.json
├── tsconfig.build.json
├── README.md
├── .gitignore
├── preview/ # Place thumbnail.png + screenshots here
└── src/
├── index.ts # Re-exports BlogIndex, PostLayout
├── index.test.ts # Smoke test (vitest) — extend as your theme grows
├── BlogIndex.tsx # Blog listing layout (TODO markers)
├── PostLayout.tsx # Single post layout (TODO markers)
├── theme.config.ts # Tailwind preset overrides
└── styles.css # Global CSS tokensBuilding
npm run build # compiles src/ → dist/Submitting to marketplace
npm run build- Verify
theme.manifest.jsonis complete npx velocms-cli theme submit(coming Q3 2026)
