UNPKG

@nx/js

Version:

The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects.

12 lines (11 loc) 509 B
import { type GeneratorCallback, type Tree } from '@nx/devkit'; import type { Options } from 'prettier'; export interface ExistingPrettierConfig { sourceFilepath: string; config: Options; } export declare function resolveUserExistingPrettierConfig(): Promise<ExistingPrettierConfig | null>; export declare function generatePrettierSetup(tree: Tree, options: { skipPackageJson?: boolean; }): GeneratorCallback; export declare function resolvePrettierConfigPath(tree: Tree): Promise<string | null>;