A custom template for Next.js projects with a ready-to-use setup, including Tailwind CSS, Prettier, Husky, ESLint and more. Ideal for a quick start with a solid and organized setup.
- Next.js 15 with Turbopack support.
- Tailwind CSS v4 for fast styling.
- TypeScript for safer code.
- Prettier with plugins for sorting imports and Tailwind.
- ESLint 9 configured with Next.js.
- Commitizen for standardized commits with
cz-conventional-changelog
. - Husky for automatic Git hooks.
- Basic structure:
src/app
,src/lib
.
This project is designed to use pnpm as a package manager, taking advantage of its speed and efficiency. If you don't have pnpm
installed, npm will be used as an alternative, but we recommend installing it globally with npm install -g pnpm
to get the most out of it. Also, you need Node.js 20 or higher to make everything run smoothly.
-
Install the package from npm:
npm install @hugo_cruz/nextjs-setup
-
Execute the command to set up your project:
npx setup-nextjs
- Hugo Cruz de la Torres Linkedin
If you want to contribute, go ahead! Open an issue or a pull request and I'll be happy to review it.
npx changeset
npm run local-release