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:
@@ -2,4 +2,4 @@
|
||||
'@backstage/cli': patch
|
||||
---
|
||||
|
||||
Migrated CLI plugin modules to import from the new `@backstage/cli-plugin-api` package.
|
||||
Migrated CLI plugin modules to use `createCliPlugin` from the new `@backstage/cli-plugin-api` package.
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
'@backstage/cli-plugin-api': minor
|
||||
---
|
||||
|
||||
Added a new `@backstage/cli-plugin-api` package that provides the public API for building Backstage CLI plugins. This includes `createCliPlugin`, `lazy`, `ExitCodeError`, `exitWithError`, and associated types.
|
||||
Added a new `@backstage/cli-plugin-api` package that provides the `createCliPlugin` API for building Backstage CLI plugins.
|
||||
|
||||
Reference in New Issue
Block a user