Contributing
How this repo is organized and how to work on it.
Setup
git clone https://github.com/ShreyashRangrej/entapex-stack
cd entapex-stack
pnpm install
pnpm devThe site runs on localhost:3000. Installing with npm, yarn or bun fails on purpose: this repo is pnpm only.
Layout
entapex-stack/
├─ apps/
│ └─ web/ landing page, stack picker and docs (Next.js, Fumadocs, shadcn/ui)
├─ packages/
│ ├─ create-entapex-stack/ the CLI (questions, flags, copying templates, install, git)
│ ├─ stack-config/ every option, default and rule; shared by the picker and the CLI
│ └─ tsconfig/ shared TypeScript settings
├─ templates/
│ ├─ base/ root files every project gets (pnpm-only, Turborepo, Biome)
│ ├─ platforms/ web/ and android/: one app each, with shadcn/ui or React Native Reusables
│ ├─ backends/ drizzle/, supabase/, convex/: apps/server and its packages
│ ├─ connect/ <backend>/<platform>/: sign-in and the sample feature for one app
│ └─ agents/ <agent>/: hooks and settings (Claude Code so far)
└─ scripts/ repo scripts, such as the pnpm-only checkLayers are copied in order (base, platforms, backend, connect), and later files replace earlier
ones. package.json files are merged instead, so a layer only lists the dependencies it adds.
Template files ending in .tmpl have {{name}} style tokens filled in; _gitignore becomes
.gitignore. Plugins join this layout in Phase 6.
Commands
| Command | What it does |
|---|---|
pnpm dev | Runs the website |
pnpm check | Lint, type check and tests for everything |
pnpm test | Unit tests only |
pnpm format | Formats and fixes lint issues with Biome |
pnpm build | Production build |
pnpm create-local <name> [flags] | Runs the CLI from source; the project is created in the folder you ran it from |
pnpm --filter create-entapex-stack test:e2e | Creates three real projects, installs, checks and builds each one |
Changing an option
Options live in packages/stack-config/src. Add or change one there, add a test in
config.test.ts, and the picker, the CLI and the CLI options page all pick
it up.