cli/templates: define role for all package templates
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user