UNPKG

@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

13 lines (12 loc) 738 B
import { ExecutorContext } from '@nx/devkit'; /** * Get the all package dependencies for the project. * * All package dependencies are the dependent projects that are directly and indirect referenced by the project. * This includes the dependencies of the dependent projects. * * @param context * @param projectName */ export declare function GetAllPackageDependenciesForProject(context: ExecutorContext, projectName?: string, resolvedDependencies?: Record<string, string>): Record<string, string>; export declare function GetAllPackageDependenciesForProjectWihRetry(context: ExecutorContext, projectName?: string, resolvedDependencies?: Record<string, string>, retries?: number, sleep?: number): Promise<Record<string, string>>;