@backstage/plugin-kubernetes 0.12.18-next.0 → 0.12.18-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,31 @@
1
1
  # @backstage/plugin-kubernetes
2
2
 
3
+ ## 0.12.18-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/core-components@0.18.9-next.1
9
+ - @backstage/plugin-catalog-react@2.1.2-next.2
10
+ - @backstage/catalog-model@1.7.8-next.0
11
+ - @backstage/core-plugin-api@1.12.5-next.2
12
+ - @backstage/frontend-plugin-api@0.16.0-next.2
13
+ - @backstage/plugin-kubernetes-react@0.5.18-next.1
14
+ - @backstage/plugin-kubernetes-common@0.9.11-next.0
15
+ - @backstage/plugin-permission-react@0.4.42-next.1
16
+
17
+ ## 0.12.18-next.1
18
+
19
+ ### Patch Changes
20
+
21
+ - d156cf4: Added `title` and `icon` to the new frontend system plugin definition.
22
+ - Updated dependencies
23
+ - @backstage/plugin-catalog-react@2.1.2-next.1
24
+ - @backstage/frontend-plugin-api@0.16.0-next.1
25
+ - @backstage/core-components@0.18.9-next.0
26
+ - @backstage/core-plugin-api@1.12.5-next.1
27
+ - @backstage/plugin-kubernetes-react@0.5.18-next.0
28
+
3
29
  ## 0.12.18-next.0
4
30
 
5
31
  ### Patch Changes
@@ -1,11 +1,25 @@
1
+ import { jsx } from 'react/jsx-runtime';
1
2
  import { createFrontendPlugin } from '@backstage/frontend-plugin-api';
2
3
  import { kubernetesPage } from './pages.esm.js';
3
4
  import { entityKubernetesContent } from './entityContents.esm.js';
4
5
  import { rootCatalogKubernetesRouteRef } from '../plugin.esm.js';
5
6
  import { kubernetesApiExtension, kubernetesProxyApi, kubernetesAuthProvidersApi, kubernetesClusterLinkFormatterApi } from './apis.esm.js';
6
7
 
