Skip to main content
Version: Next

PackageGraphNode

Home > @backstage/cli-node > PackageGraphNode

A local package in the monorepo package graph.

Signature:

export type PackageGraphNode = {
name: string;
dir: string;
packageJson: BackstagePackageJson;
allLocalDependencies: Map<string, PackageGraphNode>;
publishedLocalDependencies: Map<string, PackageGraphNode>;
localDependencies: Map<string, PackageGraphNode>;
localDevDependencies: Map<string, PackageGraphNode>;
localOptionalDependencies: Map<string, PackageGraphNode>;
allLocalDependents: Map<string, PackageGraphNode>;
publishedLocalDependents: Map<string, PackageGraphNode>;
localDependents: Map<string, PackageGraphNode>;
localDevDependents: Map<string, PackageGraphNode>;
localOptionalDependents: Map<string, PackageGraphNode>;
};

References: BackstagePackageJson, PackageGraphNode