Skip to content

Commit e63bee8

Browse files
authored
feat: updates in Refine 5 examples (#6929)
1 parent 7599ca3 commit e63bee8

225 files changed

Lines changed: 1223 additions & 1221 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

examples/access-control-casbin/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,21 @@
2828
"@refinedev/react-router": "^1.0.1",
2929
"@refinedev/simple-rest": "^5.0.11",
3030
"@uiw/react-md-editor": "^3.19.5",
31-
"antd": "^5.17.0",
31+
"antd": "^5.23.0",
3232
"casbin": "^5.15.2",
33-
"react": "^18.0.0",
34-
"react-dom": "^18.0.0",
33+
"react": "^19.1.0",
34+
"react-dom": "^19.1.0",
3535
"react-router": "^7.0.2"
3636
},
3737
"devDependencies": {
3838
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
3939
"@esbuild-plugins/node-modules-polyfill": "^0.2.2",
4040
"@types/node": "^18.16.2",
41-
"@types/react": "^18.0.0",
42-
"@types/react-dom": "^18.0.0",
41+
"@types/react": "^19.1.0",
42+
"@types/react-dom": "^19.1.0",
4343
"@vitejs/plugin-react": "^4.2.1",
4444
"rollup-plugin-polyfill-node": "^0.13.0",
45-
"typescript": "^5.4.2",
45+
"typescript": "^5.8.3",
4646
"vite": "^5.4.15"
4747
}
4848
}

examples/access-control-cerbos/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@
2929
"@refinedev/react-router": "^1.0.1",
3030
"@refinedev/simple-rest": "^5.0.11",
3131
"@uiw/react-md-editor": "^3.19.5",
32-
"antd": "^5.17.0",
33-
"react": "^18.0.0",
34-
"react-dom": "^18.0.0",
32+
"antd": "^5.23.0",
33+
"react": "^19.1.0",
34+
"react-dom": "^19.1.0",
3535
"react-router": "^7.0.2"
3636
},
3737
"devDependencies": {
3838
"@types/node": "^18.16.2",
39-
"@types/react": "^18.0.0",
40-
"@types/react-dom": "^18.0.0",
39+
"@types/react": "^19.1.0",
40+
"@types/react-dom": "^19.1.0",
4141
"@vitejs/plugin-react": "^4.2.1",
42-
"typescript": "^5.4.2",
42+
"typescript": "^5.8.3",
4343
"vite": "^5.4.15"
4444
}
4545
}

examples/access-control-permify/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,17 @@
2828
"@refinedev/react-router": "^1.0.1",
2929
"@refinedev/simple-rest": "^5.0.11",
3030
"@uiw/react-md-editor": "^3.19.5",
31-
"antd": "^5.17.0",
32-
"react": "^18.0.0",
33-
"react-dom": "^18.0.0",
31+
"antd": "^5.23.0",
32+
"react": "^19.1.0",
33+
"react-dom": "^19.1.0",
3434
"react-router": "^7.0.2"
3535
},
3636
"devDependencies": {
3737
"@types/node": "^18.16.2",
38-
"@types/react": "^18.0.0",
39-
"@types/react-dom": "^18.0.0",
38+
"@types/react": "^19.1.0",
39+
"@types/react-dom": "^19.1.0",
4040
"@vitejs/plugin-react": "^4.2.1",
41-
"typescript": "^5.4.2",
41+
"typescript": "^5.8.3",
4242
"vite": "^5.4.15"
4343
}
4444
}

examples/app-crm-minimal/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
"@refinedev/nestjs-query": "^1.3.5",
2727
"@refinedev/react-router": "^1.0.1",
2828
"@uiw/react-md-editor": "^3.19.5",
29-
"antd": "^5.17.0",
29+
"antd": "^5.23.0",
3030
"classnames": "^2.3.2",
3131
"cross-env": "^7.0.3",
3232
"dayjs": "^1.10.7",
3333
"graphql": "^15.6.1",
3434
"graphql-tag": "^2.12.6",
3535
"graphql-ws": "^5.9.1",
36-
"react": "^18.0.0",
37-
"react-dom": "^18.0.0",
36+
"react": "^19.1.0",
37+
"react-dom": "^19.1.0",
3838
"react-router": "^7.0.2"
3939
},
4040
"devDependencies": {
@@ -43,8 +43,8 @@
4343
"@graphql-codegen/typescript": "^4.0.1",
4444
"@graphql-codegen/typescript-operations": "^4.0.1",
4545
"@types/node": "^18.16.2",
46-
"@types/react": "^18.0.0",
47-
"@types/react-dom": "^18.0.0",
46+
"@types/react": "^19.1.0",
47+
"@types/react-dom": "^19.1.0",
4848
"@typescript-eslint/parser": "5.48.0",
4949
"@vitejs/plugin-react": "^4.2.1",
5050
"autoprefixer": "^10.4.1",
@@ -56,7 +56,7 @@
5656
"postcss": "^8.1.4",
5757
"postcss-nesting": "^12.0.1",
5858
"prettier": "^2.7.1",
59-
"typescript": "^5.4.2",
59+
"typescript": "^5.8.3",
6060
"vite": "^5.4.15",
6161
"vite-tsconfig-paths": "^4.2.1"
6262
}

