cli/templates: define role for all package templates

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-02-07 15:11:56 +01:00
parent 9e8d2e5bfa
commit ff951003f1
9 changed files with 9 additions and 8 deletions
@@ -1,7 +1,7 @@
description: A new backend module that extends an existing backend plugin with additional features
template: ./default-backend-module
targetPath: plugins
backendModulePrefix: true
role: backend-plugin-module
prompts:
- id
- moduleId
@@ -1,7 +1,7 @@
description: A new backend plugin
template: ./default-backend-plugin
targetPath: plugins
suffix: backend
role: backend-plugin
prompts:
- id
- owner
@@ -1,7 +1,7 @@
description: A new isomorphic common plugin package
template: ./default-common-plugin-package
targetPath: plugins
suffix: common
role: plugin-common-library
prompts:
- id
- owner
@@ -1,7 +1,7 @@
description: A new Node.js library plugin package
template: ./default-node-plugin-package
targetPath: plugins
suffix: node
role: plugin-node-library
prompts:
- id
- owner
@@ -1,6 +1,7 @@
description: A new frontend plugin
template: ./default-plugin
targetPath: plugins
role: frontend-plugin
prompts:
- id
- owner
@@ -1,7 +1,7 @@
description: A new web library plugin package
template: ./default-react-plugin-package
targetPath: plugins
suffix: react
role: plugin-web-library
prompts:
- id
- owner
@@ -1,7 +1,7 @@
description: A new node-library package, exporting shared functionality for backend plugins and modules
template: ./node-library-package
targetPath: packages
plugin: false
role: node-library
prompts:
- id
- owner
@@ -1,7 +1,7 @@
description: A module exporting custom actions for @backstage/plugin-scaffolder-backend
template: ./scaffolder-module
targetPath: plugins
backendModulePrefix: true
role: backend-plugin-module
prompts:
- id: id
prompt: Enter the ID of the plugin [required]
@@ -1,7 +1,7 @@
description: A new web-library package, exporting shared functionality for frontend plugins
template: ./web-library-package
targetPath: packages
plugin: false
role: web-library
prompts:
- id
- owner