Skip to content

Commit 2e116ac

Browse files
committed
Bump up libs to the latest version (#1132)
1 parent e30e376 commit 2e116ac

File tree

39 files changed

+5002
-8466
lines changed

39 files changed

+5002
-8466
lines changed

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,13 @@ export default tseslint.config(
8787
globalIgnores([
8888
// common
8989
'**/dist/*',
90+
'**/lib/*',
9091
// sdk
9192
'packages/sdk/src/api/yorkie/v1/yorkie_grpc_web_pb.d.ts',
9293
'packages/sdk/src/api/yorkie/v1/yorkie_pb.d.ts',
9394
'packages/sdk/src/api/yorkie/v1/resources_grpc_web_pb.d.ts',
9495
'packages/sdk/src/api/yorkie/v1/resources_pb.d.ts',
9596
'packages/sdk/test/vitest.d.ts',
96-
'packages/sdk/lib',
9797
// examples
9898
'examples/**/*',
9999
// schema
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
import { FlatCompat } from '@eslint/eslintrc';
1+
import nextConfig from 'eslint-config-next';
22

3-
const compat = new FlatCompat({
4-
baseDirectory: import.meta.dirname,
5-
});
6-
7-
const eslintConfig = [...compat.extends('next/core-web-vitals')];
3+
const eslintConfig = [...nextConfig];
84

95
export default eslintConfig;

examples/nextjs-presence/package.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,21 @@
66
"dev": "next dev",
77
"build": "next build",
88
"start": "next start",
9-
"lint": "next lint"
9+
"lint": "eslint ."
1010
},
1111
"dependencies": {
1212
"@yorkie-js/react": "workspace:*",
1313
"@yorkie-js/sdk": "workspace:*",
14-
"next": "15.4.1",
15-
"react": "19.1.0",
16-
"react-dom": "19.1.0"
14+
"next": "16.0.7",
15+
"react": "19.2.1",
16+
"react-dom": "19.2.1"
1717
},
1818
"devDependencies": {
19-
"@eslint/eslintrc": "^3",
20-
"@types/node": "^20",
21-
"@types/react": "^19",
22-
"@types/react-dom": "^19",
23-
"eslint": "^9",
24-
"eslint-config-next": "15.4.1",
25-
"typescript": "^5"
19+
"@types/node": "^24.10.1",
20+
"@types/react": "^19.2.7",
21+
"@types/react-dom": "^19.2.3",
22+
"eslint": "^9.39.1",
23+
"eslint-config-next": "16.0.7",
24+
"typescript": "^5.9.3"
2625
}
2726
}
Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "ESNext",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
59
"allowJs": false,
610
"skipLibCheck": true,
711
"strict": false,
@@ -11,25 +15,35 @@
1115
"moduleResolution": "Node",
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-
"@/*": ["./*"],
23-
"react": ["./node_modules/@types/react"],
24-
"@yorkie-js/sdk/src/*": ["../../packages/sdk/src/*"]
26+
"@/*": [
27+
"./*"
28+
],
29+
"react": [
30+
"./node_modules/@types/react"
31+
],
32+
"@yorkie-js/sdk/src/*": [
33+
"../../packages/sdk/src/*"
34+
]
2535
}
2636
},
2737
"include": [
2838
"**/*.ts",
2939
"**/*.tsx",
3040
".next/types/**/*.ts",
3141
"next-env.d.ts",
32-
"dist/types/**/*.ts"
42+
"dist/types/**/*.ts",
43+
".next/dev/types/**/*.ts",
44+
"dist/dev/types/**/*.ts"
3345
],
34-
"exclude": ["node_modules"]
46+
"exclude": [
47+
"node_modules"
48+
]
3549
}

examples/nextjs-scheduler/eslint.config.mjs

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
1-
import { dirname } from 'path';
2-
import { fileURLToPath } from 'url';
3-
import { FlatCompat } from '@eslint/eslintrc';
1+
import nextConfig from 'eslint-config-next';
42
import { globalIgnores } from 'eslint/config';
53
import tseslint from 'typescript-eslint';
64
import prettierPlugin from 'eslint-plugin-prettier';
75

