repo-tools: clarify reason for skipping API reports for inline packages

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-09-10 10:12:11 +02:00
parent 434b9c19db
commit 372dd2aa59
@@ -1232,8 +1232,11 @@ export async function categorizePackageDirs(packageDirs: string[]) {
if (!role) {
return; // Ignore packages without roles
}
// TODO(Rugvip): Inlined packages are ignored because we can't handle @internal exports
// gracefully, and we don't want to have to mark all exports @public etc.
// It would be good if we could include these packages though.
if (pkgJson?.backstage?.inline) {
return; // Ignore inline packages
return;
}
if (role === 'cli') {
cliPackageDirs.push(dir);