docs Loading last commit info...
packages/create-react-stack
.gitignore
README.md
package-lock.json
package.json
README.md

create-react-stack

Monorepo for create-react-stack — a Node.js CLI that scaffolds a modern React + Vite application with opinionated production defaults.

The CLI always installs the latest stable versions of dependencies instead of copying a locked template.

Packages

PackageDescription
packages/create-react-stackThe published CLI (npx create-react-stack@latest)

Quick start

npx create-react-stack@latest my-app

Develop locally

npm install
npm run build
node packages/create-react-stack/dist/cli.js my-demo --yes --package-manager npm

Stack included in generated apps

  • Vite + React + TypeScript
  • TanStack Router + TanStack Query + Axios
  • Tailwind CSS + shadcn/ui + Lucide React
  • clsx, class-variance-authority, tailwind-merge
  • ESLint, Prettier, Husky, lint-staged, EditorConfig

Architecture

The CLI is a task pipeline with a plugin registry so new generators and optional features can be added without rewriting the core:

packages/create-react-stack/src/
├── cli.ts
├── commands/create.ts
├── core/          # pipeline, plugins, types
├── tasks/         # modular scaffold steps
├── templates/     # file contents
└── utils/         # packageManager, git, shell, prompts, …

See packages/create-react-stack/README.md for full CLI usage.

Docs

DocDescription
docs/SPEC.mdProduct brief / stack goals
docs/DEPLOYMENT.mdPlan to host on GitHub, GitLab, or OneDev and publish the package

License

MIT

Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover