Interface WorkspacePackageInfo

Info about a single package ("workspace" in npm/yarn/pnpm terms) within a monorepo.

(Ideally this should be called just WorkspaceInfo, since "workspace" and "package" mean the same thing, but that name was previously used for the aggregate type.)

interface WorkspacePackageInfo {
    name: string;
    packageJson: PackageInfo;
    path: string;
}

Properties

Properties

name: string

Package name

packageJson: PackageInfo

package.json contents + path

path: string

Absolute path to the package root