@backstage/plugin-kubernetes-cluster 0.0.21 → 0.0.22-next.1
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 +26 -0
- package/dist/components/ClusterOverview/ClusterOverview.esm.js +2 -1
- package/dist/components/ClusterOverview/ClusterOverview.esm.js.map +1 -1
- package/dist/components/Nodes/Nodes.esm.js +11 -3
- package/dist/components/Nodes/Nodes.esm.js.map +1 -1
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @backstage/plugin-kubernetes-cluster
|
|
2
2
|
|
|
3
|
+
## 0.0.22-next.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d80b08f: Improved rendering of Kubernetes resources' metadata.
|
|
8
|
+
- 58ec9e7: Removed older versions of React packages as a preparatory step for upgrading to React 19. This commit does not introduce any functional changes, but removes dependencies on previous React versions, allowing for a cleaner upgrade path in subsequent commits.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
- @backstage/plugin-kubernetes-react@0.5.4-next.1
|
|
11
|
+
- @backstage/core-components@0.16.4-next.0
|
|
12
|
+
- @backstage/core-plugin-api@1.10.4-next.0
|
|
13
|
+
- @backstage/plugin-catalog-react@1.15.2-next.1
|
|
14
|
+
- @backstage/catalog-model@1.7.3
|
|
15
|
+
- @backstage/plugin-kubernetes-common@0.9.3-next.0
|
|
16
|
+
|
|
17
|
+
## 0.0.22-next.0
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
- @backstage/plugin-kubernetes-react@0.5.4-next.0
|
|
23
|
+
- @backstage/plugin-kubernetes-common@0.9.3-next.0
|
|
24
|
+
- @backstage/catalog-model@1.7.3
|
|
25
|
+
- @backstage/core-components@0.16.3
|
|
26
|
+
- @backstage/core-plugin-api@1.10.3
|
|
27
|
+
- @backstage/plugin-catalog-react@1.15.2-next.0
|
|
28
|
+
|
|
3
29
|
## 0.0.21
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -34,7 +34,8 @@ const ClusterOverview = () => {
|
|
|
34
34
|
"Backstage auth provider": value.authProvider,
|
|
35
35
|
"OIDC Token Provider": value.oidcTokenProvider ?? "N/A",
|
|
36
36
|
"Dashboard Link": value.dashboardUrl ?? "N/A"
|
|
37
|
-
}
|
|
37
|
+
},
|
|
38
|
+
options: { nestedValuesAsYaml: true }
|
|
38
39
|
}
|
|
39
40
|
));
|
|
40
41
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClusterOverview.esm.js","sources":["../../../src/components/ClusterOverview/ClusterOverview.tsx"],"sourcesContent":["/*\n * Copyright 2023 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 */\nimport React, { useCallback, useEffect } from 'react';\nimport { InfoCard, StructuredMetadataTable } from '@backstage/core-components';\nimport { useEntity } from '@backstage/plugin-catalog-react';\nimport { useCluster } from './useCluster';\nimport Skeleton from '@material-ui/lab/Skeleton';\nimport { Theme, createStyles, makeStyles } from '@material-ui/core/styles';\nimport { useKubernetesClusterError } from '../KubernetesClusterErrorContext/KubernetesClusterErrorContext';\n\nconst useStyles = makeStyles((_theme: Theme) =>\n createStyles({\n root: {\n height: '100%',\n },\n }),\n);\n\nexport const ClusterOverview = () => {\n const classes = useStyles();\n const { entity } = useEntity();\n const { value, loading, error } = useCluster({\n clusterName: entity.metadata.name,\n });\n const { setError } = useKubernetesClusterError();\n const setErrorCallback = useCallback(setError, [setError]);\n useEffect(() => {\n if (error) {\n setErrorCallback(error.message);\n }\n }, [error, setErrorCallback]);\n\n return (\n <InfoCard title=\"Cluster Overview\" className={classes.root}>\n {!value && loading && (\n <>\n <Skeleton height=\"35rem\" />\n </>\n )}\n {value && (\n <StructuredMetadataTable\n metadata={{\n name: value.name,\n 'Backstage auth provider': value.authProvider,\n 'OIDC Token Provider': value.oidcTokenProvider ?? 'N/A',\n 'Dashboard Link': value.dashboardUrl ?? 'N/A',\n }}\n />\n )}\n </InfoCard>\n );\n};\n"],"names":[],"mappings":";;;;;;;;AAuBA,MAAM,SAAY,GAAA,UAAA;AAAA,EAAW,CAAC,WAC5B,YAAa,CAAA;AAAA,IACX,IAAM,EAAA;AAAA,MACJ,MAAQ,EAAA;AAAA;AACV,GACD;AACH,CAAA;AAEO,MAAM,kBAAkB,MAAM;AACnC,EAAA,MAAM,UAAU,SAAU,EAAA;AAC1B,EAAM,MAAA,EAAE,MAAO,EAAA,GAAI,SAAU,EAAA;AAC7B,EAAA,MAAM,EAAE,KAAA,EAAO,OAAS,EAAA,KAAA,KAAU,UAAW,CAAA;AAAA,IAC3C,WAAA,EAAa,OAAO,QAAS,CAAA;AAAA,GAC9B,CAAA;AACD,EAAM,MAAA,EAAE,QAAS,EAAA,GAAI,yBAA0B,EAAA;AAC/C,EAAA,MAAM,gBAAmB,GAAA,WAAA,CAAY,QAAU,EAAA,CAAC,QAAQ,CAAC,CAAA;AACzD,EAAA,SAAA,CAAU,MAAM;AACd,IAAA,IAAI,KAAO,EAAA;AACT,MAAA,gBAAA,CAAiB,MAAM,OAAO,CAAA;AAAA;AAChC,GACC,EAAA,CAAC,KAAO,EAAA,gBAAgB,CAAC,CAAA;AAE5B,EAAA,2CACG,QAAS,EAAA,EAAA,KAAA,EAAM,kBAAmB,EAAA,SAAA,EAAW,QAAQ,IACnD,EAAA,EAAA,CAAC,KAAS,IAAA,OAAA,8EAEN,KAAA,CAAA,aAAA,CAAA,QAAA,EAAA,EAAS,QAAO,OAAQ,EAAA,CAC3B,GAED,KACC,oBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,uBAAA;AAAA,IAAA;AAAA,MACC,QAAU,EAAA;AAAA,QACR,MAAM,KAAM,CAAA,IAAA;AAAA,QACZ,2BAA2B,KAAM,CAAA,YAAA;AAAA,QACjC,qBAAA,EAAuB,MAAM,iBAAqB,IAAA,KAAA;AAAA,QAClD,gBAAA,EAAkB,MAAM,YAAgB,IAAA;AAAA;
|
|
1
|
+
{"version":3,"file":"ClusterOverview.esm.js","sources":["../../../src/components/ClusterOverview/ClusterOverview.tsx"],"sourcesContent":["/*\n * Copyright 2023 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 */\nimport React, { useCallback, useEffect } from 'react';\nimport { InfoCard, StructuredMetadataTable } from '@backstage/core-components';\nimport { useEntity } from '@backstage/plugin-catalog-react';\nimport { useCluster } from './useCluster';\nimport Skeleton from '@material-ui/lab/Skeleton';\nimport { Theme, createStyles, makeStyles } from '@material-ui/core/styles';\nimport { useKubernetesClusterError } from '../KubernetesClusterErrorContext/KubernetesClusterErrorContext';\n\nconst useStyles = makeStyles((_theme: Theme) =>\n createStyles({\n root: {\n height: '100%',\n },\n }),\n);\n\nexport const ClusterOverview = () => {\n const classes = useStyles();\n const { entity } = useEntity();\n const { value, loading, error } = useCluster({\n clusterName: entity.metadata.name,\n });\n const { setError } = useKubernetesClusterError();\n const setErrorCallback = useCallback(setError, [setError]);\n useEffect(() => {\n if (error) {\n setErrorCallback(error.message);\n }\n }, [error, setErrorCallback]);\n\n return (\n <InfoCard title=\"Cluster Overview\" className={classes.root}>\n {!value && loading && (\n <>\n <Skeleton height=\"35rem\" />\n </>\n )}\n {value && (\n <StructuredMetadataTable\n metadata={{\n name: value.name,\n 'Backstage auth provider': value.authProvider,\n 'OIDC Token Provider': value.oidcTokenProvider ?? 'N/A',\n 'Dashboard Link': value.dashboardUrl ?? 'N/A',\n }}\n options={{ nestedValuesAsYaml: true }}\n />\n )}\n </InfoCard>\n );\n};\n"],"names":[],"mappings":";;;;;;;;AAuBA,MAAM,SAAY,GAAA,UAAA;AAAA,EAAW,CAAC,WAC5B,YAAa,CAAA;AAAA,IACX,IAAM,EAAA;AAAA,MACJ,MAAQ,EAAA;AAAA;AACV,GACD;AACH,CAAA;AAEO,MAAM,kBAAkB,MAAM;AACnC,EAAA,MAAM,UAAU,SAAU,EAAA;AAC1B,EAAM,MAAA,EAAE,MAAO,EAAA,GAAI,SAAU,EAAA;AAC7B,EAAA,MAAM,EAAE,KAAA,EAAO,OAAS,EAAA,KAAA,KAAU,UAAW,CAAA;AAAA,IAC3C,WAAA,EAAa,OAAO,QAAS,CAAA;AAAA,GAC9B,CAAA;AACD,EAAM,MAAA,EAAE,QAAS,EAAA,GAAI,yBAA0B,EAAA;AAC/C,EAAA,MAAM,gBAAmB,GAAA,WAAA,CAAY,QAAU,EAAA,CAAC,QAAQ,CAAC,CAAA;AACzD,EAAA,SAAA,CAAU,MAAM;AACd,IAAA,IAAI,KAAO,EAAA;AACT,MAAA,gBAAA,CAAiB,MAAM,OAAO,CAAA;AAAA;AAChC,GACC,EAAA,CAAC,KAAO,EAAA,gBAAgB,CAAC,CAAA;AAE5B,EAAA,2CACG,QAAS,EAAA,EAAA,KAAA,EAAM,kBAAmB,EAAA,SAAA,EAAW,QAAQ,IACnD,EAAA,EAAA,CAAC,KAAS,IAAA,OAAA,8EAEN,KAAA,CAAA,aAAA,CAAA,QAAA,EAAA,EAAS,QAAO,OAAQ,EAAA,CAC3B,GAED,KACC,oBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,uBAAA;AAAA,IAAA;AAAA,MACC,QAAU,EAAA;AAAA,QACR,MAAM,KAAM,CAAA,IAAA;AAAA,QACZ,2BAA2B,KAAM,CAAA,YAAA;AAAA,QACjC,qBAAA,EAAuB,MAAM,iBAAqB,IAAA,KAAA;AAAA,QAClD,gBAAA,EAAkB,MAAM,YAAgB,IAAA;AAAA,OAC1C;AAAA,MACA,OAAA,EAAS,EAAE,kBAAA,EAAoB,IAAK;AAAA;AAAA,GAG1C,CAAA;AAEJ;;;;"}
|
|
@@ -27,13 +27,20 @@ const defaultColumns = [
|
|
|
27
27
|
kubernetesObject: node,
|
|
28
28
|
label: node.metadata?.name ?? "unknown-node"
|
|
29
29
|
},
|
|
30
|
-
/* @__PURE__ */ React.createElement(Grid, { container: true }, /* @__PURE__ */ React.createElement(Grid, { item: true, xs: 12 }, /* @__PURE__ */ React.createElement(Typography, { variant: "h5" }, "Node Info"), /* @__PURE__ */ React.createElement(
|
|
30
|
+
/* @__PURE__ */ React.createElement(Grid, { container: true }, /* @__PURE__ */ React.createElement(Grid, { item: true, xs: 12 }, /* @__PURE__ */ React.createElement(Typography, { variant: "h5" }, "Node Info"), /* @__PURE__ */ React.createElement(
|
|
31
|
+
StructuredMetadataTable,
|
|
32
|
+
{
|
|
33
|
+
metadata: node.status?.nodeInfo ?? {},
|
|
34
|
+
options: { nestedValuesAsYaml: true }
|
|
35
|
+
}
|
|
36
|
+
)), /* @__PURE__ */ React.createElement(Grid, { item: true, xs: 12 }, /* @__PURE__ */ React.createElement(Typography, { variant: "h5" }, "Addresses"), /* @__PURE__ */ React.createElement(
|
|
31
37
|
StructuredMetadataTable,
|
|
32
38
|
{
|
|
33
39
|
metadata: node.status?.addresses?.reduce((accum, next) => {
|
|
34
40
|
accum[next.type] = next.address;
|
|
35
41
|
return accum;
|
|
36
|
-
}, {}) ?? {}
|
|
42
|
+
}, {}) ?? {},
|
|
43
|
+
options: { nestedValuesAsYaml: true }
|
|
37
44
|
}
|
|
38
45
|
)), /* @__PURE__ */ React.createElement(Grid, { item: true, xs: 12 }, /* @__PURE__ */ React.createElement(Typography, { variant: "h5" }, "Taints"), /* @__PURE__ */ React.createElement(
|
|
39
46
|
StructuredMetadataTable,
|
|
@@ -41,7 +48,8 @@ const defaultColumns = [
|
|
|
41
48
|
metadata: node.spec?.taints?.reduce((accum, next) => {
|
|
42
49
|
accum[`${next.effect}`] = `${next.key} (${next.value})`;
|
|
43
50
|
return accum;
|
|
44
|
-
}, {}) ?? {}
|
|
51
|
+
}, {}) ?? {},
|
|
52
|
+
options: { nestedValuesAsYaml: true }
|
|
45
53
|
}
|
|
46
54
|
)))
|
|
47
55
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Nodes.esm.js","sources":["../../../src/components/Nodes/Nodes.tsx"],"sourcesContent":["/*\n * Copyright 2023 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 */\nimport { useNodes } from './useNodes';\nimport React, { useCallback, useEffect } from 'react';\nimport { useEntity } from '@backstage/plugin-catalog-react';\nimport {\n StructuredMetadataTable,\n Table,\n TableColumn,\n} from '@backstage/core-components';\nimport { INode } from 'kubernetes-models/v1';\nimport Grid from '@material-ui/core/Grid';\nimport Typography from '@material-ui/core/Typography';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { useKubernetesClusterError } from '../KubernetesClusterErrorContext/KubernetesClusterErrorContext';\nimport { KubernetesDrawer } from '@backstage/plugin-kubernetes-react';\n\nconst useStyles = makeStyles(theme => ({\n empty: {\n padding: theme.spacing(2),\n display: 'flex',\n justifyContent: 'center',\n },\n}));\n\nconst defaultColumns: TableColumn<INode>[] = [\n {\n title: 'Name',\n highlight: true,\n width: 'auto',\n render: (node: INode) => {\n return (\n <KubernetesDrawer\n kubernetesObject={node}\n label={node.metadata?.name ?? 'unknown-node'}\n >\n <Grid container>\n <Grid item xs={12}>\n <Typography variant=\"h5\">Node Info</Typography>\n <StructuredMetadataTable
|
|
1
|
+
{"version":3,"file":"Nodes.esm.js","sources":["../../../src/components/Nodes/Nodes.tsx"],"sourcesContent":["/*\n * Copyright 2023 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 */\nimport { useNodes } from './useNodes';\nimport React, { useCallback, useEffect } from 'react';\nimport { useEntity } from '@backstage/plugin-catalog-react';\nimport {\n StructuredMetadataTable,\n Table,\n TableColumn,\n} from '@backstage/core-components';\nimport { INode } from 'kubernetes-models/v1';\nimport Grid from '@material-ui/core/Grid';\nimport Typography from '@material-ui/core/Typography';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { useKubernetesClusterError } from '../KubernetesClusterErrorContext/KubernetesClusterErrorContext';\nimport { KubernetesDrawer } from '@backstage/plugin-kubernetes-react';\n\nconst useStyles = makeStyles(theme => ({\n empty: {\n padding: theme.spacing(2),\n display: 'flex',\n justifyContent: 'center',\n },\n}));\n\nconst defaultColumns: TableColumn<INode>[] = [\n {\n title: 'Name',\n highlight: true,\n width: 'auto',\n render: (node: INode) => {\n return (\n <KubernetesDrawer\n kubernetesObject={node}\n label={node.metadata?.name ?? 'unknown-node'}\n >\n <Grid container>\n <Grid item xs={12}>\n <Typography variant=\"h5\">Node Info</Typography>\n <StructuredMetadataTable\n metadata={node.status?.nodeInfo ?? {}}\n options={{ nestedValuesAsYaml: true }}\n />\n </Grid>\n <Grid item xs={12}>\n <Typography variant=\"h5\">Addresses</Typography>\n <StructuredMetadataTable\n metadata={\n node.status?.addresses?.reduce((accum, next) => {\n accum[next.type] = next.address;\n return accum;\n }, {} as any) ?? {}\n }\n options={{ nestedValuesAsYaml: true }}\n />\n </Grid>\n <Grid item xs={12}>\n <Typography variant=\"h5\">Taints</Typography>\n <StructuredMetadataTable\n metadata={\n node.spec?.taints?.reduce((accum, next) => {\n accum[`${next.effect}`] = `${next.key} (${next.value})`;\n return accum;\n }, {} as any) ?? {}\n }\n options={{ nestedValuesAsYaml: true }}\n />\n </Grid>\n </Grid>\n </KubernetesDrawer>\n );\n },\n },\n {\n title: 'Schedulable',\n align: 'center',\n width: 'auto',\n render: (node: INode) => {\n if (node.spec?.unschedulable) {\n return '❌';\n }\n return '✅';\n },\n },\n {\n title: 'Status',\n width: 'auto',\n render: (node: INode) => {\n // TODO add an icon\n const readyCondition = node.status?.conditions?.find(c => {\n return c.type === 'Ready';\n });\n if (!readyCondition) {\n return 'Unknown';\n }\n return readyCondition.status === 'True' ? 'Ready' : 'Not Ready';\n },\n },\n {\n title: 'OS',\n width: 'auto',\n render: (node: INode) => {\n return `${node.status?.nodeInfo?.operatingSystem ?? 'unknown'} (${\n node.status?.nodeInfo?.architecture ?? '?'\n })`;\n },\n },\n];\n\nexport const Nodes = () => {\n const classes = useStyles();\n const { entity } = useEntity();\n const { value, error, loading } = useNodes({\n clusterName: entity.metadata.name,\n });\n const { setError } = useKubernetesClusterError();\n const setErrorCallback = useCallback(setError, [setError]);\n useEffect(() => {\n if (error) {\n setErrorCallback(error.message);\n }\n }, [error, setErrorCallback]);\n\n return (\n <Table\n title=\"Nodes\"\n options={{ paging: true, search: false, emptyRowsWhenPaging: false }}\n isLoading={!value && loading}\n data={value?.items ?? []}\n emptyContent={\n <div className={classes.empty}>\n {error !== undefined ? 'Error loading nodes' : 'No nodes found'}\n </div>\n }\n columns={defaultColumns}\n />\n );\n};\n"],"names":[],"mappings":";;;;;;;;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AAA,CAAC,KAAO,EAAA,gBAAgB,CAAC,CAAA;AAE5B,EACE,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,KAAA;AAAA,IAAA;AAAA,MACC,KAAM,EAAA,OAAA;AAAA,MACN,SAAS,EAAE,MAAA,EAAQ,MAAM,MAAQ,EAAA,KAAA,EAAO,qBAAqB,KAAM,EAAA;AAAA,MACnE,SAAA,EAAW,CAAC,KAAS,IAAA,OAAA;AAAA,MACrB,IAAA,EAAM,KAAO,EAAA,KAAA,IAAS,EAAC;AAAA,MACvB,YAAA,sCACG,KAAI,EAAA,EAAA,SAAA,EAAW,QAAQ,KACrB,EAAA,EAAA,KAAA,KAAU,KAAY,CAAA,GAAA,qBAAA,GAAwB,gBACjD,CAAA;AAAA,MAEF,OAAS,EAAA;AAAA;AAAA,GACX;AAEJ;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-kubernetes-cluster",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.22-next.1",
|
|
4
4
|
"description": "A Backstage plugin that shows details of Kubernetes clusters",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "frontend-plugin",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"test": "backstage-cli package test"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@backstage/catalog-model": "
|
|
45
|
-
"@backstage/core-components": "
|
|
46
|
-
"@backstage/core-plugin-api": "
|
|
47
|
-
"@backstage/plugin-catalog-react": "
|
|
48
|
-
"@backstage/plugin-kubernetes-common": "
|
|
49
|
-
"@backstage/plugin-kubernetes-react": "
|
|
44
|
+
"@backstage/catalog-model": "1.7.3",
|
|
45
|
+
"@backstage/core-components": "0.16.4-next.0",
|
|
46
|
+
"@backstage/core-plugin-api": "1.10.4-next.0",
|
|
47
|
+
"@backstage/plugin-catalog-react": "1.15.2-next.1",
|
|
48
|
+
"@backstage/plugin-kubernetes-common": "0.9.3-next.0",
|
|
49
|
+
"@backstage/plugin-kubernetes-react": "0.5.4-next.1",
|
|
50
50
|
"@kubernetes-models/apimachinery": "^2.0.0",
|
|
51
51
|
"@kubernetes-models/base": "^5.0.0",
|
|
52
52
|
"@material-ui/core": "^4.12.2",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"react-use": "^17.2.4"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@backstage/cli": "
|
|
63
|
-
"@backstage/test-utils": "
|
|
62
|
+
"@backstage/cli": "0.30.0-next.1",
|
|
63
|
+
"@backstage/test-utils": "1.7.5-next.0",
|
|
64
64
|
"@testing-library/dom": "^10.0.0",
|
|
65
65
|
"@testing-library/jest-dom": "^6.0.0",
|
|
66
66
|
"@testing-library/react": "^16.0.0",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"react-router-dom": "^6.3.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@types/react": "^
|
|
75
|
-
"react": "^
|
|
76
|
-
"react-dom": "^
|
|
77
|
-
"react-router-dom": "
|
|
74
|
+
"@types/react": "^17.0.0 || ^18.0.0",
|
|
75
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
76
|
+
"react-dom": "^17.0.0 || ^18.0.0",
|
|
77
|
+
"react-router-dom": "^6.3.0"
|
|
78
78
|
},
|
|
79
79
|
"peerDependenciesMeta": {
|
|
80
80
|
"@types/react": {
|