diff --git a/packages/cli-node/src/monorepo/PackageGraph.ts b/packages/cli-node/src/monorepo/PackageGraph.ts index 016704b9c9..f6b563202e 100644 --- a/packages/cli-node/src/monorepo/PackageGraph.ts +++ b/packages/cli-node/src/monorepo/PackageGraph.ts @@ -46,8 +46,20 @@ export interface BackstagePackageJson { backstage?: { role?: PackageRole; moved?: string; + + /** + * The ID of the plugin if this is a plugin package. Must always be set for plugin and module packages, and may be set for library packages. + */ pluginId?: string; + + /** + * The parent plugin package of a module. Must always and only be set for module packages. + */ pluginPackage?: string; + + /** + * All packages that are part of the plugin. Must always and only be set for plugin packages and plugin library packages. + */ pluginPackages?: { frontend?: string; backend?: string;