Move example cli template to root

Signed-off-by: Min Kim <minkimcello@gmail.com>
This commit is contained in:
Min Kim
2024-12-17 16:58:17 -05:00
parent 9b054b4e02
commit 7182d51120
2 changed files with 15 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
# lib/new/factories/backendModule.ts
description: A new backend module that extends an existing backend plugin with additional features
template: ./packages/cli/templates/default-backend-module
targetPath: plugins
backendModulePrefix: true
prompts:
- id
- moduleId
- owner
additionalActions:
- install-backend
- add-backend
+3 -3
View File
@@ -3,14 +3,14 @@
"version": "1.36.0-next.0",
"backstage": {
"cli": {
"defaults": false,
"defaults": true,
"globals": {
"private": false
},
"templates": [
{
"id": "local web plugin",
"target": "./packages/cli/templates/web-library-package.yaml"
"id": "local backend module example",
"target": "./example-cli-template.yaml"
}
]
}