Change entity YAML name
This commit is contained in:
@@ -48,7 +48,7 @@ export class CreateReactAppTemplater implements TemplaterBase {
|
||||
},
|
||||
});
|
||||
|
||||
// Need to also make a component-info.yaml to store the data about the service.
|
||||
// Need to also make a catalog-info.yaml to store the data about the service.
|
||||
const componentInfo = {
|
||||
apiVersion: 'backstage.io/v1alpha1',
|
||||
kind: 'Component',
|
||||
@@ -69,7 +69,7 @@ export class CreateReactAppTemplater implements TemplaterBase {
|
||||
);
|
||||
|
||||
await fs.promises.writeFile(
|
||||
`${finalDir}/component-info.yaml`,
|
||||
`${finalDir}/catalog-info.yaml`,
|
||||
yaml.stringify(componentInfo),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user