Skip to content

Commit c25584e

Browse files
committed
chore: bump deps for nextjs and react
Signed-off-by: Tyler Slaton <[email protected]>
1 parent 8a78d5e commit c25584e

File tree

3 files changed

+38
-22
lines changed

3 files changed

+38
-22
lines changed

eslint.config.mjs

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
1-
import { dirname } from "path";
2-
import { fileURLToPath } from "url";
3-
import { FlatCompat } from "@eslint/eslintrc";
4-
5-
const __filename = fileURLToPath(import.meta.url);
6-
const __dirname = dirname(__filename);
7-
8-
const compat = new FlatCompat({
9-
baseDirectory: __dirname,
10-
});
1+
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
2+
import nextTypescript from "eslint-config-next/typescript";
113

124
const eslintConfig = [
13-
...compat.extends("next/core-web-vitals", "next/typescript"),
5+
...nextCoreWebVitals,
6+
...nextTypescript,
7+
{
8+
ignores: [
9+
"node_modules/**",
10+
".next/**",
11+
"out/**",
12+
"build/**",
13+
"next-env.d.ts",
14+
"agent",
15+
],
16+
},
1417
];
1518

1619
export default eslintConfig;

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"dev:ui": "next dev --turbopack",
1010
"build": "next build",
1111
"start": "next start",
12-
"lint": "next lint",
12+
"lint": "eslint .",
1313
"install:agent": "sh ./scripts/setup-agent.sh || scripts\\setup-agent.bat",
1414
"postinstall": "npm run install:agent"
1515
},
@@ -18,21 +18,20 @@
1818
"@copilotkit/react-core": "1.10.6",
1919
"@copilotkit/react-ui": "1.10.6",
2020
"@copilotkit/runtime": "1.10.6",
21-
"next": "15.3.2",
22-
"react": "^19.0.0",
23-
"react-dom": "^19.0.0",
21+
"next": "16.0.1",
22+
"react": "^19.2.0",
23+
"react-dom": "^19.2.0",
2424
"zod": "^3.24.4"
2525
},
2626
"devDependencies": {
27-
"@eslint/eslintrc": "^3",
2827
"@langchain/langgraph-cli": "0.0.40",
2928
"@tailwindcss/postcss": "^4",
3029
"@types/node": "^20",
3130
"@types/react": "^19",
3231
"@types/react-dom": "^19",
3332
"concurrently": "^9.1.2",
3433
"eslint": "^9",
35-
"eslint-config-next": "15.3.2",
34+
"eslint-config-next": "16.0.1",
3635
"tailwindcss": "^4",
3736
"typescript": "^5"
3837
}

tsconfig.json

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "ES2017",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
59
"allowJs": true,
610
"skipLibCheck": true,
711
"strict": true,
@@ -11,17 +15,27 @@
1115
"moduleResolution": "bundler",
1216
"resolveJsonModule": true,
1317
"isolatedModules": true,
14-
"jsx": "preserve",
18+
"jsx": "react-jsx",
1519
"incremental": true,
1620
"plugins": [
1721
{
1822
"name": "next"
1923
}
2024
],
2125
"paths": {
22-
"@/*": ["./src/*"]
26+
"@/*": [
27+
"./src/*"
28+
]
2329
}
2430
},
25-
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
26-
"exclude": ["node_modules"]
31+
"include": [
32+
"next-env.d.ts",
33+
"**/*.ts",
34+
"**/*.tsx",
35+
".next/types/**/*.ts",
36+
".next/dev/types/**/*.ts"
37+
],
38+
"exclude": [
39+
"node_modules"
40+
]
2741
}

0 commit comments

Comments
 (0)