UNPKG

@hyperse/dependency-sync

Version:

A comprehensive Node.js utility for managing dependencies in monorepo environments, specifically designed for Hyperse plugin ecosystems.

7 lines (6 loc) 409 B
/** * Checks if any imported packages in the source files are unused in the project's package.json dependencies, devDependencies * @param projectCwd - The project directory * @param ignoredCheckList - The list of packages to ignore when checking for unused declarations */ export declare function checkUnusedPackageDeclaration(projectCwd: string, ignoredCheckList: Array<string | RegExp>): Promise<void>;