Slim cli-plugin-api to only export createCliPlugin

Move error handling and lazy utilities back to @backstage/cli since they
are host-only concerns. The cli-plugin-api internals subpath provides
isCliPlugin and initializeCliPlugin for the CLI host.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
This commit is contained in:
Patrik Oldsberg
2026-03-11 08:09:32 +01:00
parent 0be3eab18b
commit d6caf7f13b
22 changed files with 175 additions and 193 deletions
-1
View File
@@ -2828,7 +2828,6 @@ __metadata:
dependencies:
"@backstage/cli": "workspace:^"
"@backstage/errors": "workspace:^"
chalk: "npm:^4.0.0"
languageName: unknown
linkType: soft