Add @internal/cli package for opaque CLI types

Move OpaqueCliPlugin to a new @internal/cli inline package, following the
same pattern as @internal/frontend. Both cli-plugin-api and cli import it
directly, and it gets bundled into their dists at build time.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-11 08:18:55 +01:00
parent d6caf7f13b
commit 2e5f189cfa
12 changed files with 107 additions and 146 deletions
+9
View File
@@ -9680,6 +9680,15 @@ __metadata:
languageName: node
linkType: hard
"@internal/cli@workspace:packages/cli-internal":
version: 0.0.0-use.local
resolution: "@internal/cli@workspace:packages/cli-internal"
dependencies:
"@backstage/cli": "workspace:^"
"@backstage/cli-plugin-api": "workspace:^"
languageName: unknown
linkType: soft
"@internal/frontend@workspace:packages/frontend-internal":
version: 0.0.0-use.local
resolution: "@internal/frontend@workspace:packages/frontend-internal"