switch from backstage.integrationFor to backstage.peerModules

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-02-02 22:57:06 +01:00
parent f5d56be363
commit 5e3ef57e4e
15 changed files with 64 additions and 59 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export interface BackstagePackageJson {
pluginId?: string | null;
pluginPackage?: string;
pluginPackages?: string[];
integrationFor?: string[];
peerModules?: string[];
features?: Record<string, BackstagePackageFeatureType>;
};
// (undocumented)
@@ -92,9 +92,10 @@ export interface BackstagePackageJson {
pluginPackages?: string[];
/**
* Package names that this module provides integration for. When any of these packages are used, this module should be suggested as a related integration.
* Module packages that should be installed alongside this plugin for cross-plugin integrations.
* If the peer module's target plugin is present, you should have the peer module installed.
*/
integrationFor?: string[];
peerModules?: string[];
/**
* The feature types exported from the package, indexed by path.