Skip to main content

Paths

Home > @backstage/cli-common > Paths

Common paths and resolve functions used by the cli. Currently assumes it is being executed within a monorepo.

Signature:

export type Paths = {
ownDir: string;
ownRoot: string;
targetDir: string;
targetRoot: string;
resolveOwn: ResolveFunc;
resolveOwnRoot: ResolveFunc;
resolveTarget: ResolveFunc;
resolveTargetRoot: ResolveFunc;
};

References: ResolveFunc