Files
nrwl--nx/packages/node/src/generators/library/schema.d.ts
T
2026-07-13 12:38:36 +08:00

25 lines
589 B
TypeScript

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;
setParserOptionsProject?: boolean;
compiler: 'tsc' | 'swc';
addPlugin?: boolean;
useProjectJson?: boolean;
}