UNPKG

@code-pushup/js-packages-plugin

Version:
17 lines (16 loc) 705 B
import type { ReleaseType } from 'semver'; export type PackageVersion = Record<ReleaseType, number>; export declare const dependencyGroupLong: readonly ["dependencies", "devDependencies", "optionalDependencies"]; export type DependencyGroupLong = (typeof dependencyGroupLong)[number]; type PackageJsonDependencies = Record<string, string>; export type PackageJson = Partial<Record<DependencyGroupLong, PackageJsonDependencies>>; export type DependencyTotals = Record<DependencyGroupLong, number>; export type OutdatedDependency = { name: string; current: string; latest: string; type: DependencyGroupLong; url?: string; }; export type OutdatedResult = OutdatedDependency[]; export {};