@backstage-community/plugin-github-actions 0.13.1 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/alpha/apis.esm.js +6 -8
- package/dist/alpha/apis.esm.js.map +1 -1
- package/dist/alpha/entityContent.esm.js +2 -2
- package/dist/alpha/entityContent.esm.js.map +1 -1
- package/dist/alpha.d.ts +44 -35
- package/dist/alpha.esm.js +1 -1
- package/dist/alpha.esm.js.map +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @backstage-community/plugin-github-actions
|
|
2
2
|
|
|
3
|
+
## 0.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 310e1d4: Backstage version bump to v1.43.2
|
|
8
|
+
|
|
9
|
+
## 0.14.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 0493206: Backstage version bump to v1.42.3
|
|
14
|
+
|
|
3
15
|
## 0.13.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/alpha/apis.esm.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import { ApiBlueprint,
|
|
1
|
+
import { ApiBlueprint, configApiRef } from '@backstage/frontend-plugin-api';
|
|
2
2
|
import { scmAuthApiRef } from '@backstage/integration-react';
|
|
3
3
|
import { githubActionsApiRef } from '../api/GithubActionsApi.esm.js';
|
|
4
4
|
import { GithubActionsClient } from '../api/GithubActionsClient.esm.js';
|
|
5
5
|
|
|
6
6
|
const githubActionsApi = ApiBlueprint.make({
|
|
7
|
-
params: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
})
|
|
13
|
-
}
|
|
7
|
+
params: (defineParams) => defineParams({
|
|
8
|
+
api: githubActionsApiRef,
|
|
9
|
+
deps: { configApi: configApiRef, scmAuthApi: scmAuthApiRef },
|
|
10
|
+
factory: ({ configApi, scmAuthApi }) => new GithubActionsClient({ configApi, scmAuthApi })
|
|
11
|
+
})
|
|
14
12
|
});
|
|
15
13
|
|
|
16
14
|
export { githubActionsApi };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apis.esm.js","sources":["../../src/alpha/apis.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport {
|
|
1
|
+
{"version":3,"file":"apis.esm.js","sources":["../../src/alpha/apis.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { configApiRef, ApiBlueprint } from '@backstage/frontend-plugin-api';\nimport { scmAuthApiRef } from '@backstage/integration-react';\nimport { githubActionsApiRef, GithubActionsClient } from '../api';\n\n/**\n * @alpha\n */\nexport const githubActionsApi = ApiBlueprint.make({\n params: defineParams =>\n defineParams({\n api: githubActionsApiRef,\n deps: { configApi: configApiRef, scmAuthApi: scmAuthApiRef },\n factory: ({ configApi, scmAuthApi }) =>\n new GithubActionsClient({ configApi, scmAuthApi }),\n }),\n});\n"],"names":[],"mappings":";;;;;AAsBa,MAAA,gBAAA,GAAmB,aAAa,IAAK,CAAA;AAAA,EAChD,MAAA,EAAQ,kBACN,YAAa,CAAA;AAAA,IACX,GAAK,EAAA,mBAAA;AAAA,IACL,IAAM,EAAA,EAAE,SAAW,EAAA,YAAA,EAAc,YAAY,aAAc,EAAA;AAAA,IAC3D,OAAA,EAAS,CAAC,EAAE,SAAW,EAAA,UAAA,EACrB,KAAA,IAAI,mBAAoB,CAAA,EAAE,SAAW,EAAA,UAAA,EAAY;AAAA,GACpD;AACL,CAAC;;;;"}
|
|
@@ -7,8 +7,8 @@ import { rootRouteRef } from '../routes.esm.js';
|
|
|
7
7
|
const entityGithubActionsContent = EntityContentBlueprint.make({
|
|
8
8
|
name: "entity",
|
|
9
9
|
params: {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
path: "github-actions",
|
|
11
|
+
title: "GitHub Actions",
|
|
12
12
|
filter: isGithubActionsAvailable,
|
|
13
13
|
routeRef: convertLegacyRouteRef(rootRouteRef),
|
|
14
14
|
loader: () => import('../components/Router.esm.js').then((m) => /* @__PURE__ */ jsx(m.Router, { view: "table" }))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entityContent.esm.js","sources":["../../src/alpha/entityContent.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { convertLegacyRouteRef } from '@backstage/core-compat-api';\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\nimport { isGithubActionsAvailable } from '../components/Router';\nimport { rootRouteRef } from '../routes';\n\n/**\n * @alpha\n */\nexport const entityGithubActionsContent = EntityContentBlueprint.make({\n name: 'entity',\n params: {\n
|
|
1
|
+
{"version":3,"file":"entityContent.esm.js","sources":["../../src/alpha/entityContent.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { convertLegacyRouteRef } from '@backstage/core-compat-api';\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\nimport { isGithubActionsAvailable } from '../components/Router';\nimport { rootRouteRef } from '../routes';\n\n/**\n * @alpha\n */\nexport const entityGithubActionsContent = EntityContentBlueprint.make({\n name: 'entity',\n params: {\n path: 'github-actions',\n title: 'GitHub Actions',\n filter: isGithubActionsAvailable,\n routeRef: convertLegacyRouteRef(rootRouteRef),\n loader: () =>\n import('../components/Router').then(m => <m.Router view=\"table\" />),\n },\n});\n"],"names":[],"mappings":";;;;;;AAuBa,MAAA,0BAAA,GAA6B,uBAAuB,IAAK,CAAA;AAAA,EACpE,IAAM,EAAA,QAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,gBAAA;AAAA,IACN,KAAO,EAAA,gBAAA;AAAA,IACP,MAAQ,EAAA,wBAAA;AAAA,IACR,QAAA,EAAU,sBAAsB,YAAY,CAAA;AAAA,IAC5C,MAAQ,EAAA,MACN,OAAO,6BAAsB,CAAE,CAAA,IAAA,CAAK,CAAK,CAAA,qBAAA,GAAA,CAAC,CAAE,CAAA,MAAA,EAAF,EAAS,IAAA,EAAK,SAAQ,CAAE;AAAA;AAExE,CAAC;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -8,21 +8,21 @@ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api'
|
|
|
8
8
|
/**
|
|
9
9
|
* @alpha
|
|
10
10
|
*/
|
|
11
|
-
declare const _default: _backstage_frontend_plugin_api.
|
|
11
|
+
declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
|
|
12
12
|
entityContent: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
13
13
|
}, {}, {
|
|
14
|
-
|
|
14
|
+
"api:github-actions": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
15
15
|
kind: "api";
|
|
16
16
|
name: undefined;
|
|
17
17
|
config: {};
|
|
18
18
|
configInput: {};
|
|
19
|
-
output: _backstage_frontend_plugin_api.
|
|
19
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_core_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
20
20
|
inputs: {};
|
|
21
|
-
params: {
|
|
22
|
-
|
|
23
|
-
}
|
|
21
|
+
params: <TApi, TImpl extends TApi, TDeps extends {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
}>(params: _backstage_core_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_core_plugin_api.AnyApiFactory>;
|
|
24
24
|
}>;
|
|
25
|
-
|
|
25
|
+
"entity-card:github-actions/latest-branch-workflow-runs": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
26
26
|
config: {
|
|
27
27
|
props: {
|
|
28
28
|
branch?: string | undefined;
|
|
@@ -39,15 +39,17 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
39
39
|
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
40
40
|
type?: "content" | "summary" | "info" | undefined;
|
|
41
41
|
};
|
|
42
|
-
output: _backstage_frontend_plugin_api.
|
|
42
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
43
43
|
optional: true;
|
|
44
|
-
}> | _backstage_frontend_plugin_api.
|
|
44
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
45
45
|
optional: true;
|
|
46
|
-
}> | _backstage_frontend_plugin_api.
|
|
46
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
47
47
|
optional: true;
|
|
48
48
|
}>;
|
|
49
49
|
inputs: {
|
|
50
|
-
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.
|
|
50
|
+
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef<unknown, string, {
|
|
51
|
+
optional?: true | undefined;
|
|
52
|
+
}>, {
|
|
51
53
|
optional: boolean;
|
|
52
54
|
singleton: boolean;
|
|
53
55
|
}>;
|
|
@@ -60,7 +62,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
60
62
|
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
|
|
61
63
|
};
|
|
62
64
|
}>;
|
|
63
|
-
|
|
65
|
+
"entity-card:github-actions/latest-workflow-run": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
64
66
|
config: {
|
|
65
67
|
props: {
|
|
66
68
|
branch?: string | undefined;
|
|
@@ -77,15 +79,17 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
77
79
|
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
78
80
|
type?: "content" | "summary" | "info" | undefined;
|
|
79
81
|
};
|
|
80
|
-
output: _backstage_frontend_plugin_api.
|
|
82
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
81
83
|
optional: true;
|
|
82
|
-
}> | _backstage_frontend_plugin_api.
|
|
84
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
83
85
|
optional: true;
|
|
84
|
-
}> | _backstage_frontend_plugin_api.
|
|
86
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
85
87
|
optional: true;
|
|
86
88
|
}>;
|
|
87
89
|
inputs: {
|
|
88
|
-
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.
|
|
90
|
+
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef<unknown, string, {
|
|
91
|
+
optional?: true | undefined;
|
|
92
|
+
}>, {
|
|
89
93
|
optional: boolean;
|
|
90
94
|
singleton: boolean;
|
|
91
95
|
}>;
|
|
@@ -98,12 +102,12 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
98
102
|
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
|
|
99
103
|
};
|
|
100
104
|
}>;
|
|
101
|
-
|
|
105
|
+
"entity-card:github-actions/recent-workflow-runs": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
102
106
|
config: {
|
|
103
107
|
props: {
|
|
104
108
|
dense: boolean;
|
|
105
|
-
branch?: string | undefined;
|
|
106
109
|
limit?: number | undefined;
|
|
110
|
+
branch?: string | undefined;
|
|
107
111
|
};
|
|
108
112
|
} & {
|
|
109
113
|
filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
@@ -112,22 +116,24 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
112
116
|
configInput: {
|
|
113
117
|
props?: {
|
|
114
118
|
dense?: boolean | undefined;
|
|
115
|
-
branch?: string | undefined;
|
|
116
119
|
limit?: number | undefined;
|
|
120
|
+
branch?: string | undefined;
|
|
117
121
|
} | undefined;
|
|
118
122
|
} & {
|
|
119
123
|
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
120
124
|
type?: "content" | "summary" | "info" | undefined;
|
|
121
125
|
};
|
|
122
|
-
output: _backstage_frontend_plugin_api.
|
|
126
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
123
127
|
optional: true;
|
|
124
|
-
}> | _backstage_frontend_plugin_api.
|
|
128
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
125
129
|
optional: true;
|
|
126
|
-
}> | _backstage_frontend_plugin_api.
|
|
130
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
127
131
|
optional: true;
|
|
128
132
|
}>;
|
|
129
133
|
inputs: {
|
|
130
|
-
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.
|
|
134
|
+
[x: string]: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ExtensionDataRef<unknown, string, {
|
|
135
|
+
optional?: true | undefined;
|
|
136
|
+
}>, {
|
|
131
137
|
optional: boolean;
|
|
132
138
|
singleton: boolean;
|
|
133
139
|
}>;
|
|
@@ -140,7 +146,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
140
146
|
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
|
|
141
147
|
};
|
|
142
148
|
}>;
|
|
143
|
-
|
|
149
|
+
"entity-card:github-actions/workflow-runs": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
144
150
|
kind: "entity-card";
|
|
145
151
|
name: "workflow-runs";
|
|
146
152
|
config: {
|
|
@@ -151,11 +157,11 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
151
157
|
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
|
|
152
158
|
type?: "content" | "summary" | "info" | undefined;
|
|
153
159
|
};
|
|
154
|
-
output: _backstage_frontend_plugin_api.
|
|
160
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
155
161
|
optional: true;
|
|
156
|
-
}> | _backstage_frontend_plugin_api.
|
|
162
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
157
163
|
optional: true;
|
|
158
|
-
}> | _backstage_frontend_plugin_api.
|
|
164
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_plugin_catalog_react_alpha.EntityCardType, "catalog.entity-card-type", {
|
|
159
165
|
optional: true;
|
|
160
166
|
}>;
|
|
161
167
|
inputs: {};
|
|
@@ -165,7 +171,7 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
165
171
|
type?: _backstage_plugin_catalog_react_alpha.EntityCardType | undefined;
|
|
166
172
|
};
|
|
167
173
|
}>;
|
|
168
|
-
|
|
174
|
+
"entity-content:github-actions/entity": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
169
175
|
kind: "entity-content";
|
|
170
176
|
name: "entity";
|
|
171
177
|
config: {
|
|
@@ -180,21 +186,24 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
180
186
|
path?: string | undefined;
|
|
181
187
|
group?: string | false | undefined;
|
|
182
188
|
};
|
|
183
|
-
output: _backstage_frontend_plugin_api.
|
|
189
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
184
190
|
optional: true;
|
|
185
|
-
}> | _backstage_frontend_plugin_api.
|
|
191
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
186
192
|
optional: true;
|
|
187
|
-
}> | _backstage_frontend_plugin_api.
|
|
193
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
188
194
|
optional: true;
|
|
189
|
-
}> | _backstage_frontend_plugin_api.
|
|
195
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
190
196
|
optional: true;
|
|
191
197
|
}>;
|
|
192
198
|
inputs: {};
|
|
193
199
|
params: {
|
|
200
|
+
defaultPath?: [Error: "Use the 'path' param instead"] | undefined;
|
|
201
|
+
path: string;
|
|
202
|
+
defaultTitle?: [Error: "Use the 'title' param instead"] | undefined;
|
|
203
|
+
title: string;
|
|
204
|
+
defaultGroup?: [Error: "Use the 'group' param instead"] | undefined;
|
|
205
|
+
group?: (string & {}) | "development" | "deployment" | "overview" | "documentation" | "operation" | "observability" | undefined;
|
|
194
206
|
loader: () => Promise<JSX.Element>;
|
|
195
|
-
defaultPath: string;
|
|
196
|
-
defaultTitle: string;
|
|
197
|
-
defaultGroup?: (string & {}) | "development" | "deployment" | "overview" | "documentation" | "operation" | "observability" | undefined;
|
|
198
207
|
routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
|
|
199
208
|
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
200
209
|
};
|
package/dist/alpha.esm.js
CHANGED
|
@@ -6,7 +6,7 @@ import { entityGithubActionsContent } from './alpha/entityContent.esm.js';
|
|
|
6
6
|
import { rootRouteRef } from './routes.esm.js';
|
|
7
7
|
|
|
8
8
|
var alpha = createFrontendPlugin({
|
|
9
|
-
|
|
9
|
+
pluginId: "github-actions",
|
|
10
10
|
routes: convertLegacyRouteRefs({
|
|
11
11
|
entityContent: rootRouteRef
|
|
12
12
|
}),
|
package/dist/alpha.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alpha.esm.js","sources":["../src/alpha.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { convertLegacyRouteRefs } from '@backstage/core-compat-api';\nimport { createFrontendPlugin } from '@backstage/frontend-plugin-api';\nimport {\n entityGithubActionsCard,\n entityGithubActionsContent,\n entityLatestGithubActionRunCard,\n entityLatestGithubActionsForBranchCard,\n entityRecentGithubActionsRunsCard,\n githubActionsApi,\n} from './alpha/index';\nimport { rootRouteRef } from './routes';\n\n/**\n * @alpha\n */\nexport default createFrontendPlugin({\n
|
|
1
|
+
{"version":3,"file":"alpha.esm.js","sources":["../src/alpha.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { convertLegacyRouteRefs } from '@backstage/core-compat-api';\nimport { createFrontendPlugin } from '@backstage/frontend-plugin-api';\nimport {\n entityGithubActionsCard,\n entityGithubActionsContent,\n entityLatestGithubActionRunCard,\n entityLatestGithubActionsForBranchCard,\n entityRecentGithubActionsRunsCard,\n githubActionsApi,\n} from './alpha/index';\nimport { rootRouteRef } from './routes';\n\n/**\n * @alpha\n */\nexport default createFrontendPlugin({\n pluginId: 'github-actions',\n routes: convertLegacyRouteRefs({\n entityContent: rootRouteRef,\n }),\n extensions: [\n entityGithubActionsContent,\n entityGithubActionsCard,\n entityLatestGithubActionRunCard,\n entityLatestGithubActionsForBranchCard,\n entityRecentGithubActionsRunsCard,\n githubActionsApi,\n ],\n});\n"],"names":[],"mappings":";;;;;;;AA8BA,YAAe,oBAAqB,CAAA;AAAA,EAClC,QAAU,EAAA,gBAAA;AAAA,EACV,QAAQ,sBAAuB,CAAA;AAAA,IAC7B,aAAe,EAAA;AAAA,GAChB,CAAA;AAAA,EACD,UAAY,EAAA;AAAA,IACV,0BAAA;AAAA,IACA,uBAAA;AAAA,IACA,+BAAA;AAAA,IACA,sCAAA;AAAA,IACA,iCAAA;AAAA,IACA;AAAA;AAEJ,CAAC,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-github-actions",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "A Backstage plugin that integrates towards GitHub Actions",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -68,13 +68,13 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@backstage/catalog-model": "^1.7.5",
|
|
71
|
-
"@backstage/core-compat-api": "^0.
|
|
72
|
-
"@backstage/core-components": "^0.
|
|
73
|
-
"@backstage/core-plugin-api": "^1.
|
|
74
|
-
"@backstage/frontend-plugin-api": "^0.
|
|
75
|
-
"@backstage/integration": "^1.
|
|
76
|
-
"@backstage/integration-react": "^1.2.
|
|
77
|
-
"@backstage/plugin-catalog-react": "^1.
|
|
71
|
+
"@backstage/core-compat-api": "^0.5.2",
|
|
72
|
+
"@backstage/core-components": "^0.18.1",
|
|
73
|
+
"@backstage/core-plugin-api": "^1.11.0",
|
|
74
|
+
"@backstage/frontend-plugin-api": "^0.12.0",
|
|
75
|
+
"@backstage/integration": "^1.18.0",
|
|
76
|
+
"@backstage/integration-react": "^1.2.10",
|
|
77
|
+
"@backstage/plugin-catalog-react": "^1.21.1",
|
|
78
78
|
"@material-ui/core": "^4.12.2",
|
|
79
79
|
"@material-ui/icons": "^4.9.1",
|
|
80
80
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -85,11 +85,11 @@
|
|
|
85
85
|
"react-use": "^17.2.4"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@backstage/cli": "^0.
|
|
89
|
-
"@backstage/core-app-api": "^1.
|
|
90
|
-
"@backstage/dev-utils": "^1.1.
|
|
91
|
-
"@backstage/frontend-test-utils": "^0.3.
|
|
92
|
-
"@backstage/test-utils": "^1.7.
|
|
88
|
+
"@backstage/cli": "^0.34.3",
|
|
89
|
+
"@backstage/core-app-api": "^1.19.0",
|
|
90
|
+
"@backstage/dev-utils": "^1.1.14",
|
|
91
|
+
"@backstage/frontend-test-utils": "^0.3.6",
|
|
92
|
+
"@backstage/test-utils": "^1.7.11",
|
|
93
93
|
"@testing-library/dom": "^10.0.0",
|
|
94
94
|
"@testing-library/jest-dom": "^6.0.0",
|
|
95
95
|
"@testing-library/react": "^15.0.0",
|