Merge pull request #7435 from backstage/codemod/extension-names

Add names to all core extensions provided by plugins
This commit is contained in:
Eric Peterson
2021-10-05 16:21:43 +02:00
committed by GitHub
52 changed files with 272 additions and 3 deletions
+4
View File
@@ -24,6 +24,7 @@ export const orgPlugin = createPlugin({
export const EntityGroupProfileCard = orgPlugin.provide(
createComponentExtension({
name: 'EntityGroupProfileCard',
component: {
lazy: () => import('./components').then(m => m.GroupProfileCard),
},
@@ -31,6 +32,7 @@ export const EntityGroupProfileCard = orgPlugin.provide(
);
export const EntityMembersListCard = orgPlugin.provide(
createComponentExtension({
name: 'EntityMembersListCard',
component: {
lazy: () => import('./components').then(m => m.MembersListCard),
},
@@ -38,6 +40,7 @@ export const EntityMembersListCard = orgPlugin.provide(
);
export const EntityOwnershipCard = orgPlugin.provide(
createComponentExtension({
name: 'EntityOwnershipCard',
component: {
lazy: () => import('./components').then(m => m.OwnershipCard),
},
@@ -45,6 +48,7 @@ export const EntityOwnershipCard = orgPlugin.provide(
);
export const EntityUserProfileCard = orgPlugin.provide(
createComponentExtension({
name: 'EntityUserProfileCard',
component: {
lazy: () => import('./components').then(m => m.UserProfileCard),
},