A modern CLI tool for scaffolding end-to-end projects with best practices and customizable configurations ye copy hai think about new description
- You can review the high-level architecture for this project here: Architecture document (kindly comment your suggestions or request editor access.)
Node.js≥ v18npm≥ v7- (Optional)
Yarnorpnpm
# from the root of back-kit
npm installStart all packages in watch/dev mode via Turbo:
npm run devRun the CLI directly (with ts-node):
# from the root
npm run dev -- hello <name>
# e.g.
npm run dev -- hello AmritCompile all packages in the correct order:
npm run buildnpm run lint # ESLint across workspaces
npm run check-types # TypeScript checks
npm run format # Prettier formatting# build first (if not already done)
npm run build
node packages/cli/dist/index.js hello YourNameOr install/link globally:
cd packages/cli
npm link
my-cli hello YourName/back-kit
├─ packages/
│ ├─ cli/ # CLI tool (yargs + ts-node + build)
│ ├─ eslint-config/ # Shared ESLint configs (base, Next.js, React)
│ ├─ typescript-config/ # Shared tsconfig presets
│ └─ ui/ # React component library (button, card, code)
│ └─ turbo/ # Custom code generators (Handlebars templates)
├─ apps/ # (future) application examples
├─ turbo.json # Task orchestration
└─ README.md
- Fork the repo & clone
- Create a feature branch
- Run tests/linting before pushing
- Open a PR and tag @maintainers
MIT