Skip to main content

@backstage/cli-node

Home > @backstage/cli-node

Node.js library for Backstage CLIs

Classes

Class

Description

GitUtils

Utilities for working with git.

Lockfile

Represents a package manager lockfile.

PackageGraph

Represents a local Backstage monorepo package graph.

PackageRoles

Utilities for working with Backstage package roles.

Functions

Function

Description

isMonoRepo()

Returns try if the current project is a monorepo.

Interfaces

Interface

Description

BackstagePackageJson

Known fields in Backstage package.json files.

PackageRoleInfo

Information about a package role.

Type Aliases

Type Alias

Description

BackstagePackage

A local Backstage monorepo package

LockfileDiff

Represents the difference between two Lockfiles.

LockfileDiffEntry

An entry for a single difference between two Lockfiles.

PackageGraphNode

A local package in the monorepo package graph.

PackageOutputType

The type of output that a package can produce.

PackagePlatform

A type of platform that a package can be built for.

PackageRole

Backstage package role, see docs.