Move known plugin package constants from cli-common to cli-internal

The known plugin package ID mappings don't need to be part of the
public API surface. Move them to @internal/cli and update consumers.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-17 20:55:10 +01:00
parent a0bc38b83c
commit b46970c880
8 changed files with 11 additions and 22 deletions
+2 -2
View File
@@ -19,6 +19,7 @@
"license": "Apache-2.0",
"main": "src/index.ts",
"types": "src/index.ts",
"bin": "bin/backstage-cli-module-maintenance",
"files": [
"dist",
"bin"
@@ -42,6 +43,5 @@
"devDependencies": {
"@backstage/cli": "workspace:^",
"@types/fs-extra": "^11.0.0"
},
"bin": "bin/backstage-cli-module-maintenance"
}
}
@@ -29,11 +29,11 @@ import {
relative as relativePath,
extname,
} from 'node:path';
import { targetPaths } from '@backstage/cli-common';
import {
targetPaths,
knownBackendPluginPackageNameByPluginId,
knownFrontendPluginPackageNameByPluginId,
} from '@backstage/cli-common';
} from '@internal/cli';
const SCRIPT_EXTS = ['.js', '.jsx', '.ts', '.tsx', '.json'];