8-
const __filename = fileURLToPath(import.meta.url);
9-
const __dirname = dirname(__filename);
10-
11-
const compat = new FlatCompat({
12-
baseDirectory: __dirname,
13-
});
14-
156
export default tseslint.config(
16-
...compat.config({
17-
extends: ['next/core-web-vitals', 'next/typescript'],
18-
}),
7+
...nextConfig,
198
{
209
plugins: {
2110
prettier: prettierPlugin,

examples/nextjs-scheduler/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@
66
"dev": "next dev -p 5174",
77
"build": "next build",
88
"start": "next start",
9-
"lint": "next lint"
9+
"lint": "eslint ."
1010
},
1111
"dependencies": {
1212
"@yorkie-js/sdk": "workspace:*",
13-
"next": "14.1.3",
14-
"react": "18.2.0",
15-
"react-calendar": "^4.6.0",
16-
"react-dom": "18.2.0"
13+
"next": "16.0.7",
14+
"react": "19.2.1",
15+
"react-calendar": "^6.0.0",
16+
"react-dom": "19.2.1"
1717
},
1818
"devDependencies": {
19-
"@types/node": "20.4.2",
20-
"@types/react": "18.2.0",
21-
"@types/react-dom": "18.2.0",
22-
"eslint-config-next": "^15.4.5",
23-
"eslint-config-prettier": "^9.1.0",
24-
"prettier": "^3.3.3",
25-
"typescript": "5.3.3"
19+
"@types/node": "24.10.1",
20+
"@types/react": "19.2.7",
21+
"@types/react-dom": "19.2.3",
22+
"eslint-config-next": "^16.0.7",
23+
"eslint-config-prettier": "^10.1.8",
24+
"prettier": "^3.7.4",
25+
"typescript": "5.9.3"
2626
}
2727
}
Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "ESNext",
4-
"lib": ["DOM", "DOM.Iterable", "ESNext"],
4+
"lib": [
5+
"DOM",
6+
"DOM.Iterable",
7+
"ESNext"
8+
],
59
"allowJs": false,
610
"skipLibCheck": true,
711
"strict": false,
@@ -12,25 +16,34 @@
1216
"moduleResolution": "Node",
1317
"resolveJsonModule": true,
1418
"isolatedModules": true,
15-
"jsx": "preserve",
19+
"jsx": "react-jsx",
1620
"incremental": true,
1721
"plugins": [
1822
{
1923
"name": "next"
2024
}
2125
],
2226
"paths": {
23-
"@/*": ["./*"],
24-
"react": ["./node_modules/@types/react"],
25-
"@yorkie-js/sdk/src/*": ["../../packages/sdk/src/*"]
27+
"@/*": [
28+
"./*"
29+
],
30+
"react": [
31+
"./node_modules/@types/react"
32+
],
33+
"@yorkie-js/sdk/src/*": [
34+
"../../packages/sdk/src/*"
35+
]
2636
}
2737
},
2838
"include": [
2939
"next-env.d.ts",
3040
"**/*.ts",
3141
"**/*.tsx",
3242
".next/types/**/*.ts",
33-
"dist/types/**/*.ts"
43+
"dist/types/**/*.ts",
44+
".next/dev/types/**/*.ts"
3445
],
35-
"exclude": ["node_modules"]
46+
"exclude": [
47+
"node_modules"
48+
]
3649
}

examples/nextjs-todolist/eslint.config.mjs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1-
import { dirname } from 'path';
2-
import { fileURLToPath } from 'url';
3-
import { FlatCompat } from '@eslint/eslintrc';
1+
import nextConfig from 'eslint-config-next';
42
import { globalIgnores } from 'eslint/config';
53
import prettierPlugin from 'eslint-plugin-prettier';
64

7-
const __filename = fileURLToPath(import.meta.url);
8-
const __dirname = dirname(__filename);
9-
10-
const compat = new FlatCompat({
11-
baseDirectory: __dirname,
12-
});
13-
145
const eslintConfig = [
15-
...compat.extends('next/core-web-vitals', 'next/typescript'),
6+
...nextConfig,
167
{
178
plugins: {
189
prettier: prettierPlugin,

examples/nextjs-todolist/package.json

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,28 @@
66
"dev": "next dev",
77
"build": "next build",
88
"start": "next start",
9-
"lint": "next lint"
9+
"lint": "eslint ."
1010
},
1111
"dependencies": {
12-
"@radix-ui/react-slot": "^1.1.1",
12+
"@radix-ui/react-slot": "^1.2.4",
1313
"@yorkie-js/react": "workspace:*",
1414
"class-variance-authority": "^0.7.1",
1515
"clsx": "^2.1.1",
16-
"lucide-react": "^0.468.0",
17-
"next": "15.2.4",
18-
"react": "^19.0.0",
19-
"react-dom": "^19.0.0",
20-
"tailwind-merge": "^2.5.5",
21-
"tw-animate-css": "^1.2.4"
16+
"lucide-react": "^0.555.0",
17+
"next": "16.0.7",
18+
"react": "^19.2.1",
19+
"react-dom": "^19.2.1",
20+
"tailwind-merge": "^3.4.0",
21+
"tw-animate-css": "^1.4.0"
2222
},
2323
"devDependencies": {
24-
"@eslint/eslintrc": "^3",
25-
"@tailwindcss/postcss": "^4",
26-
"@types/node": "^20",
27-
"@types/react": "^19.0.12",
28-
"@types/react-dom": "^19.0.4",
29-
"eslint": "^9",
30-
"eslint-config-next": "15.2.4",
31-
"tailwindcss": "^4",
32-
"typescript": "^5"
24+
"@tailwindcss/postcss": "^4.1.17",
25+
"@types/node": "^24.10.1",
26+
"@types/react": "^19.2.7",
27+
"@types/react-dom": "^19.2.3",
28+
"eslint": "^9.39.1",
29+
"eslint-config-next": "16.0.7",
30+
"tailwindcss": "^4.1.17",
31+
"typescript": "^5.9.3"
3332
}
3433
}
Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
{
22
"compilerOptions": {
33
"target": "ESNext",
4-
"lib": ["dom", "dom.iterable", "esnext"],
4+
"lib": [
5+
"dom",
6+
"dom.iterable",
7+
"esnext"
8+
],
59
"allowJs": true,
610
"skipLibCheck": true,
711
"strict": false,
@@ -11,25 +15,35 @@
1115
"moduleResolution": "node",
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-
"@/*": ["./*"],
23-
"react": ["./node_modules/@types/react"],
24-
"@yorkie-js/sdk/src/*": ["../../packages/sdk/src/*"]
26+
"@/*": [
27+
"./*"
28+
],
29+
"react": [
30+
"./node_modules/@types/react"
31+
],
32+
"@yorkie-js/sdk/src/*": [
33+
"../../packages/sdk/src/*"
34+
]
2535
}
2636
},
2737
"include": [
2838
"next-env.d.ts",
2939
"**/*.ts",
3040
"**/*.tsx",
3141
".next/types/**/*.ts",
32-
"dist/types/**/*.ts"
42+
"dist/types/**/*.ts",
43+
".next/dev/types/**/*.ts",
44+
"dist/dev/types/**/*.ts"
3345
],
34-
"exclude": ["node_modules"]
46+
"exclude": [
47+
"node_modules"
48+
]
3549
}

0 commit comments

Comments
 (0)