Skip to content

Commit

Permalink
chore: upgrade eslint to v9.14.0 as max version. Higher version fails…
Browse files Browse the repository at this point in the history
… with "misterious" linter error.

chore: upgrade react to max v18.3.1. Higher version v19 causes lot of errors.
chore: upgrade next to v15.1.3
chore: upgrade d3 and other minor libs
chore: upgrade typescript to latest version
chore: upgrade tailwind and devDependencies
  • Loading branch information
dmijatovic committed Jan 7, 2025
1 parent a9bb6fd commit 9bd7f96
Show file tree
Hide file tree
Showing 7 changed files with 2,268 additions and 3,728 deletions.
8 changes: 4 additions & 4 deletions frontend/components/software/AboutPackageManagers.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-FileCopyrightText: 2022 Dusan Mijatovic (dv4all)
// SPDX-FileCopyrightText: 2022 dv4all
// SPDX-FileCopyrightText: 2023 - 2024 Dusan Mijatovic (Netherlands eScience Center)
// SPDX-FileCopyrightText: 2023 - 2024 Netherlands eScience Center
// SPDX-FileCopyrightText: 2023 - 2025 Dusan Mijatovic (Netherlands eScience Center)
// SPDX-FileCopyrightText: 2023 - 2025 Netherlands eScience Center
//
// SPDX-License-Identifier: Apache-2.0

Expand All @@ -13,7 +13,7 @@ type AboutPackageManagersProps={
packages: PackageManager[]
}

function PackageManager({item}:{item:PackageManager}){
function PackageManagerItem({item}:{item:PackageManager}){
// get package manager only when url provided
if (item.url){
const info = packageManagerSettings[item.package_manager ?? 'other']
Expand Down Expand Up @@ -52,7 +52,7 @@ export default function AboutPackageManagers({packages}:AboutPackageManagersProp
<span className="text-primary pl-2">Packages</span>
</div>
<div className="flex gap-4 flex-wrap">
{packages.map(item=><PackageManager key={item.id} item={item} />)}
{packages.map(item=><PackageManagerItem key={item.id} item={item} />)}
</div>
</>
)
Expand Down
2 changes: 1 addition & 1 deletion frontend/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
3 changes: 2 additions & 1 deletion frontend/next-env.d.ts.license
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
SPDX-FileCopyrightText: 2022 - 2025 Netherlands eScience Center
SPDX-FileCopyrightText: 2022 Dusan Mijatovic (dv4all)
SPDX-FileCopyrightText: 2022 Jesús García Gonzalez (Netherlands eScience Center) <j.g.gonzalez@esciencecenter.nl>
SPDX-FileCopyrightText: 2022 Netherlands eScience Center
SPDX-FileCopyrightText: 2022 dv4all
SPDX-FileCopyrightText: 2025 Dusan Mijatovic (Netherlands eScience Center)

SPDX-License-Identifier: Apache-2.0
SPDX-License-Identifier: CC-BY-4.0
Loading

0 comments on commit 9bd7f96

Please sign in to comment.