UNPKG

workspace-tools

Version:

A collection of tools that are useful in a git-controlled monorepo that is managed by one of these tools:

11 lines (10 loc) 459 B
import type { PackageInfos } from "../types/PackageInfo"; import type { PackageGraph } from "../types/PackageGraph"; export interface PackageGraphFilter { namePatterns: string[]; includeDependencies?: boolean; includeDependents?: boolean; withDevDependencies?: boolean; withPeerDependencies?: boolean; } export declare function createPackageGraph(packages: PackageInfos, filters?: PackageGraphFilter[] | PackageGraphFilter): PackageGraph;