@backstage/plugin-kubernetes 0.11.13-next.3 → 0.11.14-next.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 CHANGED
@@ -1,5 +1,37 @@
1
1
  # @backstage/plugin-kubernetes
2
2
 
3
+ ## 0.11.14-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - fec8b57: Updated exports to use the new type parameters for extensions and extension blueprints.
8
+ - bfc0f42: Make k8s entity content appear on components & resources only by default in new FE system
9
+ - Updated dependencies
10
+ - @backstage/frontend-plugin-api@0.8.0-next.0
11
+ - @backstage/core-compat-api@0.2.9-next.0
12
+ - @backstage/plugin-catalog-react@1.12.4-next.0
13
+ - @backstage/catalog-model@1.6.0
14
+ - @backstage/core-components@0.14.10
15
+ - @backstage/core-plugin-api@1.9.3
16
+ - @backstage/plugin-kubernetes-common@0.8.2
17
+ - @backstage/plugin-kubernetes-react@0.4.2
18
+
19
+ ## 0.11.13
20
+
21
+ ### Patch Changes
22
+
23
+ - e6c15cc: Adds support for Backstage's new frontend system, available via the `/alpha` sub-path export.
24
+ - fe1fbb2: Migrating usages of the deprecated `createExtension` `v1` format to the newer `v2` format, and old `create*Extension` extension creators to blueprints.
25
+ - Updated dependencies
26
+ - @backstage/frontend-plugin-api@0.7.0
27
+ - @backstage/plugin-catalog-react@1.12.3
28
+ - @backstage/plugin-kubernetes-react@0.4.2
29
+ - @backstage/core-components@0.14.10
30
+ - @backstage/core-compat-api@0.2.8
31
+ - @backstage/catalog-model@1.6.0
32
+ - @backstage/core-plugin-api@1.9.3
33
+ - @backstage/plugin-kubernetes-common@0.8.2
34
+
3
35
  ## 0.11.13-next.3
4
36
 
5
37
  ### Patch Changes
package/README.md CHANGED
@@ -52,7 +52,7 @@ export const app = createApp({
52
52
  });
53
53
  ```
54
54
 
55
- 2. Next, enable your desired extensions in `app-config.yaml`
55
+ 2. Next, enable your desired extensions in `app-config.yaml`.
56
56
 
57
57
  ```yaml
58
58
  app:
@@ -60,4 +60,14 @@ app:
60
60
  - entity-content:kubernetes/kubernetes
