Change entity YAML name

This commit is contained in:
Adam Harvey
2020-11-22 20:57:40 -05:00
parent da8ca6cd1c
commit fe3619782b
@@ -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),
);