mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 10:22:55 +08:00
feat(admin): bump react-router and adapt new routes package (#11887)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added new admin routes: "auth", "setup", and "notFound" for improved navigation and access within the admin interface. - Introduced a utility for simplified and flexible lazy loading of React components with fallback support. - **Improvements** - Updated routing structure in the admin frontend for clearer route management and enhanced Sentry integration. - Centralized route definitions for easier maintenance and consistency. - Upgraded dependencies to support the latest React Router and React versions. - Enhanced asynchronous handling in setup form navigation. - **Chores** - Updated project references and workspace dependencies for better package management. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
57
yarn.lock
57
yarn.lock
@@ -180,6 +180,7 @@ __metadata:
|
||||
"@affine/core": "workspace:*"
|
||||
"@affine/error": "workspace:*"
|
||||
"@affine/graphql": "workspace:*"
|
||||
"@affine/routes": "workspace:*"
|
||||
"@blocksuite/icons": "npm:^2.2.12"
|
||||
"@radix-ui/react-accordion": "npm:^1.2.2"
|
||||
"@radix-ui/react-alert-dialog": "npm:^1.1.3"
|
||||
@@ -227,7 +228,7 @@ __metadata:
|
||||
react-dom: "npm:^19.0.0"
|
||||
react-hook-form: "npm:^7.54.1"
|
||||
react-resizable-panels: "npm:^2.1.7"
|
||||
react-router-dom: "npm:^6.28.0"
|
||||
react-router-dom: "npm:^7.5.1"
|
||||
shadcn-ui: "npm:^0.9.4"
|
||||
sonner: "npm:^2.0.0"
|
||||
swr: "npm:^2.2.5"
|
||||
@@ -852,7 +853,7 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@affine/routes@workspace:packages/frontend/routes":
|
||||
"@affine/routes@workspace:*, @affine/routes@workspace:packages/frontend/routes":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@affine/routes@workspace:packages/frontend/routes"
|
||||
dependencies:
|
||||
@@ -860,11 +861,10 @@ __metadata:
|
||||
"@affine-tools/utils": "workspace:*"
|
||||
path-to-regexp: "npm:^8.2.0"
|
||||
query-string: "npm:^9.1.1"
|
||||
react-router-dom: "npm:^6.28.0"
|
||||
vitest: "npm:^3.0.6"
|
||||
dependenciesMeta:
|
||||
react-router-dom:
|
||||
optional: true
|
||||
peerDependencies:
|
||||
react: ^19.1.0
|
||||
react-router-dom: ^7.5.1
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@@ -19052,6 +19052,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cookie@npm:^1.0.1":
|
||||
version: 1.0.2
|
||||
resolution: "cookie@npm:1.0.2"
|
||||
checksum: 10/f5817cdc84d8977761b12549eba29435e675e65c7fef172bc31737788cd8adc83796bf8abe6d950554e7987325ad2d9ac2971c5bd8ff0c4f81c145f82e4ab1be
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cookiejar@npm:^2.1.4":
|
||||
version: 2.1.4
|
||||
resolution: "cookiejar@npm:2.1.4"
|
||||
@@ -29835,6 +29842,18 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"react-router-dom@npm:^7.5.1":
|
||||
version: 7.5.1
|
||||
resolution: "react-router-dom@npm:7.5.1"
|
||||
dependencies:
|
||||
react-router: "npm:7.5.1"
|
||||
peerDependencies:
|
||||
react: ">=18"
|
||||
react-dom: ">=18"
|
||||
checksum: 10/a564fd2b3cfa9a4b79dbdbae53b7504fcd678b2aba69a696ae494c228927999b3be9bc4e304a63a0b2247a2943c241bf3bb4fe25d62092de64e16309654f0f2d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"react-router@npm:6.30.0":
|
||||
version: 6.30.0
|
||||
resolution: "react-router@npm:6.30.0"
|
||||
@@ -29846,6 +29865,23 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"react-router@npm:7.5.1":
|
||||
version: 7.5.1
|
||||
resolution: "react-router@npm:7.5.1"
|
||||
dependencies:
|
||||
cookie: "npm:^1.0.1"
|
||||
set-cookie-parser: "npm:^2.6.0"
|
||||
turbo-stream: "npm:2.4.0"
|
||||
peerDependencies:
|
||||
react: ">=18"
|
||||
react-dom: ">=18"
|
||||
peerDependenciesMeta:
|
||||
react-dom:
|
||||
optional: true
|
||||
checksum: 10/c5c3bacbb93058f4cbf93557ea4d3376393e071aa59e2f7044060cc4073b2a253fcd29c7c0b89d6c373d56dc7e2494729871e5a72be66988b1c0bd726f7cfc0e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"react-style-singleton@npm:^2.2.2, react-style-singleton@npm:^2.2.3":
|
||||
version: 2.2.3
|
||||
resolution: "react-style-singleton@npm:2.2.3"
|
||||
@@ -31033,7 +31069,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"set-cookie-parser@npm:^2.7.1":
|
||||
"set-cookie-parser@npm:^2.6.0, set-cookie-parser@npm:^2.7.1":
|
||||
version: 2.7.1
|
||||
resolution: "set-cookie-parser@npm:2.7.1"
|
||||
checksum: 10/c92b1130032693342bca13ea1b1bc93967ab37deec4387fcd8c2a843c0ef2fd9a9f3df25aea5bb3976cd05a91c2cf4632dd6164d6e1814208fb7d7e14edd42b4
|
||||
@@ -32941,6 +32977,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"turbo-stream@npm:2.4.0":
|
||||
version: 2.4.0
|
||||
resolution: "turbo-stream@npm:2.4.0"
|
||||
checksum: 10/7079bbc82b58340f783144cd669cc7e598288523103a8d68bb8a4c6bb28c64eccb71d389b33aab07788d3a9030638b795709e15cb8486f722b1cdac59cb58afc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"tweakpane@npm:^4.0.4":
|
||||
version: 4.0.5
|
||||
resolution: "tweakpane@npm:4.0.5"
|
||||
|
||||
Reference in New Issue
Block a user