DevFlow

Setup Guides

Task-based walkthroughs: ESLint with Prettier and Husky, GitHub Actions for Next.js, Vitest with coverage, Docker for NestJS, Turborepo CI.

Every guide on this page solves one specific problem end to end. A guide shows the problem, the exact command, the files that end up in your repository, what the CI run looks like, and what the setup does not cover.

If you want the opposite view — what a single tool generates — go to the module pages. A module page answers "what files does this create?", a guide answers "how do I solve this problem?".

Lint and format

ESLint, Prettier and Husky setup for React and TypeScript

The three tools that belong together, in the order that avoids the classic "ESLint and Prettier disagree" bug. Includes the flat config, the .prettierrc, the pre-commit hook and the CI check.

npx create-devflow --lint --husky

CI/CD

GitHub Actions CI/CD for Next.js

A pull request pipeline that lints, type-checks, tests and builds a Next.js application — and where the deploy step actually belongs.

npx create-devflow --ci github

Testing

Vitest setup for React and TypeScript

Vitest with a jsdom environment, React Testing Library, V8 coverage, coverage thresholds and a coverage report on every pull request.

npx create-devflow --test

Containers

Docker setup for NestJS

Multi-stage build, non-root runtime user, health check, image size and building and pushing the image from CI.

npx create-devflow --docker

Monorepo

Turborepo CI/CD with GitHub Actions and pnpm workspaces

Remote caching, affected-package filtering, a shared ESLint config and parallel lint, test and build tasks.

npx create-devflow --only turborepo --only workspaces

Commits

Conventional Commits with Commitlint and Husky

Enforce the commit format on every commit, connect it to a changelog, and validate it in CI as well.

npx create-devflow --husky

Security

Security scanning in CI

Dependency auditing, secret detection and container scanning wired into the pull request pipeline.

npx create-devflow --security

Still choosing?

  • Presets — Minimal, Recommended and Full, and what each one includes
  • CLI reference — every flag with examples
  • Dry run mode — preview any guide before applying it
  • Comparisons — DevFlow versus manual setup, Nx, Turborepo and create-next-app

On this page