examples/audit-log-provider/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
"@refinedev/react-hook-form": "^4.10.2",
1616
"@refinedev/react-router": "^1.0.1",
1717
"@refinedev/simple-rest": "^5.0.11",
18-
"react": "^18.0.0",
19-
"react-dom": "^18.0.0",
18+
"react": "^19.1.0",
19+
"react-dom": "^19.1.0",
2020
"react-router": "^7.0.2"
2121
},
2222
"devDependencies": {
23-
"@types/react": "^18.0.0",
24-
"@types/react-dom": "^18.0.0",
23+
"@types/react": "^19.1.0",
24+
"@types/react-dom": "^19.1.0",
2525
"@vitejs/plugin-react": "^4.2.1",
26-
"typescript": "^5.4.2",
26+
"typescript": "^5.8.3",
2727
"vite": "^5.4.15",
2828
"vite-plugin-cdn-import": "^0.3.5"
2929
}

examples/auth-antd/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@
2929
"@refinedev/react-router": "^1.0.1",
3030
"@refinedev/simple-rest": "^5.0.11",
3131
"@uiw/react-md-editor": "^3.19.5",
32-
"antd": "^5.17.0",
33-
"react": "^18.0.0",
34-
"react-dom": "^18.0.0",
32+
"antd": "^5.23.0",
33+
"react": "^19.1.0",
34+
"react-dom": "^19.1.0",
3535
"react-router": "^7.0.2"
3636
},
3737
"devDependencies": {
3838
"@types/node": "^18.16.2",
39-
"@types/react": "^18.0.0",
40-
"@types/react-dom": "^18.0.0",
39+
"@types/react": "^19.1.0",
40+
"@types/react-dom": "^19.1.0",
4141
"@vitejs/plugin-react": "^4.2.1",
42-
"typescript": "^5.4.2",
42+
"typescript": "^5.8.3",
4343
"vite": "^5.4.15"
4444
}
4545
}

examples/auth-auth0/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,18 @@
2929
"@refinedev/react-router": "^1.0.1",
3030
"@refinedev/simple-rest": "^5.0.11",
3131
"@uiw/react-md-editor": "^3.19.5",
32-
"antd": "^5.17.0",
3332
"axios": "^1.11.0",
34-
"react": "^18.0.0",
35-
"react-dom": "^18.0.0",
33+
"antd": "^5.23.0",
34+
"react": "^19.1.0",
35+
"react-dom": "^19.1.0",
3636
"react-router": "^7.0.2"
3737
},
3838
"devDependencies": {
3939
"@types/node": "^18.16.2",
40-
"@types/react": "^18.0.0",
41-
"@types/react-dom": "^18.0.0",
40+
"@types/react": "^19.1.0",
41+
"@types/react-dom": "^19.1.0",
4242
"@vitejs/plugin-react": "^4.2.1",
43-
"typescript": "^5.4.2",
43+
"typescript": "^5.8.3",
4444
"vite": "^5.4.15"
4545
}
4646
}

examples/auth-chakra-ui/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@
2020
"@refinedev/simple-rest": "^5.0.11",
2121
"@tabler/icons-react": "^3.1.0",
2222
"@tanstack/react-table": "^8.2.6",
23-
"react": "^18.0.0",
24-
"react-dom": "^18.0.0",
23+
"react": "^19.1.0",
24+
"react-dom": "^19.1.0",
2525
"react-router": "^7.0.2"
2626
},
2727
"devDependencies": {
28-
"@types/react": "^18.0.0",
29-
"@types/react-dom": "^18.0.0",
28+
"@types/react": "^19.1.0",
29+
"@types/react-dom": "^19.1.0",
3030
"@vitejs/plugin-react": "^4.2.1",
31-
"typescript": "^5.4.2",
31+
"typescript": "^5.8.3",
3232
"vite": "^5.4.15"
3333
}
3434
}

examples/auth-google-login/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,18 +28,18 @@
2828
"@refinedev/react-router": "^1.0.1",
2929
"@refinedev/simple-rest": "^5.0.11",
3030
"@uiw/react-md-editor": "^3.19.5",
31-
"antd": "^5.17.0",
3231
"axios": "^1.11.0",
33-
"react": "^18.0.0",
34-
"react-dom": "^18.0.0",
32+
"antd": "^5.23.0",
33+
"react": "^19.1.0",
34+
"react-dom": "^19.1.0",
3535
"react-router": "^7.0.2"
3636
},
3737
"devDependencies": {
3838
"@types/node": "^18.16.2",
39-
"@types/react": "^18.0.0",
40-
"@types/react-dom": "^18.0.0",
39+
"@types/react": "^19.1.0",
40+
"@types/react-dom": "^19.1.0",
4141
"@vitejs/plugin-react": "^4.2.1",
42-
"typescript": "^5.4.2",
42+
"typescript": "^5.8.3",
4343
"vite": "^5.4.15"
4444
}
4545
}

examples/auth-google-login/src/pages/login.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const GOOGLE_CLIENT_ID =
1111
export const Login: React.FC = () => {
1212
const { mutate: login } = useLogin<CredentialResponse>();
1313

14-
const GoogleButton = (): JSX.Element => {
14+
const GoogleButton = (): React.JSX.Element => {
1515
const divRef = useRef<HTMLDivElement>(null);
1616

1717
useEffect(() => {

0 commit comments

Comments
 (0)