Update remaining default template yaml files
Signed-off-by: Min Kim <minkimcello@gmail.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
description: A new backend plugin
|
||||
template: ./default-backend-plugin
|
||||
targetPath: plugins
|
||||
suffix: backend
|
||||
prompts:
|
||||
- id: test
|
||||
prompt: Test prompt
|
||||
default: test-default
|
||||
- id
|
||||
- owner
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
description: A new isomorphic common plugin package
|
||||
template: ./default-common-plugin-package
|
||||
targetPath: plugins
|
||||
suffix: common
|
||||
prompts:
|
||||
- id: test
|
||||
prompt: Test prompt
|
||||
default: test-default
|
||||
- id
|
||||
- owner
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
description: A new Node.js library plugin package
|
||||
template: ./default-node-plugin-package
|
||||
targetPath: plugins
|
||||
suffix: node
|
||||
prompts:
|
||||
- id: test
|
||||
prompt: Test prompt
|
||||
default: test-default
|
||||
- id
|
||||
- owner
|
||||
|
||||
@@ -3,6 +3,5 @@ description: A new frontend plugin
|
||||
template: ./default-plugin
|
||||
targetPath: plugins
|
||||
prompts:
|
||||
- id: test
|
||||
prompt: Test prompt
|
||||
default: test-default
|
||||
- id
|
||||
- owner
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
description: A new web library plugin package
|
||||
template: ./default-react-plugin-package
|
||||
targetPath: plugins
|
||||
suffix: react
|
||||
prompts:
|
||||
- id: test
|
||||
prompt: Test prompt
|
||||
default: test-default
|
||||
- id
|
||||
- owner
|
||||
|
||||
@@ -3,38 +3,38 @@ import { paths } from '../src/lib/paths';
|
||||
export default [
|
||||
{
|
||||
id: 'backend-module',
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/alpha/default-backend-module.yaml'),
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/default-backend-module.yaml'),
|
||||
},
|
||||
{
|
||||
id: 'backend-plugin',
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/alpha/default-backend-plugin.yaml'),
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/default-backend-plugin.yaml'),
|
||||
},
|
||||
{
|
||||
id: 'plugin-common',
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/alpha/default-common-plugin-package.yaml'),
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/default-common-plugin-package.yaml'),
|
||||
},
|
||||
{
|
||||
id: 'plugin-node',
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/alpha/default-node-plugin-package.yaml'),
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/default-node-plugin-package.yaml'),
|
||||
},
|
||||
{
|
||||
id: 'frontend-plugin', // changed from 'plugin'
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/alpha/default-plugin.yaml'),
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/default-plugin.yaml'),
|
||||
},
|
||||
{
|
||||
id: 'plugin-react',
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/alpha/default-react-plugin-package.yaml'),
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/default-react-plugin-package.yaml'),
|
||||
},
|
||||
{
|
||||
id: 'node-library',
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/alpha/node-library-package.yaml'),
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/node-library-package.yaml'),
|
||||
},
|
||||
{
|
||||
id: 'scaffolder-module',
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/alpha/scaffolder-module.yaml'),
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/scaffolder-module.yaml'),
|
||||
},
|
||||
{
|
||||
id: 'web-library',
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/alpha/web-library-package.yaml'),
|
||||
target: paths.resolveTargetRoot('node_modules/@backstage/cli/templates/web-library-package.yaml'),
|
||||
},
|
||||
];
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
description: A new node-library package, exporting shared functionality for backend plugins and modules
|
||||
template: ./node-library-package
|
||||
targetPath: packages
|
||||
plugin: false
|
||||
prompts:
|
||||
- id: test
|
||||
prompt: Test prompt
|
||||
default: test-default
|
||||
- id
|
||||
- owner
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
description: A new web-library package, exporting shared functionality for frontend plugins
|
||||
template: ./web-library-package
|
||||
targetPath: packages
|
||||
plugin: false
|
||||
prompts:
|
||||
- id
|
||||
- id: another-id
|
||||
prompt: Provide another id
|
||||
default: another-id-example
|
||||
validate: backstage-id
|
||||
- owner
|
||||
|
||||
Reference in New Issue
Block a user