Next.js + Prettier
Opinionated code formatter. This page shows exactly what pickstack adds to a Next.js project for Prettier: the packages, the new files and the changes to existing ones. Every combination is installed, built, linted and tested in CI.
$ npm create pickstack@latest my-app -- --framework next --modules prettier --yesCustomize in the configurator
Packages it adds
| Package | Version | Type |
|---|---|---|
prettier | ^3.10.1 | dev |
New files
dist .next out next-env.d.ts *.tsbuildinfo pnpm-lock.yaml package-lock.json yarn.lock bun.lock
{}
Changes to existing files
⋯ 2 unchanged lines <section className="page"> <h1 className="title">About</h1> <p className="text">+ Built with Next.js (App Router), React 19, TypeScript, Prettier.− Built with Next.js (App Router), React 19, TypeScript. </p> </section> );⋯ 2 unchanged lines
Project files
.gitignore.prettierignore.prettierrcREADME.mdapp/about/page.tsxapp/globals.cssapp/layout.tsxapp/page.tsxcomponents/Counter.tsxnext.config.tspackage.jsontsconfig.json