Skip to main content

@backstage/cli-common

Home > @backstage/cli-common

Common functionality used by cli, backend, and create-app

Functions

FunctionDescription
findPaths(searchDir)Find paths related to a package and its execution context.
isChildPath(base, path)Checks if path is the same as or a child path of base.

Variables

VariableDescription
BACKSTAGE_JSONThe name of the backstage's config file

Type Aliases

Type AliasDescription
PathsCommon paths and resolve functions used by the cli. Currently assumes it is being executed within a monorepo.
ResolveFuncA function that takes a set of path fragments and resolves them into a single complete path, relative to some root.