UNPKG

installed-check-core

Version:

Checks that all dependencies in your package.json have supported versions installed

15 lines 712 B
export function performInstalledCheck(checks: InstalledChecks[], pkg: import("./lookup-types.d.ts").PackageJsonLike, installed: import("./lookup-types.d.ts").InstalledDependencies, options?: InstalledCheckOptions | undefined): Promise<PerformInstalledCheckResult>; export type InstalledCheckOptions = { ignore?: string[] | undefined; noDev?: boolean | undefined; prefix?: string | undefined; strict?: boolean | undefined; }; export type PerformInstalledCheckResult = { errors: string[]; warnings: string[]; suggestions: string[]; fixes: import("./fix.js").Fix[]; }; export type InstalledChecks = "engine" | "peer" | "version"; //# sourceMappingURL=perform-installed-check.d.ts.map