Skip to content

Commit 110ce1c

Browse files
committed
Upgrade project
1 parent d267306 commit 110ce1c

File tree

7 files changed

+656
-802
lines changed

7 files changed

+656
-802
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
check:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
16-
- uses: actions/setup-node@v4
15+
- uses: actions/checkout@v5
16+
- uses: actions/setup-node@v6
1717
with:
1818
node-version: lts/*
1919
- uses: pnpm/action-setup@v4
@@ -50,7 +50,7 @@ jobs:
5050
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5151
CONTAINER_NAME: thursday
5252
steps:
53-
- uses: actions/checkout@v4
53+
- uses: actions/checkout@v5
5454
- name: Login into registry
5555
run: echo $GITHUB_TOKEN | docker login ghcr.io -u $USERNAME --password-stdin
5656
- name: Build Docker image

eslint.config.mjs

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,20 @@
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-
},
25-
];
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+
]),
18+
]);
2619

2720
export default eslintConfig;

next.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import type { NextConfig } from "next";
33
const nextConfig: NextConfig = {
44
output: "standalone",
55
compress: false,
6-
experimental: {
7-
reactCompiler: true,
8-
},
6+
reactCompiler: true,
97
};
108

119
export default nextConfig;

package.json

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,39 @@
11
{
22
"name": "thursday",
33
"private": true,
4-
"packageManager": "pnpm@10.18.2+sha512.9fb969fa749b3ade6035e0f109f0b8a60b5d08a1a87fdf72e337da90dcc93336e2280ca4e44f2358a649b83c17959e9993e777c2080879f3801e6f0d999ad3dd",
4+
"packageManager": "pnpm@10.19.1-oidc-test.3+sha512.e5961a4b56bb37620f97b65da4ca56216634bf39ed358eda925f0f036534d458fa249d93ed0021410523f8bb7ed8512b61fe5532ed3e81777793366c6be026b5",
55
"scripts": {
66
"codegen": "graphql-codegen --config codegen.ts",
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
},
1212
"dependencies": {
1313
"@eslint/eslintrc": "3.3.1",
14-
"@graphql-codegen/cli": "6.0.0",
14+
"@graphql-codegen/cli": "6.0.1",
1515
"@graphql-codegen/client-preset": "5.1.0",
1616
"@graphql-typed-document-node/core": "3.2.0",
1717
"@primer/css": "22.0.2",
18-
"@tailwindcss/postcss": "4.1.14",
18+
"@tailwindcss/postcss": "4.1.16",
1919
"@tailwindcss/typography": "0.5.19",
2020
"@types/jsonwebtoken": "9.0.10",
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",
25-
"daisyui": "5.2.3",
25+
"daisyui": "5.3.9",
2626
"dotenv": "17.2.3",
2727
"encoding": "0.1.13",
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
"expo-server-sdk": "4.0.0",
3332
"graphql": "16.11.0",
34-
"graphql-request": "7.2.0",
33+
"graphql-request": "7.3.1",
3534
"hast-util-sanitize": "5.0.2",
3635
"jsonwebtoken": "9.0.2",
37-
"next": "15.5.4",
36+
"next": "16.0.0",
3837
"postcss": "8.5.6",
3938
"prettier": "3.6.2",
4039
"react": "19.2.0",
@@ -47,15 +46,8 @@
4746
"remark-parse": "11.0.0",
4847
"remark-rehype": "11.1.2",
4948
"sharp": "0.34.4",
50-
"tailwindcss": "4.1.14",
49+
"tailwindcss": "4.1.16",
5150
"typescript": "5.9.3",
5251
"unified": "11.0.5"
53-
},
54-
"pnpm": {
55-
"onlyBuiltDependencies": [
56-
"@tailwindcss/oxide",
57-
"sharp",
58-
"unrs-resolver"
59-
]
6052
}
6153
}

0 commit comments

Comments
 (0)