@secustor/backstage-plugin-renovate 0.17.4 → 0.18.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.d.ts +41 -9
- package/dist/alpha.esm.js +19 -11
- package/dist/alpha.esm.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @secustor/backstage-plugin-renovate
|
|
2
2
|
|
|
3
|
+
## 0.18.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#855](https://github.com/secustor/backstage-plugins/pull/855) [`a88a79a`](https://github.com/secustor/backstage-plugins/commit/a88a79a4a88b7f3dcf476e5b05b037108c756807) Thanks [@secustor](https://github.com/secustor)! - Add NavItem, which allows auto discovery the plugin
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#857](https://github.com/secustor/backstage-plugins/pull/857) [`de632d6`](https://github.com/secustor/backstage-plugins/commit/de632d661519c83dcd0389d91e9a27b0f5a2a82c) Thanks [@secustor](https://github.com/secustor)! - Fix theme.alpha error when using material-ui 7.3.x
|
|
12
|
+
|
|
13
|
+
- [#852](https://github.com/secustor/backstage-plugins/pull/852) [`5b200fd`](https://github.com/secustor/backstage-plugins/commit/5b200fdc148031dc25c16c6123d21d5955e27652) Thanks [@secustor](https://github.com/secustor)! - Bump Backstage to 1.42.5
|
|
14
|
+
|
|
3
15
|
## 0.17.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/alpha.d.ts
CHANGED
|
@@ -1,9 +1,26 @@
|
|
|
1
|
-
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
2
1
|
import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
3
2
|
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
|
|
4
3
|
import * as react from 'react';
|
|
5
4
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
5
|
+
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
6
6
|
|
|
7
|
+
declare const renovateNavItem: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
8
|
+
kind: "nav-item";
|
|
9
|
+
name: undefined;
|
|
10
|
+
config: {};
|
|
11
|
+
configInput: {};
|
|
12
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<{
|
|
13
|
+
title: string;
|
|
14
|
+
icon: _backstage_core_plugin_api.IconComponent;
|
|
15
|
+
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
16
|
+
}, "core.nav-item.target", {}>;
|
|
17
|
+
inputs: {};
|
|
18
|
+
params: {
|
|
19
|
+
title: string;
|
|
20
|
+
icon: _backstage_core_plugin_api.IconComponent;
|
|
21
|
+
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
22
|
+
};
|
|
23
|
+
}>;
|
|
7
24
|
declare const renovatePage: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
8
25
|
kind: "page";
|
|
9
26
|
name: undefined;
|
|
@@ -13,7 +30,7 @@ declare const renovatePage: _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
|
13
30
|
configInput: {
|
|
14
31
|
path?: string | undefined;
|
|
15
32
|
};
|
|
16
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<
|
|
33
|
+
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", {
|
|
17
34
|
optional: true;
|
|
18
35
|
}>;
|
|
19
36
|
inputs: {};
|
|
@@ -39,7 +56,7 @@ declare const EntityRenovateContent: _backstage_frontend_plugin_api.ExtensionDef
|
|
|
39
56
|
path?: string | undefined;
|
|
40
57
|
group?: string | false | undefined;
|
|
41
58
|
};
|
|
42
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<
|
|
59
|
+
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", {
|
|
43
60
|
optional: true;
|
|
44
61
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
45
62
|
optional: true;
|
|
@@ -61,9 +78,7 @@ declare const EntityRenovateContent: _backstage_frontend_plugin_api.ExtensionDef
|
|
|
61
78
|
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
|
|
62
79
|
};
|
|
63
80
|
}>;
|
|
64
|
-
declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{
|
|
65
|
-
root: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
66
|
-
}, {}, {
|
|
81
|
+
declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin<{}, {}, {
|
|
67
82
|
"api:renovate": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
68
83
|
kind: "api";
|
|
69
84
|
name: undefined;
|
|
@@ -88,7 +103,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
88
103
|
path?: string | undefined;
|
|
89
104
|
group?: string | false | undefined;
|
|
90
105
|
};
|
|
91
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<
|
|
106
|
+
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", {
|
|
92
107
|
optional: true;
|
|
93
108
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
94
109
|
optional: true;
|
|
@@ -110,6 +125,23 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
110
125
|
filter?: string | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
|
|
111
126
|
};
|
|
112
127
|
}>;
|
|
128
|
+
"nav-item:renovate": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
129
|
+
kind: "nav-item";
|
|
130
|
+
name: undefined;
|
|
131
|
+
config: {};
|
|
132
|
+
configInput: {};
|
|
133
|
+
output: _backstage_frontend_plugin_api.ExtensionDataRef<{
|
|
134
|
+
title: string;
|
|
135
|
+
icon: _backstage_core_plugin_api.IconComponent;
|
|
136
|
+
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
137
|
+
}, "core.nav-item.target", {}>;
|
|
138
|
+
inputs: {};
|
|
139
|
+
params: {
|
|
140
|
+
title: string;
|
|
141
|
+
icon: _backstage_core_plugin_api.IconComponent;
|
|
142
|
+
routeRef: _backstage_frontend_plugin_api.RouteRef<undefined>;
|
|
143
|
+
};
|
|
144
|
+
}>;
|
|
113
145
|
"page:renovate": _backstage_frontend_plugin_api.ExtensionDefinition<{
|
|
114
146
|
kind: "page";
|
|
115
147
|
name: undefined;
|
|
@@ -119,7 +151,7 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
119
151
|
configInput: {
|
|
120
152
|
path?: string | undefined;
|
|
121
153
|
};
|
|
122
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<
|
|
154
|
+
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", {
|
|
123
155
|
optional: true;
|
|
124
156
|
}>;
|
|
125
157
|
inputs: {};
|
|
@@ -132,4 +164,4 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
132
164
|
}>;
|
|
133
165
|
}>;
|
|
134
166
|
|
|
135
|
-
export { EntityRenovateContent, _default as default, renovatePage };
|
|
167
|
+
export { EntityRenovateContent, _default as default, renovateNavItem, renovatePage };
|
package/dist/alpha.esm.js
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { fetchApiRef, discoveryApiRef } from '@backstage/
|
|
3
|
-
import { PageBlueprint, ApiBlueprint, createFrontendPlugin } from '@backstage/frontend-plugin-api';
|
|
4
|
-
import { convertLegacyRouteRef, compatWrapper, convertLegacyRouteRefs } from '@backstage/core-compat-api';
|
|
5
|
-
import { rootRouteRef } from './routes.esm.js';
|
|
2
|
+
import { createRouteRef, NavItemBlueprint, PageBlueprint, ApiBlueprint, fetchApiRef, discoveryApiRef, createFrontendPlugin } from '@backstage/frontend-plugin-api';
|
|
6
3
|
import { renovateApiRef } from './api.esm.js';
|
|
7
4
|
import { RenovateClient } from '@secustor/backstage-plugin-renovate-client';
|
|
5
|
+
import { compatWrapper } from '@backstage/core-compat-api';
|
|
6
|
+
import FormatPaintIcon from '@mui/icons-material/FormatPaint';
|
|
8
7
|
import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
|
|
9
8
|
|
|
9
|
+
const rootRouteRef = createRouteRef();
|
|
10
|
+
const renovateNavItem = NavItemBlueprint.make({
|
|
11
|
+
params: {
|
|
12
|
+
title: "Renovate",
|
|
13
|
+
icon: FormatPaintIcon,
|
|
14
|
+
routeRef: rootRouteRef
|
|
15
|
+
}
|
|
16
|
+
});
|
|
10
17
|
const renovatePage = PageBlueprint.make({
|
|
11
18
|
params: {
|
|
12
19
|
path: "/renovate",
|
|
13
|
-
|
|
14
|
-
routeRef: convertLegacyRouteRef(rootRouteRef),
|
|
20
|
+
routeRef: rootRouteRef,
|
|
15
21
|
loader: () => import('./components/RenovateDefaultOverview/index.esm.js').then(
|
|
16
22
|
(m) => compatWrapper(/* @__PURE__ */ jsx(m.RenovateDefaultOverview, {}))
|
|
17
23
|
)
|
|
@@ -38,11 +44,13 @@ const renovateApi = ApiBlueprint.make({
|
|
|
38
44
|
});
|
|
39
45
|
var alpha = createFrontendPlugin({
|
|
40
46
|
pluginId: "renovate",
|
|
41
|
-
extensions: [
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
47
|
+
extensions: [
|
|
48
|
+
renovatePage,
|
|
49
|
+
renovateApi,
|
|
50
|
+
EntityRenovateContent,
|
|
51
|
+
renovateNavItem
|
|
52
|
+
]
|
|
45
53
|
});
|
|
46
54
|
|
|
47
|
-
export { EntityRenovateContent, alpha as default, renovatePage };
|
|
55
|
+
export { EntityRenovateContent, alpha as default, renovateNavItem, renovatePage };
|
|
48
56
|
//# sourceMappingURL=alpha.esm.js.map
|
package/dist/alpha.esm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alpha.esm.js","sources":["../src/alpha.tsx"],"sourcesContent":["import { discoveryApiRef, fetchApiRef } from '@backstage/
|
|
1
|
+
{"version":3,"file":"alpha.esm.js","sources":["../src/alpha.tsx"],"sourcesContent":["import { discoveryApiRef, fetchApiRef } from '@backstage/frontend-plugin-api';\nimport {\n ApiBlueprint,\n createFrontendPlugin,\n NavItemBlueprint,\n createRouteRef,\n} from '@backstage/frontend-plugin-api';\nimport { renovateApiRef } from './api';\nimport { RenovateClient } from '@secustor/backstage-plugin-renovate-client';\nimport { PageBlueprint } from '@backstage/frontend-plugin-api';\nimport { compatWrapper } from '@backstage/core-compat-api';\nimport FormatPaintIcon from '@mui/icons-material/FormatPaint';\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\n\nconst rootRouteRef = createRouteRef();\n\nexport const renovateNavItem = NavItemBlueprint.make({\n params: {\n title: 'Renovate',\n icon: FormatPaintIcon,\n routeRef: rootRouteRef,\n },\n});\n\nexport const renovatePage = PageBlueprint.make({\n params: {\n path: '/renovate',\n routeRef: rootRouteRef,\n loader: () =>\n import('./components/RenovateDefaultOverview').then(m =>\n compatWrapper(<m.RenovateDefaultOverview />),\n ),\n },\n});\n\nexport const EntityRenovateContent = EntityContentBlueprint.make({\n params: {\n path: '/renovate',\n title: 'Renovate',\n loader: () =>\n import('./components/EntityRenovateContent').then(m =>\n compatWrapper(<m.EntityRenovateContent />),\n ),\n },\n});\n\nconst renovateApi = ApiBlueprint.make({\n params: defineParams =>\n defineParams({\n api: renovateApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n fetchApi: fetchApiRef,\n },\n factory: ({ discoveryApi, fetchApi }) =>\n new RenovateClient({ discoveryApi, fetchApi }),\n }),\n});\n\nexport default createFrontendPlugin({\n pluginId: 'renovate',\n extensions: [\n renovatePage,\n renovateApi,\n EntityRenovateContent,\n renovateNavItem,\n ],\n});\n"],"names":[],"mappings":";;;;;;;;AAcA,MAAM,eAAe,cAAA,EAAe;AAE7B,MAAM,eAAA,GAAkB,iBAAiB,IAAA,CAAK;AAAA,EACnD,MAAA,EAAQ;AAAA,IACN,KAAA,EAAO,UAAA;AAAA,IACP,IAAA,EAAM,eAAA;AAAA,IACN,QAAA,EAAU;AAAA;AAEd,CAAC;AAEM,MAAM,YAAA,GAAe,cAAc,IAAA,CAAK;AAAA,EAC7C,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,WAAA;AAAA,IACN,QAAA,EAAU,YAAA;AAAA,IACV,MAAA,EAAQ,MACN,OAAO,mDAAsC,CAAA,CAAE,IAAA;AAAA,MAAK,OAClD,aAAA,iBAAc,GAAA,CAAC,CAAA,CAAE,uBAAA,EAAF,EAA0B,CAAE;AAAA;AAC7C;AAEN,CAAC;AAEM,MAAM,qBAAA,GAAwB,uBAAuB,IAAA,CAAK;AAAA,EAC/D,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,WAAA;AAAA,IACN,KAAA,EAAO,UAAA;AAAA,IACP,MAAA,EAAQ,MACN,OAAO,iDAAoC,CAAA,CAAE,IAAA;AAAA,MAAK,OAChD,aAAA,iBAAc,GAAA,CAAC,CAAA,CAAE,qBAAA,EAAF,EAAwB,CAAE;AAAA;AAC3C;AAEN,CAAC;AAED,MAAM,WAAA,GAAc,aAAa,IAAA,CAAK;AAAA,EACpC,MAAA,EAAQ,kBACN,YAAA,CAAa;AAAA,IACX,GAAA,EAAK,cAAA;AAAA,IACL,IAAA,EAAM;AAAA,MACJ,YAAA,EAAc,eAAA;AAAA,MACd,QAAA,EAAU;AAAA,KACZ;AAAA,IACA,OAAA,EAAS,CAAC,EAAE,YAAA,EAAc,QAAA,EAAS,KACjC,IAAI,cAAA,CAAe,EAAE,YAAA,EAAc,QAAA,EAAU;AAAA,GAChD;AACL,CAAC,CAAA;AAED,YAAe,oBAAA,CAAqB;AAAA,EAClC,QAAA,EAAU,UAAA;AAAA,EACV,UAAA,EAAY;AAAA,IACV,YAAA;AAAA,IACA,WAAA;AAAA,IACA,qBAAA;AAAA,IACA;AAAA;AAEJ,CAAC,CAAA;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@secustor/backstage-plugin-renovate",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"main": "./dist/index.esm.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"license": "LGPL-3.0-or-later",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
},
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@backstage/catalog-model": "^1.7.5",
|
|
73
|
-
"@backstage/core-compat-api": "^0.5.
|
|
73
|
+
"@backstage/core-compat-api": "^0.5.1",
|
|
74
74
|
"@backstage/core-components": "^0.17.5",
|
|
75
75
|
"@backstage/core-plugin-api": "^1.10.9",
|
|
76
76
|
"@backstage/errors": "^1.2.7",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@emotion/styled": "^11.13.0",
|
|
83
83
|
"@mui/icons-material": "^7.0.0",
|
|
84
84
|
"@mui/lab": "6.0.0-beta.31",
|
|
85
|
-
"@mui/material": "
|
|
85
|
+
"@mui/material": "~7.2.0",
|
|
86
86
|
"@mui/styles": "^6.1.0",
|
|
87
87
|
"@mui/x-data-grid": "^8.0.0",
|
|
88
88
|
"@secustor/backstage-plugin-renovate-client": "^0.10.8",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"react-dom": "*"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
|
-
"@backstage/cli": "^0.34.
|
|
100
|
+
"@backstage/cli": "^0.34.1",
|
|
101
101
|
"@backstage/core-app-api": "^1.18.0",
|
|
102
102
|
"@backstage/dev-utils": "^1.1.13",
|
|
103
103
|
"@backstage/frontend-defaults": "^0.3.0",
|