Skip to content

Commit 28dd7d7

Browse files
committed
Upgrade project
1 parent a3dcea9 commit 28dd7d7

File tree

7 files changed

+484
-622
lines changed

7 files changed

+484
-622
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ jobs:
88
check:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
12-
- uses: actions/setup-node@v4
11+
- uses: actions/checkout@v5
12+
- uses: actions/setup-node@v6
1313
with:
1414
node-version: lts/*
1515
- uses: pnpm/action-setup@v4
@@ -44,7 +44,7 @@ jobs:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
CONTAINER_NAME: visualization
4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v5
4848
- name: Login into registry
4949
run: echo $GITHUB_TOKEN | docker login ghcr.io -u $USERNAME --password-stdin
5050
- name: Build Docker image

eslint.config.mjs

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,26 @@
1-
import { dirname } from "path";
2-
import { fileURLToPath } from "url";
3-
import { FlatCompat } from "@eslint/eslintrc";
4-
import reactCompiler from "eslint-plugin-react-compiler";
1+
import { defineConfig, globalIgnores } from "eslint/config";
2+
import nextVitals from "eslint-config-next/core-web-vitals";
3+
import nextTs from "eslint-config-next/typescript";
4+
import prettier from "eslint-config-prettier/flat";
55

6-
const __filename = fileURLToPath(import.meta.url);
7-
const __dirname = dirname(__filename);
8-
9-
const compat = new FlatCompat({
10-
baseDirectory: __dirname,
11-
});
12-
13-
const eslintConfig = [
14-
...compat.extends("next/core-web-vitals", "next/typescript", "prettier"),
15-
reactCompiler.configs.recommended,
16-
{
17-
ignores: [
18-
"node_modules/**",
19-
".next/**",
20-
"out/**",
21-
"build/**",
22-
"next-env.d.ts",
23-
],
24-
},
6+
const eslintConfig = defineConfig([
7+
...nextVitals,
8+
...nextTs,
9+
prettier,
10+
// Override default ignores of eslint-config-next.
11+
globalIgnores([
12+
// Default ignores of eslint-config-next:
13+
".next/**",
14+
"out/**",
15+
"build/**",
16+
"next-env.d.ts",
17+
]),
2518
{
2619
rules: {
20+
"react-hooks/refs": "off",
2721
"@typescript-eslint/no-explicit-any": "off",
2822
},
2923
},
30-
];
24+
]);
3125

3226
export default eslintConfig;

next.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ const nextConfig: NextConfig = {
88
},
99
output: "standalone",
1010
compress: false,
11-
experimental: {
12-
reactCompiler: true,
13-
},
11+
reactCompiler: true,
1412
async redirects() {
1513
return [
1614
{

package.json

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "visualization",
33
"version": "1.0.0",
44
"private": true,
5-
"packageManager": "pnpm@10.18.2+sha512.9fb969fa749b3ade6035e0f109f0b8a60b5d08a1a87fdf72e337da90dcc93336e2280ca4e44f2358a649b83c17959e9993e777c2080879f3801e6f0d999ad3dd",
5+
"packageManager": "pnpm@10.19.1-oidc-test.3+sha512.e5961a4b56bb37620f97b65da4ca56216634bf39ed358eda925f0f036534d458fa249d93ed0021410523f8bb7ed8512b61fe5532ed3e81777793366c6be026b5",
66
"scripts": {
7-
"dev": "next dev --turbopack",
8-
"build": "next build --turbopack",
7+
"dev": "next dev",
8+
"build": "next build",
99
"start": "next start",
1010
"lint": "eslint"
1111
},
@@ -14,38 +14,30 @@
1414
"@popperjs/core": "2.11.8",
1515
"@react-spring/parallax": "10.0.3",
1616
"@react-spring/web": "10.0.3",
17-
"@tailwindcss/postcss": "4.1.14",
17+
"@tailwindcss/postcss": "4.1.16",
1818
"@tailwindcss/typography": "0.5.19",
1919
"@types/d3": "7.4.3",
2020
"@types/lodash-es": "4.17.12",
21-
"@types/node": "24.7.2",
21+
"@types/node": "24.9.1",
2222
"@types/react": "19.2.2",
23-
"@types/react-dom": "19.2.1",
23+
"@types/react-dom": "19.2.2",
2424
"babel-plugin-react-compiler": "1.0.0",
2525
"csv-parse": "6.1.0",
2626
"d3": "7.9.0",
2727
"dayjs": "1.11.18",
28-
"eslint": "9.37.0",
29-
"eslint-config-next": "15.5.4",
28+
"eslint": "9.38.0",
29+
"eslint-config-next": "16.0.0",
3030
"eslint-config-prettier": "10.1.8",
31-
"eslint-plugin-react-compiler": "19.1.0-rc.2",
3231
"fs-extra": "11.3.2",
3332
"fuse.js": "7.1.0",
3433
"lodash-es": "4.17.21",
35-
"next": "15.5.4",
34+
"next": "16.0.0",
3635
"postcss": "8.5.6",
3736
"prettier": "3.6.2",
3837
"react": "19.2.0",
3938
"react-dom": "19.2.0",
4039
"react-popper": "2.3.0",
41-
"tailwindcss": "4.1.14",
40+
"tailwindcss": "4.1.16",
4241
"typescript": "5.9.3"
43-
},
44-
"pnpm": {
45-
"onlyBuiltDependencies": [
46-
"@tailwindcss/oxide",
47-
"sharp",
48-
"unrs-resolver"
49-
]
5042
}
5143
}

0 commit comments

Comments
 (0)