UNPKG

@nx/next

Version:

The Next.js plugin for Nx contains executors and generators for managing Next.js applications and libraries within an Nx workspace. It provides: - Scaffolding for creating, building, serving, linting, and testing Next.js applications. - Integration wit

27 lines (25 loc) 682 B
import type { Linter, LinterType } from '@nx/eslint'; import type { SupportedStyles } from '@nx/react'; export interface Schema { directory: string; name?: string; style?: SupportedStyles; skipFormat?: boolean; tags?: string; unitTestRunner?: 'jest' | 'none'; e2eTestRunner?: 'cypress' | 'playwright' | 'none'; linter?: Linter | LinterType; js?: boolean; setParserOptionsProject?: boolean; swc?: boolean; customServer?: boolean; skipPackageJson?: boolean; appDir?: boolean; src?: boolean; // Internal options rootProject?: boolean; addPlugin?: boolean; useTsSolution?: boolean; formatter?: 'prettier' | 'none'; useProjectJson?: boolean; }