Update all references of the new command in docs

Signed-off-by: Min Kim <minkimcello@gmail.com>
This commit is contained in:
Min Kim
2024-12-21 20:29:04 -05:00
parent fc31456ff1
commit 6eecf9e9fc
7 changed files with 19 additions and 18 deletions
+2 -8
View File
@@ -10,18 +10,12 @@ Backstage repository.
## Creating a Backend Plugin
A new, bare-bones backend plugin package can be created by issuing the following
command in your Backstage repository root:
command in your Backstage repository root and selecting `backend-plugin`:
```sh
yarn new --select backend-plugin
yarn backstage-cli new
```
Please also see the `--help` flag for the `new` command for some
further options that are available, notably the `--scope` and `--no-private`
flags that control naming and publishing of the newly created package. Your repo
root `package.json` will probably also have some default values already set up
for these.
You will be asked to supply a name for the plugin. This is an identifier that
will be part of the NPM package name, so make it short and containing only
lowercase characters separated by dashes, for example `carmen`, if it's a