github-actions: GitHub -> Github

This commit is contained in:
Patrik Oldsberg
2021-02-07 23:40:44 +01:00
parent b92541fcc3
commit 3eb1b1bacc
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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`.
+5 -5
View File
@@ -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';
+4 -4
View File
@@ -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: () =>