@kyverno/backstage-plugin-policy-reporter 2.0.0 → 2.0.1
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/dist/index.d.ts +3 -3
- package/dist/index.esm.js +1 -1
- package/dist/plugin.esm.js +3 -3
- package/dist/plugin.esm.js.map +1 -1
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
4
4
|
|
|
5
|
-
declare const
|
|
6
|
-
declare const
|
|
5
|
+
declare const policyReporterPlugin: _backstage_core_plugin_api.BackstagePlugin<{}, {}, {}>;
|
|
6
|
+
declare const EntityKyvernoPoliciesContent: ({ annotationsDocumentationUrl, policyDocumentationUrl, }: {
|
|
7
7
|
annotationsDocumentationUrl?: string | undefined;
|
|
8
8
|
policyDocumentationUrl?: string | undefined;
|
|
9
9
|
}) => react.JSX.Element;
|
|
10
10
|
|
|
11
|
-
export {
|
|
11
|
+
export { EntityKyvernoPoliciesContent, policyReporterPlugin };
|
package/dist/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { EntityKyvernoPoliciesContent, policyReporterPlugin } from './plugin.esm.js';
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
package/dist/plugin.esm.js
CHANGED
|
@@ -3,7 +3,7 @@ import { policyReporterApiRef } from './api/PolicyReporterApi.esm.js';
|
|
|
3
3
|
import { PolicyReporterApiClient } from './api/PolicyReporterClient.esm.js';
|
|
4
4
|
import { rootRouteRef } from './routes.esm.js';
|
|
5
5
|
|
|
6
|
-
const
|
|
6
|
+
const policyReporterPlugin = createPlugin({
|
|
7
7
|
id: "policy-reporter",
|
|
8
8
|
apis: [
|
|
9
9
|
createApiFactory({
|
|
@@ -13,7 +13,7 @@ const kyvernoPolicyReportsPlugin = createPlugin({
|
|
|
13
13
|
})
|
|
14
14
|
]
|
|
15
15
|
});
|
|
16
|
-
const
|
|
16
|
+
const EntityKyvernoPoliciesContent = policyReporterPlugin.provide(
|
|
17
17
|
createRoutableExtension({
|
|
18
18
|
name: "EntityKyvernoPoliciesContent",
|
|
19
19
|
component: () => import('./components/EntityKyvernoPoliciesContent/index.esm.js').then(
|
|
@@ -23,5 +23,5 @@ const EntityKyvernoPolicyReportsContent = kyvernoPolicyReportsPlugin.provide(
|
|
|
23
23
|
})
|
|
24
24
|
);
|
|
25
25
|
|
|
26
|
-
export {
|
|
26
|
+
export { EntityKyvernoPoliciesContent, policyReporterPlugin };
|
|
27
27
|
//# sourceMappingURL=plugin.esm.js.map
|
package/dist/plugin.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.esm.js","sources":["../src/plugin.ts"],"sourcesContent":["import {\n createApiFactory,\n createPlugin,\n createRoutableExtension,\n discoveryApiRef,\n fetchApiRef,\n} from '@backstage/core-plugin-api';\nimport { policyReporterApiRef } from './api/PolicyReporterApi';\nimport { PolicyReporterApiClient } from './api/PolicyReporterClient';\n\nimport { rootRouteRef } from './routes';\n\nexport const
|
|
1
|
+
{"version":3,"file":"plugin.esm.js","sources":["../src/plugin.ts"],"sourcesContent":["import {\n createApiFactory,\n createPlugin,\n createRoutableExtension,\n discoveryApiRef,\n fetchApiRef,\n} from '@backstage/core-plugin-api';\nimport { policyReporterApiRef } from './api/PolicyReporterApi';\nimport { PolicyReporterApiClient } from './api/PolicyReporterClient';\n\nimport { rootRouteRef } from './routes';\n\nexport const policyReporterPlugin = createPlugin({\n id: 'policy-reporter',\n apis: [\n createApiFactory({\n api: policyReporterApiRef,\n deps: { fetchApi: fetchApiRef, discoveryApi: discoveryApiRef },\n factory: ({ discoveryApi, fetchApi }) =>\n new PolicyReporterApiClient({ discoveryApi, fetchApi }),\n }),\n ],\n});\n\nexport const EntityKyvernoPoliciesContent = policyReporterPlugin.provide(\n createRoutableExtension({\n name: 'EntityKyvernoPoliciesContent',\n component: () =>\n import('./components/EntityKyvernoPoliciesContent').then(\n m => m.EntityKyvernoPoliciesContent,\n ),\n mountPoint: rootRouteRef,\n }),\n);\n"],"names":[],"mappings":";;;;;AAYO,MAAM,uBAAuB,YAAa,CAAA;AAAA,EAC/C,EAAI,EAAA,iBAAA;AAAA,EACJ,IAAM,EAAA;AAAA,IACJ,gBAAiB,CAAA;AAAA,MACf,GAAK,EAAA,oBAAA;AAAA,MACL,IAAM,EAAA,EAAE,QAAU,EAAA,WAAA,EAAa,cAAc,eAAgB,EAAA;AAAA,MAC7D,OAAA,EAAS,CAAC,EAAE,YAAc,EAAA,QAAA,EACxB,KAAA,IAAI,uBAAwB,CAAA,EAAE,YAAc,EAAA,QAAA,EAAU;AAAA,KACzD;AAAA;AAEL,CAAC;AAEM,MAAM,+BAA+B,oBAAqB,CAAA,OAAA;AAAA,EAC/D,uBAAwB,CAAA;AAAA,IACtB,IAAM,EAAA,8BAAA;AAAA,IACN,SAAW,EAAA,MACT,OAAO,wDAA2C,CAAE,CAAA,IAAA;AAAA,MAClD,OAAK,CAAE,CAAA;AAAA,KACT;AAAA,IACF,UAAY,EAAA;AAAA,GACb;AACH;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kyverno/backstage-plugin-policy-reporter",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"main": "dist/index.esm.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"directory": "plugins/policy-reporter"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@backstage/catalog-client": "^1.
|
|
38
|
-
"@backstage/catalog-model": "^1.7.
|
|
39
|
-
"@backstage/core-components": "^0.16.
|
|
40
|
-
"@backstage/core-plugin-api": "^1.10.
|
|
41
|
-
"@backstage/plugin-catalog-react": "^1.
|
|
42
|
-
"@backstage/theme": "^0.6.
|
|
43
|
-
"@kyverno/backstage-plugin-policy-reporter-common": "^2.0.
|
|
37
|
+
"@backstage/catalog-client": "^1.9.1",
|
|
38
|
+
"@backstage/catalog-model": "^1.7.3",
|
|
39
|
+
"@backstage/core-components": "^0.16.3",
|
|
40
|
+
"@backstage/core-plugin-api": "^1.10.3",
|
|
41
|
+
"@backstage/plugin-catalog-react": "^1.15.1",
|
|
42
|
+
"@backstage/theme": "^0.6.3",
|
|
43
|
+
"@kyverno/backstage-plugin-policy-reporter-common": "^2.0.1",
|
|
44
44
|
"@material-ui/core": "^4.9.13",
|
|
45
45
|
"@material-ui/icons": "^4.9.1",
|
|
46
46
|
"@material-ui/lab": "4.0.0-alpha.61",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"react": "^16.13.1 || ^17.0.0 || ^18.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@backstage/cli": "^0.29.
|
|
54
|
-
"@backstage/core-app-api": "^1.15.
|
|
55
|
-
"@backstage/dev-utils": "^1.1.
|
|
56
|
-
"@backstage/test-utils": "^1.7.
|
|
53
|
+
"@backstage/cli": "^0.29.5",
|
|
54
|
+
"@backstage/core-app-api": "^1.15.4",
|
|
55
|
+
"@backstage/dev-utils": "^1.1.6",
|
|
56
|
+
"@backstage/test-utils": "^1.7.4",
|
|
57
57
|
"@testing-library/jest-dom": "^6.0.0",
|
|
58
58
|
"@testing-library/react": "^14.0.0",
|
|
59
59
|
"@testing-library/user-event": "^14.0.0",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"files": [
|
|
63
63
|
"dist"
|
|
64
64
|
],
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "e5cedc7d766a1a56893ecda78c9cd5d7905bad8d",
|
|
66
66
|
"typesVersions": {
|
|
67
67
|
"*": {
|
|
68
68
|
"index": [
|