@rxap/plugin-utilities
Version:
Provides utility functions for Nx plugins, such as retrieving project dependencies, determining output paths, and interacting with package.json files. It simplifies common tasks within Nx executors and generators. This package helps streamline plugin deve
7 lines (6 loc) • 507 B
TypeScript
import { ExecutorContext } from '@nx/devkit';
export declare function LoadProjectToPackageMapping(context: ExecutorContext): void;
export declare function LoadProjectToPackageMappingWithRetry(context: ExecutorContext, retries?: number, sleep?: number): Promise<void>;
export declare function PackageNameToProjectName(packageName: string): string;
export declare function ProjectNameToPackageName(projectName: string): string;
export declare function HasProjectWithPackageName(packageName: string): boolean;