cli: Add pluginPackage support to backend-plugin-module template
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
committed by
Patrik Oldsberg
parent
ef910b05b9
commit
971cc9457a
@@ -10,7 +10,8 @@
|
||||
},
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
"pluginId": "{{pluginId}}"
|
||||
"pluginId": "{{pluginId}}",
|
||||
"pluginPackage": "{{pluginPackage}}"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "backstage-cli package start",
|
||||
|
||||
@@ -10,7 +10,8 @@
|
||||
},
|
||||
"backstage": {
|
||||
"role": "backend-plugin-module",
|
||||
"pluginId": "scaffolder"
|
||||
"pluginId": "scaffolder",
|
||||
"pluginPackage": "@backstage/plugin-scaffolder-backend"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "backstage-cli package start",
|
||||
|
||||
@@ -3,4 +3,5 @@ role: backend-plugin-module
|
||||
description: A module exporting custom actions for @backstage/plugin-scaffolder-backend
|
||||
values:
|
||||
pluginId: scaffolder
|
||||
pluginPackage: '@backstage/plugin-scaffolder-backend'
|
||||
moduleVar: '{{ camelCase pluginId }}Module{{ upperFirst ( camelCase moduleId ) }}'
|
||||
|
||||
Reference in New Issue
Block a user