@backstage/plugin-kubernetes 0.12.16-next.1 → 0.12.16
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 +33 -0
- package/README.md +7 -1
- package/dist/alpha.d.ts +36 -9
- package/dist/package.json.esm.js +3 -3
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# @backstage/plugin-kubernetes
|
|
2
2
|
|
|
3
|
+
## 0.12.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7feb83b: Adjusted to use the new `@backstage/filter-predicates` types for predicate expressions.
|
|
8
|
+
- 491a06c: Add the ability to show icons for the tabs on the entity page (new frontend)
|
|
9
|
+
- 4183614: Updated usage of deprecated APIs in the new frontend system.
|
|
10
|
+
- a7e0d50: Updated `react-router-dom` peer dependency to `^6.30.2` and explicitly disabled v7 future flags to suppress deprecation warnings.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @backstage/plugin-catalog-react@2.0.0
|
|
13
|
+
- @backstage/core-components@0.18.7
|
|
14
|
+
- @backstage/plugin-kubernetes-react@0.5.16
|
|
15
|
+
- @backstage/plugin-kubernetes-common@0.9.10
|
|
16
|
+
- @backstage/frontend-plugin-api@0.14.0
|
|
17
|
+
- @backstage/core-plugin-api@1.12.3
|
|
18
|
+
- @backstage/plugin-permission-react@0.4.40
|
|
19
|
+
|
|
20
|
+
## 0.12.16-next.2
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- 7feb83b: Adjusted to use the new `@backstage/filter-predicates` types for predicate expressions.
|
|
25
|
+
- 491a06c: Add the ability to show icons for the tabs on the entity page (new frontend)
|
|
26
|
+
- 4183614: Updated usage of deprecated APIs in the new frontend system.
|
|
27
|
+
- a7e0d50: Prepare for React Router v7 migration by updating to v6.30.2 across all NFS packages and enabling v7 future flags. Convert routes from splat paths to parent/child structure with Outlet components.
|
|
28
|
+
- Updated dependencies
|
|
29
|
+
- @backstage/plugin-catalog-react@2.0.0-next.2
|
|
30
|
+
- @backstage/plugin-kubernetes-react@0.5.16-next.2
|
|
31
|
+
- @backstage/frontend-plugin-api@0.14.0-next.2
|
|
32
|
+
- @backstage/core-components@0.18.7-next.2
|
|
33
|
+
- @backstage/core-plugin-api@1.12.3-next.1
|
|
34
|
+
- @backstage/plugin-permission-react@0.4.40-next.1
|
|
35
|
+
|
|
3
36
|
## 0.12.16-next.1
|
|
4
37
|
|
|
5
38
|
### Patch Changes
|
package/README.md
CHANGED
package/dist/alpha.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
|
|
2
|
+
import * as _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
|
|
2
3
|
import * as _backstage_catalog_model from '@backstage/catalog-model';
|
|
3
4
|
import * as react from 'react';
|
|
4
|
-
import * as
|
|
5
|
+
import * as _backstage_filter_predicates from '@backstage/filter-predicates';
|
|
5
6
|
import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
|
|
6
7
|
|
|
7
8
|
/** @alpha */
|
|
@@ -59,23 +60,27 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
59
60
|
config: {
|
|
60
61
|
path: string | undefined;
|
|
61
62
|
title: string | undefined;
|
|
62
|
-
filter:
|
|
63
|
+
filter: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
63
64
|
group: string | false | undefined;
|
|
65
|
+
icon: string | undefined;
|
|
64
66
|
};
|
|
65
67
|
configInput: {
|
|
66
|
-
filter?:
|
|
68
|
+
filter?: _backstage_filter_predicates.FilterPredicate | undefined;
|
|
67
69
|
title?: string | undefined;
|
|
68
70
|
path?: string | undefined;
|
|
69
71
|
group?: string | false | undefined;
|
|
72
|
+
icon?: string | undefined;
|
|
70
73
|
};
|
|
71
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<
|
|
74
|
+
output: _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", {
|
|
72
75
|
optional: true;
|
|
73
|
-
}> | _backstage_frontend_plugin_api.ExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
|
|
76
|
+
}> | _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", {
|
|
74
77
|
optional: true;
|
|
75
78
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-filter-expression", {
|
|
76
79
|
optional: true;
|
|
77
80
|
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "catalog.entity-content-group", {
|
|
78
81
|
optional: true;
|
|
82
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<string | react.ReactElement<any, string | react.JSXElementConstructor<any>>, "catalog.entity-content-icon", {
|
|
83
|
+
optional: true;
|
|
79
84
|
}>;
|
|
80
85
|
inputs: {};
|
|
81
86
|
params: {
|
|
@@ -85,9 +90,10 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
85
90
|
title: string;
|
|
86
91
|
defaultGroup?: [Error: `Use the 'group' param instead`];
|
|
87
92
|
group?: keyof typeof _backstage_plugin_catalog_react_alpha.defaultEntityContentGroups | (string & {});
|
|
93
|
+
icon?: string | react.ReactElement;
|
|
88
94
|
loader: () => Promise<JSX.Element>;
|
|
89
95
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
90
|
-
filter?: string |
|
|
96
|
+
filter?: string | _backstage_filter_predicates.FilterPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
|
|
91
97
|
};
|
|
92
98
|
}>;
|
|
93
99
|
"page:kubernetes": _backstage_frontend_plugin_api.OverridableExtensionDefinition<{
|
|
@@ -95,19 +101,40 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
|
|
|
95
101
|
name: undefined;
|
|
96
102
|
config: {
|
|
97
103
|
path: string | undefined;
|
|
104
|
+
title: string | undefined;
|
|
98
105
|
};
|
|
99
106
|
configInput: {
|
|
107
|
+
title?: string | undefined;
|
|
100
108
|
path?: string | undefined;
|
|
101
109
|
};
|
|
102
|
-
output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<
|
|
110
|
+
output: _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
|
+
optional: true;
|
|
112
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.title", {
|
|
113
|
+
optional: true;
|
|
114
|
+
}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
|
|
103
115
|
optional: true;
|
|
104
116
|
}>;
|
|
105
|
-
inputs: {
|
|
117
|
+
inputs: {
|
|
118
|
+
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", {
|
|
119
|
+
optional: true;
|
|
120
|
+
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "core.title", {
|
|
121
|
+
optional: true;
|
|
122
|
+
}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.IconElement, "core.icon", {
|
|
123
|
+
optional: true;
|
|
124
|
+
}>, {
|
|
125
|
+
singleton: false;
|
|
126
|
+
optional: false;
|
|
127
|
+
internal: false;
|
|
128
|
+
}>;
|
|
129
|
+
};
|
|
106
130
|
params: {
|
|
107
131
|
defaultPath?: [Error: `Use the 'path' param instead`];
|
|
108
132
|
path: string;
|
|
109
|
-
|
|
133
|
+
title?: string;
|
|
134
|
+
icon?: _backstage_frontend_plugin_api.IconElement;
|
|
135
|
+
loader?: () => Promise<react.JSX.Element>;
|
|
110
136
|
routeRef?: _backstage_frontend_plugin_api.RouteRef;
|
|
137
|
+
noHeader?: boolean;
|
|
111
138
|
};
|
|
112
139
|
}>;
|
|
113
140
|
}>;
|
package/dist/package.json.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var name = "@backstage/plugin-kubernetes";
|
|
2
|
-
var version = "0.12.16
|
|
2
|
+
var version = "0.12.16";
|
|
3
3
|
var description = "A Backstage plugin that integrates towards Kubernetes";
|
|
4
4
|
var backstage = {
|
|
5
5
|
role: "frontend-plugin",
|
|
@@ -77,13 +77,13 @@ var devDependencies = {
|
|
|
77
77
|
"@types/react": "^18.0.0",
|
|
78
78
|
react: "^18.0.2",
|
|
79
79
|
"react-dom": "^18.0.2",
|
|
80
|
-
"react-router-dom": "^6.
|
|
80
|
+
"react-router-dom": "^6.30.2"
|
|
81
81
|
};
|
|
82
82
|
var peerDependencies = {
|
|
83
83
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
84
84
|
react: "^17.0.0 || ^18.0.0",
|
|
85
85
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
86
|
-
"react-router-dom": "^6.
|
|
86
|
+
"react-router-dom": "^6.30.2"
|
|
87
87
|
};
|
|
88
88
|
var peerDependenciesMeta = {
|
|
89
89
|
"@types/react": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-kubernetes",
|
|
3
|
-
"version": "0.12.16
|
|
3
|
+
"version": "0.12.16",
|
|
4
4
|
"description": "A Backstage plugin that integrates towards Kubernetes",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -70,33 +70,33 @@
|
|
|
70
70
|
"test": "backstage-cli package test"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@backstage/catalog-model": "1.7.6",
|
|
74
|
-
"@backstage/core-components": "0.18.7
|
|
75
|
-
"@backstage/core-plugin-api": "1.12.3
|
|
76
|
-
"@backstage/frontend-plugin-api": "0.14.0
|
|
77
|
-
"@backstage/plugin-catalog-react": "
|
|
78
|
-
"@backstage/plugin-kubernetes-common": "0.9.10
|
|
79
|
-
"@backstage/plugin-kubernetes-react": "0.5.16
|
|
80
|
-
"@backstage/plugin-permission-react": "0.4.40
|
|
73
|
+
"@backstage/catalog-model": "^1.7.6",
|
|
74
|
+
"@backstage/core-components": "^0.18.7",
|
|
75
|
+
"@backstage/core-plugin-api": "^1.12.3",
|
|
76
|
+
"@backstage/frontend-plugin-api": "^0.14.0",
|
|
77
|
+
"@backstage/plugin-catalog-react": "^2.0.0",
|
|
78
|
+
"@backstage/plugin-kubernetes-common": "^0.9.10",
|
|
79
|
+
"@backstage/plugin-kubernetes-react": "^0.5.16",
|
|
80
|
+
"@backstage/plugin-permission-react": "^0.4.40",
|
|
81
81
|
"@material-ui/core": "^4.12.2"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@backstage/cli": "0.35.4
|
|
85
|
-
"@backstage/dev-utils": "1.1.20
|
|
86
|
-
"@backstage/test-utils": "1.7.15
|
|
84
|
+
"@backstage/cli": "^0.35.4",
|
|
85
|
+
"@backstage/dev-utils": "^1.1.20",
|
|
86
|
+
"@backstage/test-utils": "^1.7.15",
|
|
87
87
|
"@testing-library/dom": "^10.0.0",
|
|
88
88
|
"@testing-library/jest-dom": "^6.0.0",
|
|
89
89
|
"@testing-library/react": "^16.0.0",
|
|
90
90
|
"@types/react": "^18.0.0",
|
|
91
91
|
"react": "^18.0.2",
|
|
92
92
|
"react-dom": "^18.0.2",
|
|
93
|
-
"react-router-dom": "^6.
|
|
93
|
+
"react-router-dom": "^6.30.2"
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
96
96
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
97
97
|
"react": "^17.0.0 || ^18.0.0",
|
|
98
98
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
99
|
-
"react-router-dom": "^6.
|
|
99
|
+
"react-router-dom": "^6.30.2"
|
|
100
100
|
},
|
|
101
101
|
"peerDependenciesMeta": {
|
|
102
102
|
"@types/react": {
|