github-actions: GitHub -> Github
This commit is contained in:
@@ -2,4 +2,4 @@
|
||||
'@backstage/plugin-github-actions': patch
|
||||
---
|
||||
|
||||
Migrate to new composability API, exporting the plugin instance as `githubActionsPlugin`, the entity content as `EntityGitHubActionsContent`, entity conditional as `isGitHubActionsAvailable`, and entity cards as `EntityLatestGitHubActionRunCard`, `EntityLatestGitHubActionsForBranchCard`, and `EntityRecentGitHubActionsRunsCard`.
|
||||
Migrate to new composability API, exporting the plugin instance as `githubActionsPlugin`, the entity content as `EntityGithubActionsContent`, entity conditional as `isGithubActionsAvailable`, and entity cards as `EntityLatestGithubActionRunCard`, `EntityLatestGithubActionsForBranchCard`, and `EntityRecentGithubActionsRunsCard`.
|
||||
|
||||
@@ -17,16 +17,16 @@
|
||||
export {
|
||||
githubActionsPlugin,
|
||||
githubActionsPlugin as plugin,
|
||||
EntityGitHubActionsContent,
|
||||
EntityLatestGitHubActionRunCard,
|
||||
EntityLatestGitHubActionsForBranchCard,
|
||||
EntityRecentGitHubActionsRunsCard,
|
||||
EntityGithubActionsContent,
|
||||
EntityLatestGithubActionRunCard,
|
||||
EntityLatestGithubActionsForBranchCard,
|
||||
EntityRecentGithubActionsRunsCard,
|
||||
} from './plugin';
|
||||
export * from './api';
|
||||
export {
|
||||
Router,
|
||||
isPluginApplicableToEntity,
|
||||
isPluginApplicableToEntity as isGitHubActionsAvailable,
|
||||
isPluginApplicableToEntity as isGithubActionsAvailable,
|
||||
} from './components/Router';
|
||||
export * from './components/Cards';
|
||||
export { GITHUB_ACTIONS_ANNOTATION } from './components/useProjectName';
|
||||
|
||||
@@ -51,14 +51,14 @@ export const githubActionsPlugin = createPlugin({
|
||||
},
|
||||
});
|
||||
|
||||
export const EntityGitHubActionsContent = githubActionsPlugin.provide(
|
||||
export const EntityGithubActionsContent = githubActionsPlugin.provide(
|
||||
createRoutableExtension({
|
||||
component: () => import('./components/Router').then(m => m.Router),
|
||||
mountPoint: rootRouteRef,
|
||||
}),
|
||||
);
|
||||
|
||||
export const EntityLatestGitHubActionRunCard = githubActionsPlugin.provide(
|
||||
export const EntityLatestGithubActionRunCard = githubActionsPlugin.provide(
|
||||
createComponentExtension({
|
||||
component: {
|
||||
lazy: () =>
|
||||
@@ -67,7 +67,7 @@ export const EntityLatestGitHubActionRunCard = githubActionsPlugin.provide(
|
||||
}),
|
||||
);
|
||||
|
||||
export const EntityLatestGitHubActionsForBranchCard = githubActionsPlugin.provide(
|
||||
export const EntityLatestGithubActionsForBranchCard = githubActionsPlugin.provide(
|
||||
createComponentExtension({
|
||||
component: {
|
||||
lazy: () =>
|
||||
@@ -76,7 +76,7 @@ export const EntityLatestGitHubActionsForBranchCard = githubActionsPlugin.provid
|
||||
}),
|
||||
);
|
||||
|
||||
export const EntityRecentGitHubActionsRunsCard = githubActionsPlugin.provide(
|
||||
export const EntityRecentGithubActionsRunsCard = githubActionsPlugin.provide(
|
||||
createComponentExtension({
|
||||
component: {
|
||||
lazy: () =>
|
||||
|
||||
Reference in New Issue
Block a user