UNPKG

@rushstack/lockfile-explorer

Version:

Rush Lockfile Explorer: The UI for solving version conflicts quickly in a large monorepo

52 lines 1.42 kB
import type { IJsonLfxWorkspace } from './IJsonLfxWorkspace'; export declare enum LfxGraphEntryKind { Project = 1, Package = 2, SideBySide = 3, Doppelganger = 4 } export interface IJsonPeerDependencyMeta { name?: string; version?: string; optional?: boolean; } export interface IJsonLfxDependency { name: string; versionPath: string; entryId: string; originalSpecifier: string; dependencyKind: LfxDependencyKind; peerDependencyMeta: IJsonPeerDependencyMeta; resolvedEntryJsonId?: number; } export declare enum LfxDependencyKind { Regular = "regular", Dev = "dev", Peer = "peer" } export interface IJsonLfxEntry { /** * A unique ID used when serializing graph links. * * @remarks * This is just the `IJsonLfxGraph.entries` array index, but debugging is easier if we include * it in the serialized representation. */ jsonId: number; kind: LfxGraphEntryKind; entryId: string; rawEntryId: string; packageJsonFolderPath: string; entryPackageName: string; displayText: string; entryPackageVersion: string; entrySuffix: string; dependencies: IJsonLfxDependency[]; transitivePeerDependencies: string[]; referrerJsonIds: number[]; } export interface IJsonLfxGraph { workspace: IJsonLfxWorkspace; entries: IJsonLfxEntry[]; } //# sourceMappingURL=IJsonLfxGraph.d.ts.map