ee92b179e1
* 'master' of github.com:backstage/backstage: (98 commits) build(deps): bump archiver from 5.0.2 to 5.1.0 build(deps): bump typescript-json-schema from 0.45.0 to 0.45.1 docs: Update lighthouse docs scaffolder-backend: clarify type detection error message scaffolder-backend: gitlab preparer uses integrations token core-api: ensure that routable extension components are discovered at boot core-api: memoize app element traversal and validation core-api: add lazy loading of component extensions Add changeset and add missing semicolon Add search plugin to new CLI created apps build(deps): bump graphql from 15.3.0 to 15.4.0 core-api: add MutableSessionManager and fix AuthSessionStore not properly updating session state run prettier on the roadmap core-api: refactor createReactExtension to forward component types directly and avoid @types/react dependency core-api: add route validation to app + test core-api: default type parameters for BackstagePlugin to avoid breakage changeset: add changesets for new plugin extension API core-api: avoid exporting AnyRoutes, AnyExternalRoutes, and ExternalRouteRef constructor core-api: rename BindRouteFunc to AppRouteBinder core-api,plugins/graphiql: export extension APIs from core-api and port the graphiql plugin ...
@backstage/cli
This package provides a CLI for developing Backstage plugins and apps.
Installation
Install the package via npm or Yarn:
$ npm install --save @backstage/cli
or
$ yarn add @backstage/cli
Development
For local development the cli can be used directly, even from other packages in this repo. The bin/backstage-cli entrypoint contains a switch that will load the implementation from the src directory when executed inside this repo.
To run the cli in watch mode, use yarn start <args>. For example yarn start lint --help.
To try out the command locally, you can execute the following from the parent directory of this repo:
./backstage/packages/cli/bin/backstage-cli --help