Skip to Content
entapex-stack

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 dev

The 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 check

Layers 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

CommandWhat it does
pnpm devRuns the website
pnpm checkLint, type check and tests for everything
pnpm testUnit tests only
pnpm formatFormats and fixes lint issues with Biome
pnpm buildProduction 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:e2eCreates 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.

On this page