@backstage-community/plugin-lighthouse 0.8.0 → 0.9.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 +17 -0
- package/dist/Router.esm.js +12 -4
- package/dist/Router.esm.js.map +1 -1
- package/dist/components/AuditList/AuditListForEntity.esm.js +19 -13
- package/dist/components/AuditList/AuditListForEntity.esm.js.map +1 -1
- package/dist/components/AuditList/AuditListTable.esm.js +10 -5
- package/dist/components/AuditList/AuditListTable.esm.js.map +1 -1
- package/dist/components/AuditList/index.esm.js +50 -35
- package/dist/components/AuditList/index.esm.js.map +1 -1
- package/dist/components/AuditStatusIcon/index.esm.js +4 -4
- package/dist/components/AuditStatusIcon/index.esm.js.map +1 -1
- package/dist/components/AuditView/index.esm.js +63 -46
- package/dist/components/AuditView/index.esm.js.map +1 -1
- package/dist/components/Cards/LastLighthouseAuditCard.esm.js +28 -13
- package/dist/components/Cards/LastLighthouseAuditCard.esm.js.map +1 -1
- package/dist/components/CreateAudit/index.esm.js +83 -64
- package/dist/components/CreateAudit/index.esm.js.map +1 -1
- package/dist/components/Intro/index.esm.js +48 -35
- package/dist/components/Intro/index.esm.js.map +1 -1
- package/dist/components/SupportButton/index.esm.js +2 -2
- package/dist/components/SupportButton/index.esm.js.map +1 -1
- package/dist/index.d.ts +10 -12
- package/package.json +16 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import * as
|
|
4
|
-
import react__default from 'react';
|
|
1
|
+
import * as _backstage_core_components from '@backstage/core-components';
|
|
2
|
+
import { InfoCardVariants } from '@backstage/core-components';
|
|
3
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
4
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
6
5
|
import { Entity } from '@backstage/catalog-model';
|
|
7
6
|
import { LighthouseApi } from '@backstage-community/plugin-lighthouse-common';
|
|
8
|
-
import { InfoCardVariants } from '@backstage/core-components';
|
|
9
7
|
|
|
10
8
|
/** @public */
|
|
11
9
|
declare const lighthousePlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
@@ -13,21 +11,21 @@ declare const lighthousePlugin: _backstage_core_plugin_api.BackstagePlugin<{
|
|
|
13
11
|
entityContent: _backstage_core_plugin_api.RouteRef<undefined>;
|
|
14
12
|
}, {}, {}>;
|
|
15
13
|
/** @public */
|
|
16
|
-
declare const LighthousePage: () =>
|
|
14
|
+
declare const LighthousePage: () => react_jsx_runtime.JSX.Element;
|
|
17
15
|
/** @public */
|
|
18
|
-
declare const EntityLighthouseContent: () =>
|
|
16
|
+
declare const EntityLighthouseContent: () => react_jsx_runtime.JSX.Element;
|
|
19
17
|
/** @public */
|
|
20
18
|
declare const EntityLastLighthouseAuditCard: (props: {
|
|
21
19
|
dense?: boolean | undefined;
|
|
22
|
-
variant?:
|
|
23
|
-
}) =>
|
|
20
|
+
variant?: _backstage_core_components.InfoCardVariants | undefined;
|
|
21
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
24
22
|
|
|
25
23
|
/** @public */
|
|
26
24
|
declare const isLighthouseAvailable: (entity: Entity) => boolean;
|
|
27
25
|
/** @public */
|
|
28
|
-
declare const Router: () =>
|
|
26
|
+
declare const Router: () => react_jsx_runtime.JSX.Element;
|
|
29
27
|
/** @public */
|
|
30
|
-
declare const EmbeddedRouter: () =>
|
|
28
|
+
declare const EmbeddedRouter: () => react_jsx_runtime.JSX.Element;
|
|
31
29
|
|
|
32
30
|
/** @public */
|
|
33
31
|
declare const lighthouseApiRef: _backstage_core_plugin_api.ApiRef<LighthouseApi>;
|
|
@@ -36,6 +34,6 @@ declare const lighthouseApiRef: _backstage_core_plugin_api.ApiRef<LighthouseApi>
|
|
|
36
34
|
declare const LastLighthouseAuditCard: (props: {
|
|
37
35
|
dense?: boolean;
|
|
38
36
|
variant?: InfoCardVariants;
|
|
39
|
-
}) =>
|
|
37
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
40
38
|
|
|
41
39
|
export { EmbeddedRouter, EntityLastLighthouseAuditCard, EntityLighthouseContent, LastLighthouseAuditCard, LighthousePage, Router, isLighthouseAvailable, isLighthouseAvailable as isPluginApplicableToEntity, lighthouseApiRef, lighthousePlugin, lighthousePlugin as plugin };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage-community/plugin-lighthouse",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "A Backstage plugin that integrates towards Lighthouse",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"test": "backstage-cli package test"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@backstage-community/plugin-lighthouse-common": "^0.
|
|
46
|
+
"@backstage-community/plugin-lighthouse-common": "^0.6.0",
|
|
47
47
|
"@backstage/catalog-model": "^1.7.3",
|
|
48
|
-
"@backstage/core-components": "^0.17.
|
|
49
|
-
"@backstage/core-plugin-api": "^1.10.
|
|
50
|
-
"@backstage/plugin-catalog-react": "^1.
|
|
48
|
+
"@backstage/core-components": "^0.17.1",
|
|
49
|
+
"@backstage/core-plugin-api": "^1.10.6",
|
|
50
|
+
"@backstage/plugin-catalog-react": "^1.17.0",
|
|
51
51
|
"@material-ui/core": "^4.12.2",
|
|
52
52
|
"@material-ui/icons": "^4.9.1",
|
|
53
53
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -55,15 +55,14 @@
|
|
|
55
55
|
"react-use": "^17.2.4"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@backstage/cli": "^0.
|
|
59
|
-
"@backstage/core-app-api": "^1.16.
|
|
60
|
-
"@backstage/dev-utils": "^1.1.
|
|
61
|
-
"@backstage/test-utils": "^1.7.
|
|
58
|
+
"@backstage/cli": "^0.32.0",
|
|
59
|
+
"@backstage/core-app-api": "^1.16.1",
|
|
60
|
+
"@backstage/dev-utils": "^1.1.9",
|
|
61
|
+
"@backstage/test-utils": "^1.7.7",
|
|
62
62
|
"@testing-library/dom": "^10.0.0",
|
|
63
63
|
"@testing-library/jest-dom": "^6.0.0",
|
|
64
64
|
"@testing-library/react": "^15.0.0",
|
|
65
65
|
"@types/react-dom": "^18.2.19",
|
|
66
|
-
"canvas": "^2.11.2",
|
|
67
66
|
"msw": "^1.0.0",
|
|
68
67
|
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
69
68
|
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
@@ -90,5 +89,12 @@
|
|
|
90
89
|
}
|
|
91
90
|
}
|
|
92
91
|
},
|
|
92
|
+
"typesVersions": {
|
|
93
|
+
"*": {
|
|
94
|
+
"package.json": [
|
|
95
|
+
"package.json"
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
},
|
|
93
99
|
"module": "./dist/index.esm.js"
|
|
94
100
|
}
|