61
61
  ```
62
62
 
63
- Now, the extension appears on your entity page as one of the tabs, which is called `KUBERNETES`
63
+ Now, the extension appears on your entity page as one of the tabs, which is called `KUBERNETES`.
64
+ By default, the tab will only appear on entities that are Components or Resources. You can override
65
+ that behavior by providing a config block to the extension, like so:
66
+
67
+ ```yaml
68
+ app:
69
+ extensions:
70
+ - entity-content:kubernetes/kubernetes:
71
+ config:
72
+ filter: kind:component,api,resource,system
73
+ ```
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes__alpha",
3
- "version": "0.11.13-next.3",
3
+ "version": "0.11.14-next.0",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
@@ -1,77 +1,88 @@
1
- import { createApiExtension, createApiFactory, discoveryApiRef, fetchApiRef } from '@backstage/frontend-plugin-api';
1
+ import { ApiBlueprint, createApiFactory, discoveryApiRef, fetchApiRef } from '@backstage/frontend-plugin-api';
2
2
  import { kubernetesApiRef, kubernetesAuthProvidersApiRef, KubernetesBackendClient, kubernetesProxyApiRef, KubernetesProxyClient, KubernetesAuthProviders, kubernetesClusterLinkFormatterApiRef, getDefaultFormatters, KubernetesClusterLinkFormatter, DEFAULT_FORMATTER_NAME } from '@backstage/plugin-kubernetes-react';
3
3
  import { gitlabAuthApiRef, googleAuthApiRef, microsoftAuthApiRef, oktaAuthApiRef, oneloginAuthApiRef } from '@backstage/core-plugin-api';
4
4
 
5
- const kubernetesApiExtension = createApiExtension({
6
- factory: createApiFactory({
7
- api: kubernetesApiRef,
8
- deps: {
9
- discoveryApi: discoveryApiRef,
10
- fetchApi: fetchApiRef,
11
- kubernetesAuthProvidersApi: kubernetesAuthProvidersApiRef
12
- },
13
- factory: ({ discoveryApi, fetchApi, kubernetesAuthProvidersApi: kubernetesAuthProvidersApi2 }) => new KubernetesBackendClient({
14
- discoveryApi,
15
- fetchApi,
16
- kubernetesAuthProvidersApi: kubernetesAuthProvidersApi2
5
+ const kubernetesApiExtension = ApiBlueprint.make({
6
+ params: {
7
+ factory: createApiFactory({
8
+ api: kubernetesApiRef,
9
+ deps: {
10
+ discoveryApi: discoveryApiRef,
11
+ fetchApi: fetchApiRef,
12
+ kubernetesAuthProvidersApi: kubernetesAuthProvidersApiRef
13
+ },
14
+ factory: ({ discoveryApi, fetchApi, kubernetesAuthProvidersApi: kubernetesAuthProvidersApi2 }) => new KubernetesBackendClient({
15
+ discoveryApi,
16
+ fetchApi,
17
+ kubernetesAuthProvidersApi: kubernetesAuthProvidersApi2
18
+ })
17
19
  })
18
- })
20
+ }
19
21
  });
20
- const kubernetesProxyApi = createApiExtension({
21
- factory: createApiFactory({
22
- api: kubernetesProxyApiRef,
23
- deps: {
24
- kubernetesApi: kubernetesApiRef
25
- },
26
- factory: ({ kubernetesApi }) => new KubernetesProxyClient({
27
- kubernetesApi
22
+ const kubernetesProxyApi = ApiBlueprint.make({
23
+ name: "proxy",
24
+ params: {
25
+ factory: createApiFactory({
26
+ api: kubernetesProxyApiRef,
27
+ deps: {
28
+ kubernetesApi: kubernetesApiRef
29
+ },
30
+ factory: ({ kubernetesApi }) => new KubernetesProxyClient({
31
+ kubernetesApi
32
+ })
28
33
  })
29
- })
34
+ }
30
35
  });
31
- const kubernetesAuthProvidersApi = createApiExtension({
32
- factory: createApiFactory({
33
- api: kubernetesAuthProvidersApiRef,
34
- deps: {
35
- gitlabAuthApi: gitlabAuthApiRef,
36
- googleAuthApi: googleAuthApiRef,
37
- microsoftAuthApi: microsoftAuthApiRef,
38
- oktaAuthApi: oktaAuthApiRef,
39
- oneloginAuthApi: oneloginAuthApiRef
40
- },
41
- factory: ({
42
- gitlabAuthApi,
43
- googleAuthApi,
44
- microsoftAuthApi,
45
- oktaAuthApi,
46
- oneloginAuthApi
47
- }) => {
48
- const oidcProviders = {
49
- gitlab: gitlabAuthApi,
50
- google: googleAuthApi,
51
- microsoft: microsoftAuthApi,
52
- okta: oktaAuthApi,
53
- onelogin: oneloginAuthApi
54
- };
55
- return new KubernetesAuthProviders({
56
- microsoftAuthApi,
36
+ const kubernetesAuthProvidersApi = ApiBlueprint.make({
37
+ name: "auth-providers",
38
+ params: {
39
+ factory: createApiFactory({
40
+ api: kubernetesAuthProvidersApiRef,
41
+ deps: {
42
+ gitlabAuthApi: gitlabAuthApiRef,
43
+ googleAuthApi: googleAuthApiRef,
44
+ microsoftAuthApi: microsoftAuthApiRef,
45
+ oktaAuthApi: oktaAuthApiRef,
46
+ oneloginAuthApi: oneloginAuthApiRef
47
+ },
48
+ factory: ({
49
+ gitlabAuthApi,
57
50
  googleAuthApi,
58
- oidcProviders
59
- });
60
- }
61
- })
51
+ microsoftAuthApi,
52
+ oktaAuthApi,
53
+ oneloginAuthApi
54
+ }) => {
55
+ const oidcProviders = {
56
+ gitlab: gitlabAuthApi,
57
+ google: googleAuthApi,
58
+ microsoft: microsoftAuthApi,
59
+ okta: oktaAuthApi,
60
+ onelogin: oneloginAuthApi
61
+ };
62
+ return new KubernetesAuthProviders({
63
+ microsoftAuthApi,
64
+ googleAuthApi,
65
+ oidcProviders
66
+ });
67
+ }
68
+ })
69
+ }
62
70
  });
63
- const kubernetesClusterLinkFormatterApi = createApiExtension({
64
- factory: createApiFactory({
65
- api: kubernetesClusterLinkFormatterApiRef,
66
- deps: { googleAuthApi: googleAuthApiRef },
67
- factory: (deps) => {
68
- const formatters = getDefaultFormatters(deps);
69
- return new KubernetesClusterLinkFormatter({
70
- formatters,
71
- defaultFormatterName: DEFAULT_FORMATTER_NAME
72
- });
73
- }
74
- })
71
+ const kubernetesClusterLinkFormatterApi = ApiBlueprint.make({
72
+ name: "cluster-link-formatter",
73
+ params: {
74
+ factory: createApiFactory({
75
+ api: kubernetesClusterLinkFormatterApiRef,
76
+ deps: { googleAuthApi: googleAuthApiRef },
77
+ factory: (deps) => {
78
+ const formatters = getDefaultFormatters(deps);
79
+ return new KubernetesClusterLinkFormatter({
80
+ formatters,
81
+ defaultFormatterName: DEFAULT_FORMATTER_NAME
82
+ });
83
+ }
84
+ })
85
+ }
75
86
  });
76
87
 
77
88
  export { kubernetesApiExtension, kubernetesAuthProvidersApi, kubernetesClusterLinkFormatterApi, kubernetesProxyApi };
@@ -1 +1 @@
1
- {"version":3,"file":"apis.esm.js","sources":["../../src/alpha/apis.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n createApiExtension,\n createApiFactory,\n discoveryApiRef,\n fetchApiRef,\n} from '@backstage/frontend-plugin-api';\nimport {\n KubernetesBackendClient,\n kubernetesApiRef,\n kubernetesProxyApiRef,\n kubernetesAuthProvidersApiRef,\n KubernetesAuthProviders,\n KubernetesProxyClient,\n kubernetesClusterLinkFormatterApiRef,\n getDefaultFormatters,\n KubernetesClusterLinkFormatter,\n DEFAULT_FORMATTER_NAME,\n} from '@backstage/plugin-kubernetes-react';\nimport {\n gitlabAuthApiRef,\n googleAuthApiRef,\n microsoftAuthApiRef,\n oktaAuthApiRef,\n oneloginAuthApiRef,\n} from '@backstage/core-plugin-api';\n\nexport const kubernetesApiExtension = createApiExtension({\n factory: createApiFactory({\n api: kubernetesApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n fetchApi: fetchApiRef,\n kubernetesAuthProvidersApi: kubernetesAuthProvidersApiRef,\n },\n factory: ({ discoveryApi, fetchApi, kubernetesAuthProvidersApi }) =>\n new KubernetesBackendClient({\n discoveryApi,\n fetchApi,\n kubernetesAuthProvidersApi,\n }),\n }),\n});\n\nexport const kubernetesProxyApi = createApiExtension({\n factory: createApiFactory({\n api: kubernetesProxyApiRef,\n deps: {\n kubernetesApi: kubernetesApiRef,\n },\n factory: ({ kubernetesApi }) =>\n new KubernetesProxyClient({\n kubernetesApi,\n }),\n }),\n});\n\nexport const kubernetesAuthProvidersApi = createApiExtension({\n factory: createApiFactory({\n api: kubernetesAuthProvidersApiRef,\n deps: {\n gitlabAuthApi: gitlabAuthApiRef,\n googleAuthApi: googleAuthApiRef,\n microsoftAuthApi: microsoftAuthApiRef,\n oktaAuthApi: oktaAuthApiRef,\n oneloginAuthApi: oneloginAuthApiRef,\n },\n factory: ({\n gitlabAuthApi,\n googleAuthApi,\n microsoftAuthApi,\n oktaAuthApi,\n oneloginAuthApi,\n }) => {\n const oidcProviders = {\n gitlab: gitlabAuthApi,\n google: googleAuthApi,\n microsoft: microsoftAuthApi,\n okta: oktaAuthApi,\n onelogin: oneloginAuthApi,\n };\n\n return new KubernetesAuthProviders({\n microsoftAuthApi,\n googleAuthApi,\n oidcProviders,\n });\n },\n }),\n});\n\nexport const kubernetesClusterLinkFormatterApi = createApiExtension({\n factory: createApiFactory({\n api: kubernetesClusterLinkFormatterApiRef,\n deps: { googleAuthApi: googleAuthApiRef },\n factory: deps => {\n const formatters = getDefaultFormatters(deps);\n return new KubernetesClusterLinkFormatter({\n formatters,\n defaultFormatterName: DEFAULT_FORMATTER_NAME,\n });\n },\n }),\n});\n"],"names":["kubernetesAuthProvidersApi"],"mappings":";;;;AA0CO,MAAM,yBAAyB,kBAAmB,CAAA;AAAA,EACvD,SAAS,gBAAiB,CAAA;AAAA,IACxB,GAAK,EAAA,gBAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,YAAc,EAAA,eAAA;AAAA,MACd,QAAU,EAAA,WAAA;AAAA,MACV,0BAA4B,EAAA,6BAAA;AAAA,KAC9B;AAAA,IACA,OAAA,EAAS,CAAC,EAAE,YAAA,EAAc,UAAU,0BAAAA,EAAAA,2BAAAA,EAClC,KAAA,IAAI,uBAAwB,CAAA;AAAA,MAC1B,YAAA;AAAA,MACA,QAAA;AAAA,MACA,0BAAAA,EAAAA,2BAAAA;AAAA,KACD,CAAA;AAAA,GACJ,CAAA;AACH,CAAC,EAAA;AAEM,MAAM,qBAAqB,kBAAmB,CAAA;AAAA,EACnD,SAAS,gBAAiB,CAAA;AAAA,IACxB,GAAK,EAAA,qBAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,aAAe,EAAA,gBAAA;AAAA,KACjB;AAAA,IACA,SAAS,CAAC,EAAE,aAAc,EAAA,KACxB,IAAI,qBAAsB,CAAA;AAAA,MACxB,aAAA;AAAA,KACD,CAAA;AAAA,GACJ,CAAA;AACH,CAAC,EAAA;AAEM,MAAM,6BAA6B,kBAAmB,CAAA;AAAA,EAC3D,SAAS,gBAAiB,CAAA;AAAA,IACxB,GAAK,EAAA,6BAAA;AAAA,IACL,IAAM,EAAA;AAAA,MACJ,aAAe,EAAA,gBAAA;AAAA,MACf,aAAe,EAAA,gBAAA;AAAA,MACf,gBAAkB,EAAA,mBAAA;AAAA,MAClB,WAAa,EAAA,cAAA;AAAA,MACb,eAAiB,EAAA,kBAAA;AAAA,KACnB;AAAA,IACA,SAAS,CAAC;AAAA,MACR,aAAA;AAAA,MACA,aAAA;AAAA,MACA,gBAAA;AAAA,MACA,WAAA;AAAA,MACA,eAAA;AAAA,KACI,KAAA;AACJ,MAAA,MAAM,aAAgB,GAAA;AAAA,QACpB,MAAQ,EAAA,aAAA;AAAA,QACR,MAAQ,EAAA,aAAA;AAAA,QACR,SAAW,EAAA,gBAAA;AAAA,QACX,IAAM,EAAA,WAAA;AAAA,QACN,QAAU,EAAA,eAAA;AAAA,OACZ,CAAA;AAEA,MAAA,OAAO,IAAI,uBAAwB,CAAA;AAAA,QACjC,gBAAA;AAAA,QACA,aAAA;AAAA,QACA,aAAA;AAAA,OACD,CAAA,CAAA;AAAA,KACH;AAAA,GACD,CAAA;AACH,CAAC,EAAA;AAEM,MAAM,oCAAoC,kBAAmB,CAAA;AAAA,EAClE,SAAS,gBAAiB,CAAA;AAAA,IACxB,GAAK,EAAA,oCAAA;AAAA,IACL,IAAA,EAAM,EAAE,aAAA,EAAe,gBAAiB,EAAA;AAAA,IACxC,SAAS,CAAQ,IAAA,KAAA;AACf,MAAM,MAAA,UAAA,GAAa,qBAAqB,IAAI,CAAA,CAAA;AAC5C,MAAA,OAAO,IAAI,8BAA+B,CAAA;AAAA,QACxC,UAAA;AAAA,QACA,oBAAsB,EAAA,sBAAA;AAAA,OACvB,CAAA,CAAA;AAAA,KACH;AAAA,GACD,CAAA;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"apis.esm.js","sources":["../../src/alpha/apis.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n ApiBlueprint,\n createApiFactory,\n discoveryApiRef,\n fetchApiRef,\n} from '@backstage/frontend-plugin-api';\nimport {\n KubernetesBackendClient,\n kubernetesApiRef,\n kubernetesProxyApiRef,\n kubernetesAuthProvidersApiRef,\n KubernetesAuthProviders,\n KubernetesProxyClient,\n kubernetesClusterLinkFormatterApiRef,\n getDefaultFormatters,\n KubernetesClusterLinkFormatter,\n DEFAULT_FORMATTER_NAME,\n} from '@backstage/plugin-kubernetes-react';\nimport {\n gitlabAuthApiRef,\n googleAuthApiRef,\n microsoftAuthApiRef,\n oktaAuthApiRef,\n oneloginAuthApiRef,\n} from '@backstage/core-plugin-api';\n\nexport const kubernetesApiExtension = ApiBlueprint.make({\n params: {\n factory: createApiFactory({\n api: kubernetesApiRef,\n deps: {\n discoveryApi: discoveryApiRef,\n fetchApi: fetchApiRef,\n kubernetesAuthProvidersApi: kubernetesAuthProvidersApiRef,\n },\n factory: ({ discoveryApi, fetchApi, kubernetesAuthProvidersApi }) =>\n new KubernetesBackendClient({\n discoveryApi,\n fetchApi,\n kubernetesAuthProvidersApi,\n }),\n }),\n },\n});\n\nexport const kubernetesProxyApi = ApiBlueprint.make({\n name: 'proxy',\n params: {\n factory: createApiFactory({\n api: kubernetesProxyApiRef,\n deps: {\n kubernetesApi: kubernetesApiRef,\n },\n factory: ({ kubernetesApi }) =>\n new KubernetesProxyClient({\n kubernetesApi,\n }),\n }),\n },\n});\n\nexport const kubernetesAuthProvidersApi = ApiBlueprint.make({\n name: 'auth-providers',\n params: {\n factory: createApiFactory({\n api: kubernetesAuthProvidersApiRef,\n deps: {\n gitlabAuthApi: gitlabAuthApiRef,\n googleAuthApi: googleAuthApiRef,\n microsoftAuthApi: microsoftAuthApiRef,\n oktaAuthApi: oktaAuthApiRef,\n oneloginAuthApi: oneloginAuthApiRef,\n },\n factory: ({\n gitlabAuthApi,\n googleAuthApi,\n microsoftAuthApi,\n oktaAuthApi,\n oneloginAuthApi,\n }) => {\n const oidcProviders = {\n gitlab: gitlabAuthApi,\n google: googleAuthApi,\n microsoft: microsoftAuthApi,\n okta: oktaAuthApi,\n onelogin: oneloginAuthApi,\n };\n\n return new KubernetesAuthProviders({\n microsoftAuthApi,\n googleAuthApi,\n oidcProviders,\n });\n },\n }),\n },\n});\n\nexport const kubernetesClusterLinkFormatterApi = ApiBlueprint.make({\n name: 'cluster-link-formatter',\n params: {\n factory: createApiFactory({\n api: kubernetesClusterLinkFormatterApiRef,\n deps: { googleAuthApi: googleAuthApiRef },\n factory: deps => {\n const formatters = getDefaultFormatters(deps);\n return new KubernetesClusterLinkFormatter({\n formatters,\n defaultFormatterName: DEFAULT_FORMATTER_NAME,\n });\n },\n }),\n },\n});\n"],"names":["kubernetesAuthProvidersApi"],"mappings":";;;;AA0Ca,MAAA,sBAAA,GAAyB,aAAa,IAAK,CAAA;AAAA,EACtD,MAAQ,EAAA;AAAA,IACN,SAAS,gBAAiB,CAAA;AAAA,MACxB,GAAK,EAAA,gBAAA;AAAA,MACL,IAAM,EAAA;AAAA,QACJ,YAAc,EAAA,eAAA;AAAA,QACd,QAAU,EAAA,WAAA;AAAA,QACV,0BAA4B,EAAA,6BAAA;AAAA,OAC9B;AAAA,MACA,OAAA,EAAS,CAAC,EAAE,YAAA,EAAc,UAAU,0BAAAA,EAAAA,2BAAAA,EAClC,KAAA,IAAI,uBAAwB,CAAA;AAAA,QAC1B,YAAA;AAAA,QACA,QAAA;AAAA,QACA,0BAAAA,EAAAA,2BAAAA;AAAA,OACD,CAAA;AAAA,KACJ,CAAA;AAAA,GACH;AACF,CAAC,EAAA;AAEY,MAAA,kBAAA,GAAqB,aAAa,IAAK,CAAA;AAAA,EAClD,IAAM,EAAA,OAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,SAAS,gBAAiB,CAAA;AAAA,MACxB,GAAK,EAAA,qBAAA;AAAA,MACL,IAAM,EAAA;AAAA,QACJ,aAAe,EAAA,gBAAA;AAAA,OACjB;AAAA,MACA,SAAS,CAAC,EAAE,aAAc,EAAA,KACxB,IAAI,qBAAsB,CAAA;AAAA,QACxB,aAAA;AAAA,OACD,CAAA;AAAA,KACJ,CAAA;AAAA,GACH;AACF,CAAC,EAAA;AAEY,MAAA,0BAAA,GAA6B,aAAa,IAAK,CAAA;AAAA,EAC1D,IAAM,EAAA,gBAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,SAAS,gBAAiB,CAAA;AAAA,MACxB,GAAK,EAAA,6BAAA;AAAA,MACL,IAAM,EAAA;AAAA,QACJ,aAAe,EAAA,gBAAA;AAAA,QACf,aAAe,EAAA,gBAAA;AAAA,QACf,gBAAkB,EAAA,mBAAA;AAAA,QAClB,WAAa,EAAA,cAAA;AAAA,QACb,eAAiB,EAAA,kBAAA;AAAA,OACnB;AAAA,MACA,SAAS,CAAC;AAAA,QACR,aAAA;AAAA,QACA,aAAA;AAAA,QACA,gBAAA;AAAA,QACA,WAAA;AAAA,QACA,eAAA;AAAA,OACI,KAAA;AACJ,QAAA,MAAM,aAAgB,GAAA;AAAA,UACpB,MAAQ,EAAA,aAAA;AAAA,UACR,MAAQ,EAAA,aAAA;AAAA,UACR,SAAW,EAAA,gBAAA;AAAA,UACX,IAAM,EAAA,WAAA;AAAA,UACN,QAAU,EAAA,eAAA;AAAA,SACZ,CAAA;AAEA,QAAA,OAAO,IAAI,uBAAwB,CAAA;AAAA,UACjC,gBAAA;AAAA,UACA,aAAA;AAAA,UACA,aAAA;AAAA,SACD,CAAA,CAAA;AAAA,OACH;AAAA,KACD,CAAA;AAAA,GACH;AACF,CAAC,EAAA;AAEY,MAAA,iCAAA,GAAoC,aAAa,IAAK,CAAA;AAAA,EACjE,IAAM,EAAA,wBAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,SAAS,gBAAiB,CAAA;AAAA,MACxB,GAAK,EAAA,oCAAA;AAAA,MACL,IAAA,EAAM,EAAE,aAAA,EAAe,gBAAiB,EAAA;AAAA,MACxC,SAAS,CAAQ,IAAA,KAAA;AACf,QAAM,MAAA,UAAA,GAAa,qBAAqB,IAAI,CAAA,CAAA;AAC5C,QAAA,OAAO,IAAI,8BAA+B,CAAA;AAAA,UACxC,UAAA;AAAA,UACA,oBAAsB,EAAA,sBAAA;AAAA,SACvB,CAAA,CAAA;AAAA,OACH;AAAA,KACD,CAAA;AAAA,GACH;AACF,CAAC;;;;"}
@@ -1,16 +1,17 @@
1
1
  import React from 'react';
2
- import { convertLegacyRouteRef, compatWrapper } from '@backstage/core-compat-api';
3
- import { createEntityContentExtension } from '@backstage/plugin-catalog-react/alpha';
4
- import { rootCatalogKubernetesRouteRef } from '../plugin.esm.js';
2
+ import { compatWrapper } from '@backstage/core-compat-api';
3
+ import { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';
5
4
 
6
- const entityKubernetesContent = createEntityContentExtension({
7
- defaultPath: "kubernetes",
8
- defaultTitle: "Kubernetes",
5
+ const entityKubernetesContent = EntityContentBlueprint.make({
9
6
  name: "kubernetes",
10
- routeRef: convertLegacyRouteRef(rootCatalogKubernetesRouteRef),
11
- loader: () => import('./KubernetesContentPage.esm.js').then(
12
- (m) => compatWrapper(/* @__PURE__ */ React.createElement(m.KubernetesContentPage, null))
13
- )
7
+ params: {
8
+ defaultPath: "/kubernetes",
9
+ defaultTitle: "Kubernetes",
10
+ filter: "kind:component,resource",
11
+ loader: () => import('./KubernetesContentPage.esm.js').then(
12
+ (m) => compatWrapper(/* @__PURE__ */ React.createElement(m.KubernetesContentPage, null))
13
+ )
14
+ }
14
15
  });
15
16
 
16
17
  export { entityKubernetesContent };
@@ -1 +1 @@
1
- {"version":3,"file":"entityContents.esm.js","sources":["../../src/alpha/entityContents.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport {\n compatWrapper,\n convertLegacyRouteRef,\n} from '@backstage/core-compat-api';\nimport { createEntityContentExtension } from '@backstage/plugin-catalog-react/alpha';\nimport { rootCatalogKubernetesRouteRef } from '../plugin';\n\nexport const entityKubernetesContent = createEntityContentExtension({\n defaultPath: 'kubernetes',\n defaultTitle: 'Kubernetes',\n name: 'kubernetes',\n routeRef: convertLegacyRouteRef(rootCatalogKubernetesRouteRef),\n loader: () =>\n import('./KubernetesContentPage').then(m =>\n compatWrapper(<m.KubernetesContentPage />),\n ),\n});\n"],"names":[],"mappings":";;;;;AAwBO,MAAM,0BAA0B,4BAA6B,CAAA;AAAA,EAClE,WAAa,EAAA,YAAA;AAAA,EACb,YAAc,EAAA,YAAA;AAAA,EACd,IAAM,EAAA,YAAA;AAAA,EACN,QAAA,EAAU,sBAAsB,6BAA6B,CAAA;AAAA,EAC7D,MAAQ,EAAA,MACN,OAAO,gCAAyB,CAAE,CAAA,IAAA;AAAA,IAAK,OACrC,aAAc,iBAAA,KAAA,CAAA,aAAA,CAAC,CAAE,CAAA,qBAAA,EAAF,IAAwB,CAAE,CAAA;AAAA,GAC3C;AACJ,CAAC;;;;"}
1
+ {"version":3,"file":"entityContents.esm.js","sources":["../../src/alpha/entityContents.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react';\nimport { compatWrapper } from '@backstage/core-compat-api';\nimport { EntityContentBlueprint } from '@backstage/plugin-catalog-react/alpha';\n\nexport const entityKubernetesContent = EntityContentBlueprint.make({\n name: 'kubernetes',\n params: {\n defaultPath: '/kubernetes',\n defaultTitle: 'Kubernetes',\n filter: 'kind:component,resource',\n loader: () =>\n import('./KubernetesContentPage').then(m =>\n compatWrapper(<m.KubernetesContentPage />),\n ),\n },\n});\n"],"names":[],"mappings":";;;;AAoBa,MAAA,uBAAA,GAA0B,uBAAuB,IAAK,CAAA;AAAA,EACjE,IAAM,EAAA,YAAA;AAAA,EACN,MAAQ,EAAA;AAAA,IACN,WAAa,EAAA,aAAA;AAAA,IACb,YAAc,EAAA,YAAA;AAAA,IACd,MAAQ,EAAA,yBAAA;AAAA,IACR,MAAQ,EAAA,MACN,OAAO,gCAAyB,CAAE,CAAA,IAAA;AAAA,MAAK,OACrC,aAAc,iBAAA,KAAA,CAAA,aAAA,CAAC,CAAE,CAAA,qBAAA,EAAF,IAAwB,CAAE,CAAA;AAAA,KAC3C;AAAA,GACJ;AACF,CAAC;;;;"}
@@ -1,15 +1,17 @@
1
1
  import React from 'react';
2
- import { createPageExtension } from '@backstage/frontend-plugin-api';
2
+ import { PageBlueprint } from '@backstage/frontend-plugin-api';
3
3
  import { convertLegacyRouteRef, compatWrapper } from '@backstage/core-compat-api';
4
4
  import { rootCatalogKubernetesRouteRef } from '../plugin.esm.js';
5
5
 
6
- const kubernetesPage = createPageExtension({
7
- defaultPath: "/kubernetes",
8
- // you can reuse the existing routeRef
9
- // by wrapping into the convertLegacyRouteRef.
10
- routeRef: convertLegacyRouteRef(rootCatalogKubernetesRouteRef),
11
- // these inputs usually match the props required by the component.
12
- loader: () => import('../Router.esm.js').then((m) => compatWrapper(/* @__PURE__ */ React.createElement(m.Router, null)))
6
+ const kubernetesPage = PageBlueprint.make({
7
+ params: {
8
+ defaultPath: "/kubernetes",
9
+ // you can reuse the existing routeRef
10
+ // by wrapping into the convertLegacyRouteRef.
11
+ routeRef: convertLegacyRouteRef(rootCatalogKubernetesRouteRef),
12
+ // these inputs usually match the props required by the component.
13
+ loader: () => import('../Router.esm.js').then((m) => compatWrapper(/* @__PURE__ */ React.createElement(m.Router, null)))
14
+ }
13
15
  });
14
16
 
15
17
  export { kubernetesPage };
@@ -1 +1 @@
1
- {"version":3,"file":"pages.esm.js","sources":["../../src/alpha/pages.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react'; // Add this line to import React\n\nimport { createPageExtension } from '@backstage/frontend-plugin-api';\nimport {\n compatWrapper,\n convertLegacyRouteRef,\n} from '@backstage/core-compat-api';\nimport { rootCatalogKubernetesRouteRef } from '../plugin';\n\nexport const kubernetesPage = createPageExtension({\n defaultPath: '/kubernetes',\n // you can reuse the existing routeRef\n // by wrapping into the convertLegacyRouteRef.\n routeRef: convertLegacyRouteRef(rootCatalogKubernetesRouteRef),\n // these inputs usually match the props required by the component.\n loader: () => import('../Router').then(m => compatWrapper(<m.Router />)),\n});\n"],"names":[],"mappings":";;;;;AAyBO,MAAM,iBAAiB,mBAAoB,CAAA;AAAA,EAChD,WAAa,EAAA,aAAA;AAAA;AAAA;AAAA,EAGb,QAAA,EAAU,sBAAsB,6BAA6B,CAAA;AAAA;AAAA,EAE7D,MAAQ,EAAA,MAAM,OAAO,kBAAW,CAAE,CAAA,IAAA,CAAK,CAAK,CAAA,KAAA,aAAA,iBAAe,KAAA,CAAA,aAAA,CAAA,CAAA,CAAE,MAAF,EAAA,IAAS,CAAE,CAAC,CAAA;AACzE,CAAC;;;;"}
1
+ {"version":3,"file":"pages.esm.js","sources":["../../src/alpha/pages.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React from 'react'; // Add this line to import React\n\nimport { PageBlueprint } from '@backstage/frontend-plugin-api';\nimport {\n compatWrapper,\n convertLegacyRouteRef,\n} from '@backstage/core-compat-api';\nimport { rootCatalogKubernetesRouteRef } from '../plugin';\n\nexport const kubernetesPage = PageBlueprint.make({\n params: {\n defaultPath: '/kubernetes',\n // you can reuse the existing routeRef\n // by wrapping into the convertLegacyRouteRef.\n routeRef: convertLegacyRouteRef(rootCatalogKubernetesRouteRef),\n // these inputs usually match the props required by the component.\n loader: () => import('../Router').then(m => compatWrapper(<m.Router />)),\n },\n});\n"],"names":[],"mappings":";;;;;AAyBa,MAAA,cAAA,GAAiB,cAAc,IAAK,CAAA;AAAA,EAC/C,MAAQ,EAAA;AAAA,IACN,WAAa,EAAA,aAAA;AAAA;AAAA;AAAA,IAGb,QAAA,EAAU,sBAAsB,6BAA6B,CAAA;AAAA;AAAA,IAE7D,MAAQ,EAAA,MAAM,OAAO,kBAAW,CAAE,CAAA,IAAA,CAAK,CAAK,CAAA,KAAA,aAAA,iBAAe,KAAA,CAAA,aAAA,CAAA,CAAA,CAAE,MAAF,EAAA,IAAS,CAAE,CAAC,CAAA;AAAA,GACzE;AACF,CAAC;;;;"}
@@ -1,11 +1,11 @@
1
1
  import { convertLegacyRouteRefs } from '@backstage/core-compat-api';
2
- import { createPlugin } from '@backstage/frontend-plugin-api';
2
+ import { createFrontendPlugin } from '@backstage/frontend-plugin-api';
3
3
  import { kubernetesPage } from './pages.esm.js';
4
4
  import { entityKubernetesContent } from './entityContents.esm.js';
5
5
  import { rootCatalogKubernetesRouteRef } from '../plugin.esm.js';
6
6
  import { kubernetesApiExtension, kubernetesProxyApi, kubernetesAuthProvidersApi, kubernetesClusterLinkFormatterApi } from './apis.esm.js';
7
7
 
8
- var plugin = createPlugin({
8
+ var plugin = createFrontendPlugin({
9
9
  id: "kubernetes",
10
10
  extensions: [
11
11
  kubernetesPage,
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { convertLegacyRouteRefs } from '@backstage/core-compat-api';\nimport { createPlugin } from '@backstage/frontend-plugin-api';\nimport { kubernetesPage } from './pages';\nimport { entityKubernetesContent } from './entityContents';\nimport { rootCatalogKubernetesRouteRef } from '../plugin';\nimport {\n kubernetesApiExtension as kubernetesApi,\n kubernetesAuthProvidersApi,\n kubernetesClusterLinkFormatterApi,\n kubernetesProxyApi,\n} from './apis';\n\nexport default createPlugin({\n id: 'kubernetes',\n extensions: [\n kubernetesPage,\n entityKubernetesContent,\n kubernetesApi,\n kubernetesProxyApi,\n kubernetesAuthProvidersApi,\n kubernetesClusterLinkFormatterApi,\n ],\n routes: convertLegacyRouteRefs({ kubernetes: rootCatalogKubernetesRouteRef }),\n});\n"],"names":["kubernetesApi"],"mappings":";;;;;;;AA4BA,aAAe,YAAa,CAAA;AAAA,EAC1B,EAAI,EAAA,YAAA;AAAA,EACJ,UAAY,EAAA;AAAA,IACV,cAAA;AAAA,IACA,uBAAA;AAAA,IACAA,sBAAA;AAAA,IACA,kBAAA;AAAA,IACA,0BAAA;AAAA,IACA,iCAAA;AAAA,GACF;AAAA,EACA,MAAQ,EAAA,sBAAA,CAAuB,EAAE,UAAA,EAAY,+BAA+B,CAAA;AAC9E,CAAC,CAAA;;;;"}
1
+ {"version":3,"file":"plugin.esm.js","sources":["../../src/alpha/plugin.tsx"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { convertLegacyRouteRefs } from '@backstage/core-compat-api';\nimport { createFrontendPlugin } from '@backstage/frontend-plugin-api';\nimport { kubernetesPage } from './pages';\nimport { entityKubernetesContent } from './entityContents';\nimport { rootCatalogKubernetesRouteRef } from '../plugin';\nimport {\n kubernetesApiExtension as kubernetesApi,\n kubernetesAuthProvidersApi,\n kubernetesClusterLinkFormatterApi,\n kubernetesProxyApi,\n} from './apis';\n\nexport default createFrontendPlugin({\n id: 'kubernetes',\n extensions: [\n kubernetesPage,\n entityKubernetesContent,\n kubernetesApi,\n kubernetesProxyApi,\n kubernetesAuthProvidersApi,\n kubernetesClusterLinkFormatterApi,\n ],\n routes: convertLegacyRouteRefs({ kubernetes: rootCatalogKubernetesRouteRef }),\n});\n"],"names":["kubernetesApi"],"mappings":";;;;;;;AA4BA,aAAe,oBAAqB,CAAA;AAAA,EAClC,EAAI,EAAA,YAAA;AAAA,EACJ,UAAY,EAAA;AAAA,IACV,cAAA;AAAA,IACA,uBAAA;AAAA,IACAA,sBAAA;AAAA,IACA,kBAAA;AAAA,IACA,0BAAA;AAAA,IACA,iCAAA;AAAA,GACF;AAAA,EACA,MAAQ,EAAA,sBAAA,CAAuB,EAAE,UAAA,EAAY,+BAA+B,CAAA;AAC9E,CAAC,CAAA;;;;"}
package/dist/alpha.d.ts CHANGED
@@ -1,7 +1,85 @@
1
+ /// <reference types="react" />
2
+ import * as _backstage_catalog_model from '@backstage/catalog-model';
3
+ import * as react from 'react';
1
4
  import * as _backstage_frontend_plugin_api from '@backstage/frontend-plugin-api';
2
5
 
3
6
  declare const _default: _backstage_frontend_plugin_api.BackstagePlugin<{
4
7
  kubernetes: _backstage_frontend_plugin_api.RouteRef<undefined>;
5
- }, {}, {}>;
8
+ }, {}, {
9
+ "api:kubernetes": _backstage_frontend_plugin_api.ExtensionDefinition<{
10
+ kind: "api";
11
+ namespace: undefined;
12
+ name: undefined;
13
+ config: {};
14
+ configInput: {};
15
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
16
+ inputs: {};
17
+ }>;
18
+ "page:kubernetes": _backstage_frontend_plugin_api.ExtensionDefinition<{
19
+ kind: "page";
20
+ namespace: undefined;
21
+ name: undefined;
22
+ config: {
23
+ path: string | undefined;
24
+ };
25
+ configInput: {
26
+ path?: string | undefined;
27
+ };
28
+ output: _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", {
29
+ optional: true;
30
+ }>;
31
+ inputs: {};
32
+ }>;
33
+ "entity-content:kubernetes/kubernetes": _backstage_frontend_plugin_api.ExtensionDefinition<{
34
+ kind: "entity-content";
35
+ namespace: undefined;
36
+ name: "kubernetes";
37
+ config: {
38
+ path: string | undefined;
39
+ title: string | undefined;
40
+ filter: string | undefined;
41
+ };
42
+ configInput: {
43
+ filter?: string | undefined;
44
+ title?: string | undefined;
45
+ path?: string | undefined;
46
+ };
47
+ output: _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", {
48
+ optional: true;
49
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-content-title", {}> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<(entity: _backstage_catalog_model.Entity) => boolean, "catalog.entity-filter-function", {
50
+ optional: true;
51
+ }> | _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<string, "catalog.entity-filter-expression", {
52
+ optional: true;
53
+ }>;
54
+ inputs: {};
55
+ }>;
56
+ "api:kubernetes/proxy": _backstage_frontend_plugin_api.ExtensionDefinition<{
57
+ kind: "api";
58
+ namespace: undefined;
59
+ name: "proxy";
60
+ config: {};
61
+ configInput: {};
62
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
63
+ inputs: {};
64
+ }>;
65
+ "api:kubernetes/auth-providers": _backstage_frontend_plugin_api.ExtensionDefinition<{
66
+ kind: "api";
67
+ namespace: undefined;
68
+ name: "auth-providers";
69
+ config: {};
70
+ configInput: {};
71
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
72
+ inputs: {};
73
+ }>;
74
+ "api:kubernetes/cluster-link-formatter": _backstage_frontend_plugin_api.ExtensionDefinition<{
75
+ kind: "api";
76
+ namespace: undefined;
77
+ name: "cluster-link-formatter";
78
+ config: {};
79
+ configInput: {};
80
+ output: _backstage_frontend_plugin_api.ConfigurableExtensionDataRef<_backstage_frontend_plugin_api.AnyApiFactory, "core.api.factory", {}>;
81
+ inputs: {};
82
+ }>;
83
+ }>;
6
84
 
7
85
  export { _default as default };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
3
- import React from 'react';
3
+ import react__default from 'react';
4
4
  import { Entity } from '@backstage/catalog-model';
5
5
  export * from '@backstage/plugin-kubernetes-react';
6
6
 
@@ -23,6 +23,6 @@ declare const EntityKubernetesContent: (props: EntityKubernetesContentProps) =>
23
23
  declare const isKubernetesAvailable: (entity: Entity) => boolean;
24
24
  declare const Router: (props: {
25
25
  refreshIntervalMs?: number;
26
- }) => React.JSX.Element;
26
+ }) => react__default.JSX.Element;
27
27
 
28
28
  export { EntityKubernetesContent, type EntityKubernetesContentProps, Router, isKubernetesAvailable, kubernetesPlugin, kubernetesPlugin as plugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes",
3
- "version": "0.11.13-next.3",
3
+ "version": "0.11.14-next.0",
4
4
  "description": "A Backstage plugin that integrates towards Kubernetes",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -57,14 +57,14 @@
57
57
  "test": "backstage-cli package test"
58
58
  },
59
59
  "dependencies": {
60
- "@backstage/catalog-model": "^1.6.0-next.0",
61
- "@backstage/core-compat-api": "^0.2.8-next.3",
62
- "@backstage/core-components": "^0.14.10-next.0",
60
+ "@backstage/catalog-model": "^1.6.0",
61
+ "@backstage/core-compat-api": "^0.2.9-next.0",
62
+ "@backstage/core-components": "^0.14.10",
63
63
  "@backstage/core-plugin-api": "^1.9.3",
64
- "@backstage/frontend-plugin-api": "^0.7.0-next.3",
65
- "@backstage/plugin-catalog-react": "^1.12.3-next.3",
66
- "@backstage/plugin-kubernetes-common": "^0.8.2-next.2",
67
- "@backstage/plugin-kubernetes-react": "^0.4.2-next.3",
64
+ "@backstage/frontend-plugin-api": "^0.8.0-next.0",
65
+ "@backstage/plugin-catalog-react": "^1.12.4-next.0",
66
+ "@backstage/plugin-kubernetes-common": "^0.8.2",
67
+ "@backstage/plugin-kubernetes-react": "^0.4.2",
68
68
  "@kubernetes-models/apimachinery": "^1.1.0",
69
69
  "@kubernetes-models/base": "^4.0.1",
70
70
  "@kubernetes/client-node": "0.20.0",
@@ -80,9 +80,9 @@
80
80
  "xterm-addon-fit": "^0.8.0"
81
81
  },
82
82
  "devDependencies": {
83
- "@backstage/cli": "^0.27.0-next.4",
84
- "@backstage/dev-utils": "^1.0.37-next.3",
85
- "@backstage/test-utils": "^1.5.10-next.2",
83
+ "@backstage/cli": "^0.27.1-next.0",
84
+ "@backstage/dev-utils": "^1.0.38-next.0",
85
+ "@backstage/test-utils": "^1.6.0-next.0",
86
86
  "@testing-library/dom": "^10.0.0",
87
87
  "@testing-library/jest-dom": "^6.0.0",
88
88
  "@testing-library/react": "^15.0.0"