@backstage-community/plugin-cicd-statistics 0.8.0 → 0.10.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/entityContent.esm.js +6 -7
- package/dist/alpha/entityContent.esm.js.map +1 -1
- package/dist/alpha.d.ts +12 -9
- package/dist/alpha.esm.js +1 -1
- package/dist/alpha.esm.js.map +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @backstage-community/plugin-cicd-statistics
|
|
2
2
|
|
|
3
|
+
## 0.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- f45c6f1: Backstage version bump to v1.42.3
|
|
8
|
+
|
|
9
|
+
## 0.9.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- 5d81619: Backstage version bump to v1.41.1
|
|
14
|
+
|
|
3
15
|
## 0.8.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { convertLegacyRouteRef } from '@backstage/core-compat-api';
|
|
2
|
+
import { convertLegacyRouteRef, compatWrapper } from '@backstage/core-compat-api';
|
|
3
3
|
import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
|
|
4
4
|
import { rootCatalogCicdStatsRouteRef } from '../plugin.esm.js';
|
|
5
5
|
|
|
6
6
|
const entityCicdChartsContent = EntityContentBlueprint.make({
|
|
7
7
|
name: "entity",
|
|
8
8
|
params: {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
path: "cicd-statistics",
|
|
10
|
+
title: "CI/CD Statistics",
|
|
11
11
|
filter: "kind:component",
|
|
12
12
|
routeRef: convertLegacyRouteRef(rootCatalogCicdStatsRouteRef),
|
|
13
|
-
loader:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
13
|
+
loader: () => import('../entity-page.esm.js').then(
|
|
14
|
+
(m) => compatWrapper(/* @__PURE__ */ jsx(m.EntityPageCicdCharts, {}))
|
|
15
|
+
)
|
|
17
16
|
}
|
|
18
17
|
});
|
|
19
18
|
|
|
@@ -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 {
|
|
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 {\n compatWrapper,\n convertLegacyRouteRef,\n} from '@backstage/core-compat-api';\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\nimport { rootCatalogCicdStatsRouteRef } from '../plugin';\n\n/**\n * @alpha\n */\nexport const entityCicdChartsContent = EntityContentBlueprint.make({\n name: 'entity',\n params: {\n path: 'cicd-statistics',\n title: 'CI/CD Statistics',\n filter: 'kind:component',\n routeRef: convertLegacyRouteRef(rootCatalogCicdStatsRouteRef),\n loader: () =>\n import('../entity-page').then(m =>\n compatWrapper(<m.EntityPageCicdCharts />),\n ),\n },\n});\n"],"names":[],"mappings":";;;;;AAyBa,MAAA,uBAAA,GAA0B,uBAAuB,IAAK,CAAA;AAAA,EACjE,IAAM,EAAA,QAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,iBAAA;AAAA,IACN,KAAO,EAAA,kBAAA;AAAA,IACP,MAAQ,EAAA,gBAAA;AAAA,IACR,QAAA,EAAU,sBAAsB,4BAA4B,CAAA;AAAA,IAC5D,MAAQ,EAAA,MACN,OAAO,uBAAgB,CAAE,CAAA,IAAA;AAAA,MAAK,OAC5B,aAAc,iBAAA,GAAA,CAAC,CAAE,CAAA,oBAAA,EAAF,EAAuB,CAAE;AAAA;AAC1C;AAEN,CAAC;;;;"}
|
package/dist/alpha.d.ts
CHANGED
|
@@ -7,10 +7,10 @@ import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api'
|
|
|
7
7
|
/**
|
|
8
8
|
* @alpha
|
|
9
9
|
*/
|
|
10
|
-
declare const _default: _backstage_frontend_plugin_api.
|
|
10
|
+
declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
|
|
11
11
|
entityContent: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
12
12
|
}, {}, {
|
|
13
|
-
|
|
13
|
+
"entity-content:cicd-statistics/entity": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
14
14
|
kind: "entity-content";
|
|
15
15
|
name: "entity";
|
|
16
16
|
config: {
|
|
@@ -25,21 +25,24 @@ declare const _default: _backstage_frontend_plugin_api.FrontendPlugin<{
|
|
|
25
25
|
path?: string | undefined;
|
|
26
26
|
group?: string | false | undefined;
|
|
27
27
|
};
|
|
28
|
-
output: _backstage_frontend_plugin_api.
|
|
28
|
+
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", {
|
|
29
29
|
optional: true;
|
|
30
|
-
}> | _backstage_frontend_plugin_api.
|
|
30
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
31
31
|
optional: true;
|
|
32
|
-
}> | _backstage_frontend_plugin_api.
|
|
32
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
33
33
|
optional: true;
|
|
34
|
-
}> | _backstage_frontend_plugin_api.
|
|
34
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
35
35
|
optional: true;
|
|
36
36
|
}>;
|
|
37
37
|
inputs: {};
|
|
38
38
|
params: {
|
|
39
|
+
defaultPath?: [Error: "Use the 'path' param instead"] | undefined;
|
|
40
|
+
path: string;
|
|
41
|
+
defaultTitle?: [Error: "Use the 'title' param instead"] | undefined;
|
|
42
|
+
title: string;
|
|
43
|
+
defaultGroup?: [Error: "Use the 'group' param instead"] | undefined;
|
|
44
|
+
group?: (string & {}) | "overview" | "documentation" | "development" | "deployment" | "operation" | "observability" | undefined;
|
|
39
45
|
loader: () => Promise<JSX.Element>;
|
|
40
|
-
defaultPath: string;
|
|
41
|
-
defaultTitle: string;
|
|
42
|
-
defaultGroup?: (string & {}) | "overview" | "deployment" | "development" | "documentation" | "operation" | "observability" | undefined;
|
|
43
46
|
routeRef?: _backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams> | undefined;
|
|
44
47
|
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean) | undefined;
|
|
45
48
|
};
|
package/dist/alpha.esm.js
CHANGED
|
@@ -4,7 +4,7 @@ import { entityCicdChartsContent } from './alpha/entityContent.esm.js';
|
|
|
4
4
|
import { rootCatalogCicdStatsRouteRef } from './plugin.esm.js';
|
|
5
5
|
|
|
6
6
|
var alpha = createFrontendPlugin({
|
|
7
|
-
|
|
7
|
+
pluginId: "cicd-statistics",
|
|
8
8
|
routes: convertLegacyRouteRefs({
|
|
9
9
|
entityContent: rootCatalogCicdStatsRouteRef
|
|
10
10
|
}),
|
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 { entityCicdChartsContent } from './alpha/index';\nimport { rootCatalogCicdStatsRouteRef } from './plugin';\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 { entityCicdChartsContent } from './alpha/index';\nimport { rootCatalogCicdStatsRouteRef } from './plugin';\n\n/**\n * @alpha\n */\nexport default createFrontendPlugin({\n pluginId: 'cicd-statistics',\n routes: convertLegacyRouteRefs({\n entityContent: rootCatalogCicdStatsRouteRef,\n }),\n extensions: [entityCicdChartsContent],\n});\n"],"names":[],"mappings":";;;;;AAuBA,YAAe,oBAAqB,CAAA;AAAA,EAClC,QAAU,EAAA,iBAAA;AAAA,EACV,QAAQ,sBAAuB,CAAA;AAAA,IAC7B,aAAe,EAAA;AAAA,GAChB,CAAA;AAAA,EACD,UAAA,EAAY,CAAC,uBAAuB;AACtC,CAAC,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-cicd-statistics",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "A frontend plugin visualizing CI/CD pipeline statistics (build time)",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -65,11 +65,11 @@
|
|
|
65
65
|
"test": "backstage-cli package test"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@backstage/catalog-model": "^1.7.
|
|
69
|
-
"@backstage/core-compat-api": "^0.
|
|
70
|
-
"@backstage/core-plugin-api": "^1.10.
|
|
71
|
-
"@backstage/frontend-plugin-api": "^0.
|
|
72
|
-
"@backstage/plugin-catalog-react": "^1.
|
|
68
|
+
"@backstage/catalog-model": "^1.7.5",
|
|
69
|
+
"@backstage/core-compat-api": "^0.5.1",
|
|
70
|
+
"@backstage/core-plugin-api": "^1.10.9",
|
|
71
|
+
"@backstage/frontend-plugin-api": "^0.11.0",
|
|
72
|
+
"@backstage/plugin-catalog-react": "^1.20.1",
|
|
73
73
|
"@date-io/luxon": "^1.3.13",
|
|
74
74
|
"@material-ui/core": "^4.12.2",
|
|
75
75
|
"@material-ui/icons": "^4.9.1",
|
|
@@ -83,9 +83,9 @@
|
|
|
83
83
|
"recharts": "^2.5.0"
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@backstage/cli": "^0.
|
|
87
|
-
"@backstage/dev-utils": "^1.1.
|
|
88
|
-
"@backstage/plugin-catalog": "^1.31.
|
|
86
|
+
"@backstage/cli": "^0.34.0",
|
|
87
|
+
"@backstage/dev-utils": "^1.1.13",
|
|
88
|
+
"@backstage/plugin-catalog": "^1.31.2",
|
|
89
89
|
"@testing-library/dom": "^10.0.0",
|
|
90
90
|
"@testing-library/jest-dom": "^6.0.0",
|
|
91
91
|
"@testing-library/react": "^15.0.0",
|