Upgrade React Router dependencies to latest version (#21288)
This commit is contained in:
parent
56602224a2
commit
209e9b5307
5 changed files with 327 additions and 264 deletions
|
@ -21,16 +21,16 @@
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-hook-form": "^7.44.3",
|
"react-hook-form": "^7.44.3",
|
||||||
"react-i18next": "^13.0.2",
|
"react-i18next": "^13.0.2",
|
||||||
"react-router-dom": "6.12.1",
|
"react-router-dom": "^6.14.1",
|
||||||
"ui-shared": "workspace:*"
|
"ui-shared": "workspace:*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@keycloak/keycloak-admin-client": "workspace:*",
|
||||||
"@playwright/test": "^1.35.1",
|
"@playwright/test": "^1.35.1",
|
||||||
"@types/lodash-es": "^4.17.7",
|
"@types/lodash-es": "^4.17.7",
|
||||||
"@types/react": "^18.2.14",
|
"@types/react": "^18.2.14",
|
||||||
"@types/react-dom": "^18.2.6",
|
"@types/react-dom": "^18.2.6",
|
||||||
"@vitejs/plugin-react-swc": "^3.3.2",
|
"@vitejs/plugin-react-swc": "^3.3.2",
|
||||||
"@keycloak/keycloak-admin-client": "workspace:*",
|
|
||||||
"vite": "^4.4.3",
|
"vite": "^4.4.3",
|
||||||
"vite-plugin-checker": "^0.6.1"
|
"vite-plugin-checker": "^0.6.1"
|
||||||
},
|
},
|
||||||
|
|
|
@ -83,8 +83,7 @@
|
||||||
"react-error-boundary": "^3.1.4",
|
"react-error-boundary": "^3.1.4",
|
||||||
"react-hook-form": "^7.44.3",
|
"react-hook-form": "^7.44.3",
|
||||||
"react-i18next": "^13.0.2",
|
"react-i18next": "^13.0.2",
|
||||||
"react-router": "^6.12.1",
|
"react-router-dom": "^6.14.1",
|
||||||
"react-router-dom": "6.12.1",
|
|
||||||
"reactflow": "^11.7.4",
|
"reactflow": "^11.7.4",
|
||||||
"ui-shared": "workspace:*",
|
"ui-shared": "workspace:*",
|
||||||
"use-react-router-breadcrumbs": "^4.0.1"
|
"use-react-router-breadcrumbs": "^4.0.1"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { AccessType } from "@keycloak/keycloak-admin-client/lib/defs/whoAmIRepresentation";
|
import { AccessType } from "@keycloak/keycloak-admin-client/lib/defs/whoAmIRepresentation";
|
||||||
import { useMatches } from "react-router";
|
import { useMatches } from "react-router-dom";
|
||||||
|
|
||||||
import { ForbiddenSection } from "../ForbiddenSection";
|
import { ForbiddenSection } from "../ForbiddenSection";
|
||||||
import { useAccess } from "../context/access/Access";
|
import { useAccess } from "../context/access/Access";
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import type { AccessType } from "@keycloak/keycloak-admin-client/lib/defs/whoAmIRepresentation";
|
import type { AccessType } from "@keycloak/keycloak-admin-client/lib/defs/whoAmIRepresentation";
|
||||||
import type { TFunction } from "i18next";
|
import type { TFunction } from "i18next";
|
||||||
import type { ComponentType } from "react";
|
import type { ComponentType } from "react";
|
||||||
import type { NonIndexRouteObject, RouteObject } from "react-router";
|
import type { NonIndexRouteObject, RouteObject } from "react-router-dom";
|
||||||
|
|
||||||
import { App } from "./App";
|
import { App } from "./App";
|
||||||
import { PageNotFoundSection } from "./PageNotFoundSection";
|
import { PageNotFoundSection } from "./PageNotFoundSection";
|
||||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue