create-templately
v0.1.0
Published
Scaffold a new app from Templately — a backend-free React + TypeScript + Tailwind admin UI template.
Maintainers
Readme
create-templately
Scaffold a new app from Templately — a backend-free React + TypeScript + Tailwind admin UI template (catalog, cards, data table, filters, export, themeable design tokens, PWA — all driven by in-memory mock data).
Usage
# Bun (drops the create- prefix)
bun create templately my-app
# npm
npm create templately@latest my-app
# pnpm / yarn / npx
pnpm create templately my-app
bunx create-templately my-appWith no directory argument the CLI prompts for one. Then:
cd my-app
bun install
bun run devHow it works
The template lives in the parent repo; scripts/snapshot.js copies it into
template/ (excluding node_modules, dist, the scaffolder itself, etc.) and the
CLI (index.js) copies that into your target directory, restores .gitignore
(npm strips it from tarballs, so it ships as gitignore), and sets the new
project's package.json name. The snapshot runs automatically on publish via the
prepack script.
Publishing (maintainers)
This is a public, free npm package — no paid plan required.
cd create-templately
npm login # one time
npm publish --access public # prepack regenerates template/ firstBump version in package.json for each release and publish again. To preview the
exact tarball contents without publishing:
npm run snapshot # regenerate template/
npm pack --dry-run # list files that would shipRoadmap
The commented block in index.js marks where the interactive theme palette
prompt will go — it will rewrite src/theme/colors.css based on the chosen brand
color at install time.
