UNPKG

@nx/node

Version:

The Node Plugin for Nx contains generators to manage Node applications within an Nx workspace.

29 lines (27 loc) 723 B
import type { Linter, LinterType } from '@nx/eslint'; export interface Schema { directory: string; name?: string; simpleModuleName?: boolean; skipTsConfig?: boolean; skipFormat?: boolean; tags?: string; unitTestRunner?: 'jest' | 'none'; linter?: Linter | LinterType; buildable?: boolean; publishable?: boolean; importPath?: string; testEnvironment?: 'jsdom' | 'node'; rootDir?: string; babelJest?: boolean; js?: boolean; strict?: boolean; enableTypedLinting?: boolean; /** * @deprecated Use `enableTypedLinting` instead. This option will be removed in Nx v24. */ setParserOptionsProject?: boolean; compiler: 'tsc' | 'swc'; addPlugin?: boolean; useProjectJson?: boolean; }