@backstage-community/plugin-lighthouse 0.18.0 → 0.19.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 +19 -0
- package/dist/alpha.d.ts +47 -23
- package/dist/index.d.ts +2 -2
- package/package.json +13 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @backstage-community/plugin-lighthouse
|
|
2
2
|
|
|
3
|
+
## 0.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- accd69f: Backstage version bump to v1.48.2
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [accd69f]
|
|
12
|
+
- @backstage-community/plugin-lighthouse-common@0.16.0
|
|
13
|
+
|
|
14
|
+
## 0.18.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 2cd7e22: remove unused dependencies
|
|
19
|
+
- Updated dependencies [2cd7e22]
|
|
20
|
+
- @backstage-community/plugin-lighthouse-common@0.15.1
|
|
21
|
+
|
|
3
22
|
## 0.18.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
|
|
2
2
|
import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
3
3
|
import * as react from 'react';
|
|
4
|
-
import * as
|
|
4
|
+
import * as _backstage_filter_predicates from '@backstage/filter-predicates';
|
|
5
5
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -15,20 +15,18 @@ declare const lighthousePlugin: _backstage_frontend_plugin_api.OverridableFronte
|
|
|
15
15
|
configInput: {};
|
|
16
16
|
output: _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
|
|
17
17
|
inputs: {};
|
|
18
|
-
params: <TApi, TImpl extends TApi, TDeps extends {
|
|
19
|
-
[x: string]: unknown;
|
|
20
|
-
}>(params: _backstage_frontend_plugin_api.ApiFactory<TApi, TImpl, TDeps>) => _backstage_frontend_plugin_api.ExtensionBlueprintParams<_backstage_frontend_plugin_api.AnyApiFactory>;
|
|
18
|
+
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>;
|
|
21
19
|
}>;
|
|
22
20
|
"entity-card:lighthouse/lighthouse": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
23
21
|
kind: "entity-card";
|
|
24
22
|
name: "lighthouse";
|
|
25
23
|
config: {
|
|
26
|
-
filter:
|
|
27
|
-
type: "content" | "
|
|
24
|
+
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
25
|
+
type: "content" | "info" | undefined;
|
|
28
26
|
};
|
|
29
27
|
configInput: {
|
|
30
|
-
filter?:
|
|
31
|
-
type?: "content" | "
|
|
28
|
+
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
29
|
+
type?: "content" | "info" | undefined;
|
|
32
30
|
};
|
|
33
31
|
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", {
|
|
34
32
|
optional: true;
|
|
@@ -40,8 +38,8 @@ declare const lighthousePlugin: _backstage_frontend_plugin_api.OverridableFronte
|
|
|
40
38
|
inputs: {};
|
|
41
39
|
params: {
|
|
42
40
|
loader: () => Promise<JSX.Element>;
|
|
43
|
-
filter?:
|
|
44
|
-
type?: _backstage_plugin_catalog_react_alpha.EntityCardType
|
|
41
|
+
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
|
|
42
|
+
type?: _backstage_plugin_catalog_react_alpha.EntityCardType;
|
|
45
43
|
};
|
|
46
44
|
}>;
|
|
47
45
|
"entity-content:lighthouse/lighthouse": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
@@ -50,14 +48,16 @@ declare const lighthousePlugin: _backstage_frontend_plugin_api.OverridableFronte
|
|
|
50
48
|
config: {
|
|
51
49
|
path: string | undefined;
|
|
52
50
|
title: string | undefined;
|
|
53
|
-
filter:
|
|
51
|
+
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
54
52
|
group: string | false | undefined;
|
|
53
|
+
icon: string | undefined;
|
|
55
54
|
};
|
|
56
55
|
configInput: {
|
|
57
|
-
filter?:
|
|
56
|
+
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
58
57
|
title?: string | undefined;
|
|
59
58
|
path?: string | undefined;
|
|
60
59
|
group?: string | false | undefined;
|
|
60
|
+
icon?: string | undefined;
|
|
61
61
|
};
|
|
62
62
|
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", {
|
|
63
63
|
optional: true;
|
|
@@ -67,18 +67,21 @@ declare const lighthousePlugin: _backstage_frontend_plugin_api.OverridableFronte
|
|
|
67
67
|
optional: true;
|
|
68
68
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
69
69
|
optional: true;
|
|
70
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
71
|
+
optional: true;
|
|
70
72
|
}>;
|
|
71
73
|
inputs: {};
|
|
72
74
|
params: {
|
|
73
|
-
defaultPath?: [Error:
|
|
75
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
74
76
|
path: string;
|
|
75
|
-
defaultTitle?: [Error:
|
|
77
|
+
defaultTitle?: [Error: `Use the 'title' param instead`];
|
|
76
78
|
title: string;
|
|
77
|
-
defaultGroup?: [Error:
|
|
78
|
-
group?: (
|
|
79
|
+
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
80
|
+
group?: ("development" | "deployment" | "overview" | "documentation" | "operation" | "observability") | (string & {});
|
|
81
|
+
icon?: string | react.ReactElement;
|
|
79
82
|
loader: () => Promise<JSX.Element>;
|
|
80
|
-
routeRef?: _backstage_frontend_plugin_api.RouteRef
|
|
81
|
-
filter?:
|
|
83
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
84
|
+
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
|
|
82
85
|
};
|
|
83
86
|
}>;
|
|
84
87
|
"nav-item:lighthouse": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
@@ -103,19 +106,40 @@ declare const lighthousePlugin: _backstage_frontend_plugin_api.OverridableFronte
|
|
|
103
106
|
name: undefined;
|
|
104
107
|
config: {
|
|
105
108
|
path: string | undefined;
|
|
109
|
+
title: string | undefined;
|
|
106
110
|
};
|
|
107
111
|
configInput: {
|
|
112
|
+
title?: string | undefined;
|
|
108
113
|
path?: string | undefined;
|
|
109
114
|
};
|
|
110
115
|
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", {
|
|
111
116
|
optional: true;
|
|
117
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {
|
|
118
|
+
optional: true;
|
|
119
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
|
|
120
|
+
optional: true;
|
|
112
121
|
}>;
|
|
113
|
-
inputs: {
|
|
122
|
+
inputs: {
|
|
123
|
+
pages: _backstage_frontend_plugin_api.ExtensionInput<_backstage_frontend_plugin_api.ConfigurableExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
|
|
124
|
+
optional: true;
|
|
125
|
+
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.title", {
|
|
126
|
+
optional: true;
|
|
127
|
+
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
|
|
128
|
+
optional: true;
|
|
129
|
+
}>, {
|
|
130
|
+
singleton: false;
|
|
131
|
+
optional: false;
|
|
132
|
+
internal: false;
|
|
133
|
+
}>;
|
|
134
|
+
};
|
|
114
135
|
params: {
|
|
115
|
-
defaultPath?: [Error:
|
|
136
|
+
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
116
137
|
path: string;
|
|
117
|
-
|
|
118
|
-
|
|
138
|
+
title?: string;
|
|
139
|
+
icon?: _backstage_frontend_plugin_api.IconElement;
|
|
140
|
+
loader?: () => Promise<react.JSX.Element>;
|
|
141
|
+
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
142
|
+
noHeader?: boolean;
|
|
119
143
|
};
|
|
120
144
|
}>;
|
|
121
145
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ declare const LighthousePage: () => react_jsx_runtime.JSX.Element;
|
|
|
17
17
|
declare const EntityLighthouseContent: () => react_jsx_runtime.JSX.Element;
|
|
18
18
|
/** @public */
|
|
19
19
|
declare const EntityLastLighthouseAuditCard: (props: {
|
|
20
|
-
dense?: boolean
|
|
21
|
-
variant?: _backstage_core_components.InfoCardVariants
|
|
20
|
+
dense?: boolean;
|
|
21
|
+
variant?: _backstage_core_components.InfoCardVariants;
|
|
22
22
|
}) => react_jsx_runtime.JSX.Element;
|
|
23
23
|
|
|
24
24
|
/** @public */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-lighthouse",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "A Backstage plugin that integrates towards Lighthouse",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -68,13 +68,13 @@
|
|
|
68
68
|
"test": "backstage-cli package test"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@backstage-community/plugin-lighthouse-common": "^0.
|
|
71
|
+
"@backstage-community/plugin-lighthouse-common": "^0.16.0",
|
|
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.
|
|
76
|
-
"@backstage/frontend-plugin-api": "^0.
|
|
77
|
-
"@backstage/plugin-catalog-react": "^
|
|
73
|
+
"@backstage/core-compat-api": "^0.5.8",
|
|
74
|
+
"@backstage/core-components": "^0.18.7",
|
|
75
|
+
"@backstage/core-plugin-api": "^1.12.3",
|
|
76
|
+
"@backstage/frontend-plugin-api": "^0.14.1",
|
|
77
|
+
"@backstage/plugin-catalog-react": "^2.0.0",
|
|
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",
|
|
@@ -82,13 +82,12 @@
|
|
|
82
82
|
"react-use": "^17.2.4"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@backstage/cli": "^0.35.
|
|
86
|
-
"@backstage/core-app-api": "^1.19.
|
|
87
|
-
"@backstage/
|
|
88
|
-
"@backstage/frontend-
|
|
89
|
-
"@backstage/plugin-catalog": "^1.
|
|
90
|
-
"@backstage/test-utils": "^1.7.
|
|
91
|
-
"@testing-library/dom": "^10.0.0",
|
|
85
|
+
"@backstage/cli": "^0.35.4",
|
|
86
|
+
"@backstage/core-app-api": "^1.19.5",
|
|
87
|
+
"@backstage/frontend-defaults": "^0.4.0",
|
|
88
|
+
"@backstage/frontend-test-utils": "^0.5.0",
|
|
89
|
+
"@backstage/plugin-catalog": "^1.33.0",
|
|
90
|
+
"@backstage/test-utils": "^1.7.15",
|
|
92
91
|
"@testing-library/jest-dom": "^6.0.0",
|
|
93
92
|
"@testing-library/react": "^15.0.0",
|
|
94
93
|
"@types/react-dom": "^18.2.19",
|