Bumped vite, eslint, typescript, prettier and related plugins versions to latest (#623)

* Bumped vite, eslint, typescript, prettier and related plugins

* Fixed unused arg

* Fixed prettier warnings
This commit is contained in:
yuri-sakharov
2025-11-22 08:31:28 +02:00
committed by GitHub
parent 40161aee12
commit 210a371d06
32 changed files with 3837 additions and 3287 deletions

View File

@@ -11,10 +11,9 @@ const HealthStatus = ({ statusData }: Props) => {
return item.status?.conditions
?.filter((cond) => cond.type === HD_RESOURCE_CONDITION_TYPE)
.map((cond) => {
const stableKey =
item.metadata?.uid
? `${item.metadata.uid}-${item.metadata.namespace ?? "default"}`
: `${item.kind}-${item.metadata?.namespace ?? "default"}-${item.metadata?.name}`;
const stableKey = item.metadata?.uid
? `${item.metadata.uid}-${item.metadata.namespace ?? "default"}`
: `${item.kind}-${item.metadata?.namespace ?? "default"}-${item.metadata?.name}`;
return (
<Tooltip
@@ -26,20 +25,20 @@ const HealthStatus = ({ statusData }: Props) => {
cond.status === "Healthy"
? "bg-success"
: cond.status === "Progressing"
? "bg-warning"
: "bg-danger"
? "bg-warning"
: "bg-danger"
} w-2.5 h-2.5 rounded-sm`}
></span>
</Tooltip>
);
});
});
if (statuses.length === 0) {
return <div>No health statuses available</div>;
}
return <div className="flex flex-wrap gap-1">{statuses}</div>;
};
export default HealthStatus;
export default HealthStatus;

View File

@@ -1,4 +1,4 @@
import { Meta } from "@storybook/react";
import { Meta } from "@storybook/react-vite";
import InstalledPackageCard from "./InstalledPackageCard";
const meta = {

View File

@@ -1,4 +1,4 @@
import { Meta } from "@storybook/react";
import { Meta } from "@storybook/react-vite";
import InstalledPackagesHeader from "./InstalledPackagesHeader";
const meta = {

View File

@@ -1,4 +1,4 @@
import { Meta } from "@storybook/react";
import { Meta } from "@storybook/react-vite";
import InstalledPackagesList from "./InstalledPackagesList";
const meta = {