Leosvel Pérez Espinosa cbf80c18d1
feat(misc): add useProjectJson flag to project generators (#30319)
Add a `useProjectJson` option to project generators to allow users to
opt in/out of generating the Nx configuration in a `project.json` file.

## Current Behavior

## Expected Behavior

## Related Issue(s)

Fixes #
2025-03-11 12:12:03 -04:00

17 lines
664 B
TypeScript

import type { Linter, LinterType } from '@nx/eslint';
export interface Schema {
appProject: string; // name of the project app to be tested (directory + app name), case insensitive
appDisplayName?: string; // display name of the app to be tested
appName?: string; // name of app to be tested if different form appProject, case insensitive
e2eDirectory: string; // the directory where e2e app going to be located
e2eName?: string; // name of the e2e app
linter?: Linter | LinterType;
js?: boolean;
skipFormat?: boolean;
setParserOptionsProject?: boolean;
framework: 'react-native' | 'expo';
addPlugin?: boolean;
useProjectJson?: boolean;
}