@backstage/plugin-kubernetes 0.12.16-next.0 → 0.12.16-next.2

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 CHANGED
@@ -1,5 +1,32 @@
1
1
  # @backstage/plugin-kubernetes
2
2
 
3
+ ## 0.12.16-next.2
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: 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.
11
+ - Updated dependencies
12
+ - @backstage/plugin-catalog-react@2.0.0-next.2
13
+ - @backstage/plugin-kubernetes-react@0.5.16-next.2
14
+ - @backstage/frontend-plugin-api@0.14.0-next.2
15
+ - @backstage/core-components@0.18.7-next.2
16
+ - @backstage/core-plugin-api@1.12.3-next.1
17
+ - @backstage/plugin-permission-react@0.4.40-next.1
18
+
19
+ ## 0.12.16-next.1
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies
24
+ - @backstage/plugin-catalog-react@1.22.0-next.1
25
+ - @backstage/plugin-kubernetes-common@0.9.10-next.1
26
+ - @backstage/plugin-kubernetes-react@0.5.16-next.1
27
+ - @backstage/frontend-plugin-api@0.14.0-next.1
28
+ - @backstage/core-components@0.18.7-next.1
29
+
3
30
  ## 0.12.16-next.0
4
31
 
5
32
  ### Patch Changes
package/README.md CHANGED
@@ -69,5 +69,11 @@ app:
69
69
  extensions:
70
70
  - entity-content:kubernetes/kubernetes:
71
71
  config:
72
- filter: kind:component,api,resource,system
72
+ filter:
73
+ kind:
74
+ $in:
75
+ - component
76
+ - api
77
+ - resource
78
+ - system
73
79
  ```
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 _backstage_plugin_catalog_react_alpha from '@backstage/plugin-catalog-react/alpha';
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,14 +60,16 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
59
60
  config: {
60
61
  path: string | undefined;
61
62
  title: string | undefined;
62
- filter: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
63
+ filter: _backstage_filter_predicates.FilterPredicate | undefined;
63
64
  group: string | false | undefined;
65
+ icon: string | undefined;
64
66
  };
65
67
  configInput: {
66
- filter?: _backstage_plugin_catalog_react_alpha.EntityPredicate | undefined;
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
74
  output: _backstage_frontend_plugin_api.ExtensionDataRef<string, "core.routing.path", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<react.JSX.Element, "core.reactElement", {}> | _backstage_frontend_plugin_api.ExtensionDataRef<_backstage_frontend_plugin_api.RouteRef<_backstage_frontend_plugin_api.AnyRouteRefParams>, "core.routing.ref", {
72
75
  optional: true;
@@ -76,6 +79,8 @@ declare const _default: _backstage_frontend_plugin_api.OverridableFrontendPlugin
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 | _backstage_plugin_catalog_react_alpha.EntityPredicate | ((entity: _backstage_catalog_model.Entity) => boolean);
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<{
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-kubernetes";
2
- var version = "0.12.16-next.0";
2
+ var version = "0.12.16-next.2";
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.3.0"
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.3.0"
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-next.0",
3
+ "version": "0.12.16-next.2",
4
4
  "description": "A Backstage plugin that integrates towards Kubernetes",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -71,32 +71,32 @@
71
71
  },
72
72
  "dependencies": {
73
73
  "@backstage/catalog-model": "1.7.6",
74
- "@backstage/core-components": "0.18.6-next.0",
75
- "@backstage/core-plugin-api": "1.12.2-next.0",
76
- "@backstage/frontend-plugin-api": "0.14.0-next.0",
77
- "@backstage/plugin-catalog-react": "1.21.6-next.0",
78
- "@backstage/plugin-kubernetes-common": "0.9.10-next.0",
79
- "@backstage/plugin-kubernetes-react": "0.5.16-next.0",
80
- "@backstage/plugin-permission-react": "0.4.40-next.0",
74
+ "@backstage/core-components": "0.18.7-next.2",
75
+ "@backstage/core-plugin-api": "1.12.3-next.1",
76
+ "@backstage/frontend-plugin-api": "0.14.0-next.2",
77
+ "@backstage/plugin-catalog-react": "2.0.0-next.2",
78
+ "@backstage/plugin-kubernetes-common": "0.9.10-next.1",
79
+ "@backstage/plugin-kubernetes-react": "0.5.16-next.2",
80
+ "@backstage/plugin-permission-react": "0.4.40-next.1",
81
81
  "@material-ui/core": "^4.12.2"
82
82
  },
83
83
  "devDependencies": {
84
- "@backstage/cli": "0.35.3-next.0",
85
- "@backstage/dev-utils": "1.1.20-next.0",
86
- "@backstage/test-utils": "1.7.15-next.0",
84
+ "@backstage/cli": "0.35.4-next.2",
85
+ "@backstage/dev-utils": "1.1.20-next.2",
86
+ "@backstage/test-utils": "1.7.15-next.2",
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.3.0"
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.3.0"
99
+ "react-router-dom": "^6.30.2"
100
100
  },
101
101
  "peerDependenciesMeta": {
102
102
  "@types/react": {