@backstage-community/plugin-tech-insights 1.0.0 → 1.0.2
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 +17 -0
- package/dist/alpha.d.ts +11 -14
- package/dist/index.d.ts +22 -26
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @backstage-community/plugin-tech-insights
|
|
2
2
|
|
|
3
|
+
## 1.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 0b21938: Upgrades Typescript to 5.7.0
|
|
8
|
+
- Updated dependencies [0b21938]
|
|
9
|
+
- @backstage-community/plugin-tech-insights-react@1.3.2
|
|
10
|
+
|
|
11
|
+
## 1.0.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 3ca2b56: Upgrades to Backstage v1.47.2
|
|
16
|
+
- Updated dependencies [3ca2b56]
|
|
17
|
+
- @backstage-community/plugin-tech-insights-common@0.8.1
|
|
18
|
+
- @backstage-community/plugin-tech-insights-react@1.3.1
|
|
19
|
+
|
|
3
20
|
## 1.0.0
|
|
4
21
|
|
|
5
22
|
### Major Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
3
2
|
import * as react from 'react';
|
|
4
3
|
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
|
|
@@ -17,9 +16,7 @@ declare const techInsightsPlugin: _backstage_frontend_plugin_api.OverridableFron
|
|
|
17
16
|
configInput: {};
|
|
18
17
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
19
18
|
inputs: {};
|
|
20
|
-
params: <TApi, TImpl extends TApi, TDeps extends {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
}>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
|
|
19
|
+
params: <TApi, TImpl extends TApi, TDeps extends { [name in string]: unknown; }>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
|
|
23
20
|
}>;
|
|
24
21
|
"entity-card:tech-insights/scorecards": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
25
22
|
kind: "entity-card";
|
|
@@ -42,8 +39,8 @@ declare const techInsightsPlugin: _backstage_frontend_plugin_api.OverridableFron
|
|
|
42
39
|
inputs: {};
|
|
43
40
|
params: {
|
|
44
41
|
loader: () => Promise<JSX.Element>;
|
|
45
|
-
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean)
|
|
46
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType
|
|
42
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
|
|
43
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
47
44
|
};
|
|
48
45
|
}>;
|
|
49
46
|
"entity-content:tech-insights/scorecards": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
@@ -72,15 +69,15 @@ declare const techInsightsPlugin: _backstage_frontend_plugin_api.OverridableFron
|
|
|
72
69
|
}>;
|
|
73
70
|
inputs: {};
|
|
74
71
|
params: {
|
|
75
|
-
defaultPath?: [Error:
|
|
72
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
76
73
|
path: string;
|
|
77
|
-
defaultTitle?: [Error:
|
|
74
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
78
75
|
title: string;
|
|
79
|
-
defaultGroup?: [Error:
|
|
80
|
-
group?: (
|
|
76
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
77
|
+
group?: ("development" | "deployment" | "overview" | "documentation" | "operation" | "observability") | (string & {});
|
|
81
78
|
loader: () => Promise<JSX.Element>;
|
|
82
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef
|
|
83
|
-
filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean)
|
|
79
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
80
|
+
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
|
|
84
81
|
};
|
|
85
82
|
}>;
|
|
86
83
|
"nav-item:tech-insights": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
@@ -114,10 +111,10 @@ declare const techInsightsPlugin: _backstage_frontend_plugin_api.OverridableFron
|
|
|
114
111
|
}>;
|
|
115
112
|
inputs: {};
|
|
116
113
|
params: {
|
|
117
|
-
defaultPath?: [Error:
|
|
114
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
118
115
|
path: string;
|
|
119
116
|
loader: () => Promise<JSX.Element>;
|
|
120
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef
|
|
117
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
121
118
|
};
|
|
122
119
|
}>;
|
|
123
120
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
2
|
import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
4
3
|
import * as react from 'react';
|
|
@@ -17,54 +16,51 @@ declare const techInsightsPlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
|
17
16
|
declare const ScorecardInfo: (props: {
|
|
18
17
|
checkResults: _backstage_community_plugin_tech_insights_common.CheckResult[];
|
|
19
18
|
title: react.ReactNode;
|
|
20
|
-
entity?: _backstage_catalog_model.Entity
|
|
21
|
-
description?: string
|
|
22
|
-
noWarning?: boolean
|
|
23
|
-
expanded?: boolean
|
|
24
|
-
dense?: boolean
|
|
25
|
-
hideDescription?: boolean
|
|
19
|
+
entity?: _backstage_catalog_model.Entity;
|
|
20
|
+
description?: string;
|
|
21
|
+
noWarning?: boolean;
|
|
22
|
+
expanded?: boolean;
|
|
23
|
+
dense?: boolean;
|
|
24
|
+
hideDescription?: boolean;
|
|
26
25
|
}) => react_jsx_runtime.JSX.Element;
|
|
27
26
|
/**
|
|
28
27
|
* @public
|
|
29
28
|
*/
|
|
30
29
|
declare const ScorecardsList: (props: {
|
|
31
30
|
checkResults: _backstage_community_plugin_tech_insights_common.CheckResult[];
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
entity?: _backstage_catalog_model.Entity | undefined;
|
|
36
|
-
dense?: boolean | undefined;
|
|
37
|
-
hideDescription?: boolean | undefined;
|
|
31
|
+
entity?: _backstage_catalog_model.Entity;
|
|
32
|
+
dense?: boolean;
|
|
33
|
+
hideDescription?: boolean;
|
|
38
34
|
}) => react_jsx_runtime.JSX.Element;
|
|
39
35
|
/**
|
|
40
36
|
* @public
|
|
41
37
|
*/
|
|
42
38
|
declare const EntityTechInsightsScorecardContent: (props: {
|
|
43
39
|
title: string;
|
|
44
|
-
description?: string
|
|
45
|
-
checksId?: string[]
|
|
46
|
-
filter?: (
|
|
47
|
-
dense?: boolean
|
|
40
|
+
description?: string;
|
|
41
|
+
checksId?: string[];
|
|
42
|
+
filter?: (check: _backstage_community_plugin_tech_insights_common.Check) => boolean;
|
|
43
|
+
dense?: boolean;
|
|
48
44
|
}) => react_jsx_runtime.JSX.Element;
|
|
49
45
|
/**
|
|
50
46
|
* @public
|
|
51
47
|
*/
|
|
52
48
|
declare const EntityTechInsightsScorecardCard: (props: {
|
|
53
49
|
title: string;
|
|
54
|
-
description?: string
|
|
55
|
-
checksId?: string[]
|
|
56
|
-
filter?: (
|
|
57
|
-
onlyFailed?: boolean
|
|
58
|
-
expanded?: boolean
|
|
59
|
-
gauge?: boolean
|
|
60
|
-
dense?: boolean
|
|
50
|
+
description?: string;
|
|
51
|
+
checksId?: string[];
|
|
52
|
+
filter?: (check: _backstage_community_plugin_tech_insights_common.Check) => boolean;
|
|
53
|
+
onlyFailed?: boolean;
|
|
54
|
+
expanded?: boolean;
|
|
55
|
+
gauge?: boolean;
|
|
56
|
+
dense?: boolean;
|
|
61
57
|
}) => react_jsx_runtime.JSX.Element;
|
|
62
58
|
/**
|
|
63
59
|
* @public
|
|
64
60
|
*/
|
|
65
61
|
declare const TechInsightsScorecardPage: (props: {
|
|
66
|
-
badge?: boolean
|
|
67
|
-
dense?: boolean
|
|
62
|
+
badge?: boolean;
|
|
63
|
+
dense?: boolean;
|
|
68
64
|
}) => react_jsx_runtime.JSX.Element;
|
|
69
65
|
|
|
70
66
|
export { EntityTechInsightsScorecardCard, EntityTechInsightsScorecardContent, ScorecardInfo, ScorecardsList, TechInsightsScorecardPage, techInsightsPlugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-tech-insights",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"backstage": {
|
|
5
5
|
"role": "frontend-plugin",
|
|
6
6
|
"pluginId": "tech-insights",
|
|
@@ -67,15 +67,15 @@
|
|
|
67
67
|
"test": "backstage-cli package test"
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@backstage-community/plugin-tech-insights-common": "^0.8.
|
|
71
|
-
"@backstage-community/plugin-tech-insights-react": "^1.3.
|
|
70
|
+
"@backstage-community/plugin-tech-insights-common": "^0.8.1",
|
|
71
|
+
"@backstage-community/plugin-tech-insights-react": "^1.3.2",
|
|
72
72
|
"@backstage/catalog-model": "^1.7.6",
|
|
73
|
-
"@backstage/core-compat-api": "^0.5.
|
|
74
|
-
"@backstage/core-components": "^0.18.
|
|
75
|
-
"@backstage/core-plugin-api": "^1.12.
|
|
73
|
+
"@backstage/core-compat-api": "^0.5.7",
|
|
74
|
+
"@backstage/core-components": "^0.18.6",
|
|
75
|
+
"@backstage/core-plugin-api": "^1.12.2",
|
|
76
76
|
"@backstage/errors": "^1.2.7",
|
|
77
|
-
"@backstage/frontend-plugin-api": "^0.13.
|
|
78
|
-
"@backstage/plugin-catalog-react": "^1.21.
|
|
77
|
+
"@backstage/frontend-plugin-api": "^0.13.4",
|
|
78
|
+
"@backstage/plugin-catalog-react": "^1.21.6",
|
|
79
79
|
"@backstage/types": "^1.2.2",
|
|
80
80
|
"@material-table/exporters": "^1.2.19",
|
|
81
81
|
"@material-ui/core": "^4.12.2",
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"react-use": "^17.2.4"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@backstage/cli": "^0.35.
|
|
89
|
-
"@backstage/dev-utils": "^1.1.
|
|
88
|
+
"@backstage/cli": "^0.35.3",
|
|
89
|
+
"@backstage/dev-utils": "^1.1.19",
|
|
90
90
|
"@testing-library/dom": "^10.0.0",
|
|
91
91
|
"@testing-library/jest-dom": "^6.0.0",
|
|
92
92
|
"@testing-library/react": "^15.0.0",
|