deployn / next-app-template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Commitizen

Commitizen is a command line utility which helps you making meaningful and standard commit messages. It uses a series of prompts to generate a well formatted commit message.

To commit changes using Commitizen, run:

npm run commit
# or
yarn commit
# or
pnpm commit

Semantic Release

Semantic Release automates the whole package release workflow including: determining the next version number, generating the release notes and publishing the package.

The version number is automatically determined based on Commitizen’s structured commit messages. This ensures that version numbers are bumped in a semantic way (major for breaking changes, minor for new features, patch for bug fixes).

This project employs GitHub Actions for automated releases, leveraging the power of Semantic Release.

The GitHub Actions workflow is set up to trigger a new Semantic Release whenever changes are pushed to the main branch. This means that every time you merge a pull request or push directly to main, the project version will be automatically bumped based on the commit messages, the changelog will be updated, and a new release will be created and published to GitHub.

The workflow configuration for Semantic Release can be found in .github/workflows/release.yml.

Please ensure your commit messages follow the Conventional Commits standard, as this is what Semantic Release uses to determine the version bumps. If you’re not confident writing these by hand, use Commitizen, which will guide you through generating a properly formatted commit message.

About


Languages

Language:TypeScript 90.0%Language:JavaScript 5.9%Language:MDX 3.2%Language:CSS 0.9%