8
+ const KubernetesIcon = () => /* @__PURE__ */ jsx(
9
+ "svg",
10
+ {
11
+ viewBox: "0 0 24 24",
12
+ fill: "currentColor",
13
+ width: "1em",
14
+ height: "1em",
15
+ xmlns: "http://www.w3.org/2000/svg",
16
+ children: /* @__PURE__ */ jsx("path", { d: "M10.204 14.35l.007.01-.999 2.413a5.171 5.171 0 0 1-2.075-2.597l2.578-.437.004.005a.44.44 0 0 1 .484.606zm-.833-2.129a.44.44 0 0 0 .173-.756l.002-.011L7.585 9.7a5.143 5.143 0 0 0-.73 3.255l2.514-.725.002-.009zm1.145-1.98a.44.44 0 0 0 .699-.337l.01-.005.15-2.62a5.144 5.144 0 0 0-3.01 1.442l2.147 1.523.004-.002zm.76 2.75l.723.349.722-.347.18-.78-.5-.623h-.804l-.5.623.179.779zm1.5-3.095a.44.44 0 0 0 .7.336l.008.003 2.134-1.513a5.188 5.188 0 0 0-2.992-1.442l.148 2.615.002.001zm10.876 5.97l-5.773 7.181a1.6 1.6 0 0 1-1.248.594l-9.261.003a1.6 1.6 0 0 1-1.247-.596l-5.776-7.18a1.583 1.583 0 0 1-.307-1.34L2.1 5.573c.108-.47.425-.864.863-1.073L11.305.513a1.606 1.606 0 0 1 1.385 0l8.345 3.985c.438.209.755.604.863 1.073l2.062 8.955c.108.47-.005.963-.308 1.34zm-3.289-2.057c-.042-.01-.103-.026-.145-.034-.174-.033-.315-.025-.479-.038-.35-.037-.638-.067-.895-.148-.105-.04-.18-.165-.216-.216l-.201-.059a6.45 6.45 0 0 0-.105-2.332 6.465 6.465 0 0 0-.936-2.163c.052-.047.15-.133.177-.159.008-.09.001-.183.094-.282.197-.185.444-.338.743-.522.142-.084.273-.137.415-.242.032-.024.076-.062.11-.089.24-.191.295-.52.123-.736-.172-.216-.506-.236-.745-.045-.034.027-.08.062-.111.088-.134.116-.217.23-.33.35-.246.25-.45.458-.673.609-.097.056-.239.037-.303.033l-.19.135a6.545 6.545 0 0 0-4.146-2.003l-.012-.223c-.065-.062-.143-.115-.163-.25-.022-.268.015-.557.057-.905.023-.163.061-.298.068-.475.001-.04-.001-.099-.001-.142 0-.306-.224-.555-.5-.555-.275 0-.499.249-.499.555l.001.014c0 .041-.002.092 0 .128.006.177.044.312.067.475.042.348.078.637.056.906a.545.545 0 0 1-.162.258l-.012.211a6.424 6.424 0 0 0-4.166 2.003 8.373 8.373 0 0 1-.18-.128c-.09.012-.18.04-.297-.029-.223-.15-.427-.358-.673-.608-.113-.12-.195-.234-.329-.349-.03-.026-.077-.062-.111-.088a.594.594 0 0 0-.348-.132.481.481 0 0 0-.398.176c-.172.216-.117.546.123.737l.007.005.104.083c.142.105.272.159.414.242.299.185.546.338.743.522.076.082.09.226.1.288l.16.143a6.462 6.462 0 0 0-1.02 4.506l-.208.06c-.055.072-.133.184-.215.217-.257.081-.546.11-.895.147-.164.014-.305.006-.48.039-.037.007-.09.02-.133.03l-.004.002-.007.002c-.295.071-.484.342-.423.608.061.267.349.429.645.365l.007-.001.01-.003.129-.029c.17-.046.294-.113.448-.172.33-.118.604-.217.87-.256.112-.009.23.069.288.101l.217-.037a6.5 6.5 0 0 0 2.88 3.596l-.09.218c.033.084.069.199.044.282-.097.252-.263.517-.452.813-.091.136-.185.242-.268.399-.02.037-.045.095-.064.134-.128.275-.034.591.213.71.248.12.556-.007.69-.282v-.002c.02-.039.046-.09.062-.127.07-.162.094-.301.144-.458.132-.332.205-.68.387-.897.05-.06.13-.082.215-.105l.113-.205a6.453 6.453 0 0 0 4.609.012l.106.192c.086.028.18.042.256.155.136.232.229.507.342.84.05.156.074.295.145.457.016.037.043.09.062.129.133.276.442.402.69.282.247-.118.341-.435.213-.71-.02-.039-.045-.096-.065-.134-.083-.156-.177-.261-.268-.398-.19-.296-.346-.541-.443-.793-.04-.13.007-.21.038-.294-.018-.022-.059-.144-.083-.202a6.499 6.499 0 0 0 2.88-3.622c.064.01.176.03.213.038.075-.05.144-.114.28-.104.266.039.54.138.87.256.154.06.277.128.448.173.036.01.088.019.13.028l.009.003.007.001c.297.064.584-.098.645-.365.06-.266-.128-.537-.423-.608zM16.4 9.701l-1.95 1.746v.005a.44.44 0 0 0 .173.757l.003.01 2.526.728a5.199 5.199 0 0 0-.108-1.674A5.208 5.208 0 0 0 16.4 9.7zm-4.013 5.325a.437.437 0 0 0-.404-.232.44.44 0 0 0-.372.233h-.002l-1.268 2.292a5.164 5.164 0 0 0 3.326.003l-1.27-2.296h-.01zm1.888-1.293a.44.44 0 0 0-.27.036.44.44 0 0 0-.214.572l-.003.004 1.01 2.438a5.15 5.15 0 0 0 2.081-2.615l-2.6-.44-.004.005z" })
17
+ }
18
+ );
7
19
  var plugin = createFrontendPlugin({
8
20
  pluginId: "kubernetes",
21
+ title: "Kubernetes",
22
+ icon: /* @__PURE__ */ jsx(KubernetesIcon, {}),
9
23
  info: { packageJson: () => import('../package.json.esm.js') },
10
24
  extensions: [
11
25
  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 { 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 pluginId: 'kubernetes',\n info: { packageJson: () => import('../../package.json') },\n extensions: [\n kubernetesPage,\n entityKubernetesContent,\n kubernetesApi,\n kubernetesProxyApi,\n kubernetesAuthProvidersApi,\n kubernetesClusterLinkFormatterApi,\n ],\n routes: { kubernetes: rootCatalogKubernetesRouteRef },\n});\n"],"names":["kubernetesApi"],"mappings":";;;;;;AA2BA,aAAe,oBAAA,CAAqB;AAAA,EAClC,QAAA,EAAU,YAAA;AAAA,EACV,MAAM,EAAE,WAAA,EAAa,MAAM,OAAO,wBAAoB,CAAA,EAAE;AAAA,EACxD,UAAA,EAAY;AAAA,IACV,cAAA;AAAA,IACA,uBAAA;AAAA,IACAA,sBAAA;AAAA,IACA,kBAAA;AAAA,IACA,0BAAA;AAAA,IACA;AAAA,GACF;AAAA,EACA,MAAA,EAAQ,EAAE,UAAA,EAAY,6BAAA;AACxB,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 { 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\n// Kubernetes helm wheel from Simple Icons (https://simpleicons.org/?q=kubernetes), licensed under CC0\nconst KubernetesIcon = () => (\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"currentColor\"\n width=\"1em\"\n height=\"1em\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path d=\"M10.204 14.35l.007.01-.999 2.413a5.171 5.171 0 0 1-2.075-2.597l2.578-.437.004.005a.44.44 0 0 1 .484.606zm-.833-2.129a.44.44 0 0 0 .173-.756l.002-.011L7.585 9.7a5.143 5.143 0 0 0-.73 3.255l2.514-.725.002-.009zm1.145-1.98a.44.44 0 0 0 .699-.337l.01-.005.15-2.62a5.144 5.144 0 0 0-3.01 1.442l2.147 1.523.004-.002zm.76 2.75l.723.349.722-.347.18-.78-.5-.623h-.804l-.5.623.179.779zm1.5-3.095a.44.44 0 0 0 .7.336l.008.003 2.134-1.513a5.188 5.188 0 0 0-2.992-1.442l.148 2.615.002.001zm10.876 5.97l-5.773 7.181a1.6 1.6 0 0 1-1.248.594l-9.261.003a1.6 1.6 0 0 1-1.247-.596l-5.776-7.18a1.583 1.583 0 0 1-.307-1.34L2.1 5.573c.108-.47.425-.864.863-1.073L11.305.513a1.606 1.606 0 0 1 1.385 0l8.345 3.985c.438.209.755.604.863 1.073l2.062 8.955c.108.47-.005.963-.308 1.34zm-3.289-2.057c-.042-.01-.103-.026-.145-.034-.174-.033-.315-.025-.479-.038-.35-.037-.638-.067-.895-.148-.105-.04-.18-.165-.216-.216l-.201-.059a6.45 6.45 0 0 0-.105-2.332 6.465 6.465 0 0 0-.936-2.163c.052-.047.15-.133.177-.159.008-.09.001-.183.094-.282.197-.185.444-.338.743-.522.142-.084.273-.137.415-.242.032-.024.076-.062.11-.089.24-.191.295-.52.123-.736-.172-.216-.506-.236-.745-.045-.034.027-.08.062-.111.088-.134.116-.217.23-.33.35-.246.25-.45.458-.673.609-.097.056-.239.037-.303.033l-.19.135a6.545 6.545 0 0 0-4.146-2.003l-.012-.223c-.065-.062-.143-.115-.163-.25-.022-.268.015-.557.057-.905.023-.163.061-.298.068-.475.001-.04-.001-.099-.001-.142 0-.306-.224-.555-.5-.555-.275 0-.499.249-.499.555l.001.014c0 .041-.002.092 0 .128.006.177.044.312.067.475.042.348.078.637.056.906a.545.545 0 0 1-.162.258l-.012.211a6.424 6.424 0 0 0-4.166 2.003 8.373 8.373 0 0 1-.18-.128c-.09.012-.18.04-.297-.029-.223-.15-.427-.358-.673-.608-.113-.12-.195-.234-.329-.349-.03-.026-.077-.062-.111-.088a.594.594 0 0 0-.348-.132.481.481 0 0 0-.398.176c-.172.216-.117.546.123.737l.007.005.104.083c.142.105.272.159.414.242.299.185.546.338.743.522.076.082.09.226.1.288l.16.143a6.462 6.462 0 0 0-1.02 4.506l-.208.06c-.055.072-.133.184-.215.217-.257.081-.546.11-.895.147-.164.014-.305.006-.48.039-.037.007-.09.02-.133.03l-.004.002-.007.002c-.295.071-.484.342-.423.608.061.267.349.429.645.365l.007-.001.01-.003.129-.029c.17-.046.294-.113.448-.172.33-.118.604-.217.87-.256.112-.009.23.069.288.101l.217-.037a6.5 6.5 0 0 0 2.88 3.596l-.09.218c.033.084.069.199.044.282-.097.252-.263.517-.452.813-.091.136-.185.242-.268.399-.02.037-.045.095-.064.134-.128.275-.034.591.213.71.248.12.556-.007.69-.282v-.002c.02-.039.046-.09.062-.127.07-.162.094-.301.144-.458.132-.332.205-.68.387-.897.05-.06.13-.082.215-.105l.113-.205a6.453 6.453 0 0 0 4.609.012l.106.192c.086.028.18.042.256.155.136.232.229.507.342.84.05.156.074.295.145.457.016.037.043.09.062.129.133.276.442.402.69.282.247-.118.341-.435.213-.71-.02-.039-.045-.096-.065-.134-.083-.156-.177-.261-.268-.398-.19-.296-.346-.541-.443-.793-.04-.13.007-.21.038-.294-.018-.022-.059-.144-.083-.202a6.499 6.499 0 0 0 2.88-3.622c.064.01.176.03.213.038.075-.05.144-.114.28-.104.266.039.54.138.87.256.154.06.277.128.448.173.036.01.088.019.13.028l.009.003.007.001c.297.064.584-.098.645-.365.06-.266-.128-.537-.423-.608zM16.4 9.701l-1.95 1.746v.005a.44.44 0 0 0 .173.757l.003.01 2.526.728a5.199 5.199 0 0 0-.108-1.674A5.208 5.208 0 0 0 16.4 9.7zm-4.013 5.325a.437.437 0 0 0-.404-.232.44.44 0 0 0-.372.233h-.002l-1.268 2.292a5.164 5.164 0 0 0 3.326.003l-1.27-2.296h-.01zm1.888-1.293a.44.44 0 0 0-.27.036.44.44 0 0 0-.214.572l-.003.004 1.01 2.438a5.15 5.15 0 0 0 2.081-2.615l-2.6-.44-.004.005z\" />\n </svg>\n);\n\nexport default createFrontendPlugin({\n pluginId: 'kubernetes',\n title: 'Kubernetes',\n icon: <KubernetesIcon />,\n info: { packageJson: () => import('../../package.json') },\n extensions: [\n kubernetesPage,\n entityKubernetesContent,\n kubernetesApi,\n kubernetesProxyApi,\n kubernetesAuthProvidersApi,\n kubernetesClusterLinkFormatterApi,\n ],\n routes: { kubernetes: rootCatalogKubernetesRouteRef },\n});\n"],"names":["kubernetesApi"],"mappings":";;;;;;;AA4BA,MAAM,iBAAiB,sBACrB,GAAA;AAAA,EAAC,KAAA;AAAA,EAAA;AAAA,IACC,OAAA,EAAQ,WAAA;AAAA,IACR,IAAA,EAAK,cAAA;AAAA,IACL,KAAA,EAAM,KAAA;AAAA,IACN,MAAA,EAAO,KAAA;AAAA,IACP,KAAA,EAAM,4BAAA;AAAA,IAEN,QAAA,kBAAA,GAAA,CAAC,MAAA,EAAA,EAAK,CAAA,EAAE,63GAAA,EAA83G;AAAA;AACx4G,CAAA;AAGF,aAAe,oBAAA,CAAqB;AAAA,EAClC,QAAA,EAAU,YAAA;AAAA,EACV,KAAA,EAAO,YAAA;AAAA,EACP,IAAA,sBAAO,cAAA,EAAA,EAAe,CAAA;AAAA,EACtB,MAAM,EAAE,WAAA,EAAa,MAAM,OAAO,wBAAoB,CAAA,EAAE;AAAA,EACxD,UAAA,EAAY;AAAA,IACV,cAAA;AAAA,IACA,uBAAA;AAAA,IACAA,sBAAA;AAAA,IACA,kBAAA;AAAA,IACA,0BAAA;AAAA,IACA;AAAA,GACF;AAAA,EACA,MAAA,EAAQ,EAAE,UAAA,EAAY,6BAAA;AACxB,CAAC,CAAA;;;;"}
@@ -1,5 +1,5 @@
1
1
  var name = "@backstage/plugin-kubernetes";
2
- var version = "0.12.18-next.0";
2
+ var version = "0.12.18-next.2";
3
3
  var description = "A Backstage plugin that integrates towards Kubernetes";
4
4
  var backstage = {
5
5
  role: "frontend-plugin",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-kubernetes",
3
- "version": "0.12.18-next.0",
3
+ "version": "0.12.18-next.2",
4
4
  "description": "A Backstage plugin that integrates towards Kubernetes",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -70,20 +70,20 @@
70
70
  "test": "backstage-cli package test"
71
71
  },
72
72
  "dependencies": {
73
- "@backstage/catalog-model": "1.7.7",
74
- "@backstage/core-components": "0.18.9-next.0",
75
- "@backstage/core-plugin-api": "1.12.5-next.0",
76
- "@backstage/frontend-plugin-api": "0.15.2-next.0",
77
- "@backstage/plugin-catalog-react": "2.1.1-next.0",
78
- "@backstage/plugin-kubernetes-common": "0.9.10",
79
- "@backstage/plugin-kubernetes-react": "0.5.18-next.0",
80
- "@backstage/plugin-permission-react": "0.4.42-next.0",
73
+ "@backstage/catalog-model": "1.7.8-next.0",
74
+ "@backstage/core-components": "0.18.9-next.1",
75
+ "@backstage/core-plugin-api": "1.12.5-next.2",
76
+ "@backstage/frontend-plugin-api": "0.16.0-next.2",
77
+ "@backstage/plugin-catalog-react": "2.1.2-next.2",
78
+ "@backstage/plugin-kubernetes-common": "0.9.11-next.0",
79
+ "@backstage/plugin-kubernetes-react": "0.5.18-next.1",
80
+ "@backstage/plugin-permission-react": "0.4.42-next.1",
81
81
  "@material-ui/core": "^4.12.2"
82
82
  },
83
83
  "devDependencies": {
84
- "@backstage/cli": "0.36.1-next.0",
85
- "@backstage/dev-utils": "1.1.22-next.0",
86
- "@backstage/test-utils": "1.7.17-next.0",
84
+ "@backstage/cli": "0.36.1-next.2",
85
+ "@backstage/dev-utils": "1.1.22-next.2",
86
+ "@backstage/test-utils": "1.7.17-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",