Using Avis with Next.js
Status: alpha
Detected Through
Section titled “Detected Through”Avis recognizes a Next.js project through:
nextin package metadatanext.config.jsnext.config.mjsnext.config.ts
Supported Package Managers
Section titled “Supported Package Managers”- npm
- pnpm
- yarn
- bun
Avis uses the detected Node package manager for Next.js project dependencies.
Supported Capabilities
Section titled “Supported Capabilities”- state management
- data fetching
- forms
- validation
- icons
- authentication
- monitoring
Current Integrations
Section titled “Current Integrations”- Zustand
- Redux Toolkit
- TanStack Query
- React Hook Form
- Zod
- Auth.js / NextAuth
- Sentry for Next.js
- Lucide React
- React Icons
- Heroicons React
Purpose-First Commands
Section titled “Purpose-First Commands”avis add state-managementavis add data-fetchingavis add formsavis add validationavis add iconsavis add authavis add monitoringWhat Avis May Change
Section titled “What Avis May Change”Depending on the selected capability, Avis may install runtime dependencies, create starter modules or components, and verify that the generated files are still present.
Examples:
state-managementinstalls Zustand by default and creates a starter store module.data-fetchinginstalls TanStack Query and creates a QueryClient provider module.formsinstalls React Hook Form and creates a starter form component.validationinstalls Zod and creates a starter schema module.iconsinstalls Lucide React by default and can also offer React Icons or Heroicons React.authcreates configure-level Auth.js route scaffolding for App Router layouts.monitoringcreates configure-level Sentry starter files and environment examples.
Not Handled By Avis
Section titled “Not Handled By Avis”Avis does not duplicate create-next-app project choices such as:
- TypeScript
- Tailwind
- App Router
- ESLint
srcdirectory- import aliases
Framework scaffolders create the project. Avis equips it.