migrate to react-router v7 and BrowserRouter

This commit is contained in:
jeffvli
2025-10-22 19:41:17 -07:00
parent 2504c0ec10
commit bf75dec0ce
42 changed files with 81 additions and 73 deletions
+38 -29
View File
@@ -163,7 +163,7 @@ importers:
version: https://codeload.github.com/jeffvli/Node-MPV/tar.gz/32b4d64395289ad710c41d481d2707a7acfc228f
nuqs:
specifier: ^2.7.1
version: 2.7.1(react-router-dom@6.30.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react-router@6.30.1(react@19.1.0))(react@19.1.0)
version: 2.7.1(react-router-dom@7.9.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react-router@7.9.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0)
overlayscrollbars:
specifier: ^2.11.1
version: 2.11.3
@@ -201,11 +201,8 @@ importers:
specifier: ^2.11.0
version: 2.16.0(react@19.1.0)
react-router:
specifier: ^6.16.0
version: 6.30.1(react@19.1.0)
react-router-dom:
specifier: ^6.16.0
version: 6.30.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
specifier: ^7.9.4
version: 7.9.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
react-window-v2:
specifier: npm:react-window@^2.2.0
version: react-window@2.2.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
@@ -1669,10 +1666,6 @@ packages:
peerDependencies:
react: ^16.8 || ^17.0 || ^18.0
'@remix-run/router@1.23.0':
resolution: {integrity: sha512-O3rHJzAQKamUz1fvE0Qaw0xSFqsA/yafi2iqeE0pvdFtCO1viYx8QL6f3Ln/aCCTLxs68SLf0KPM9eSeM8yBnA==}
engines: {node: '>=14.0.0'}
'@rolldown/pluginutils@1.0.0-beta.9':
resolution: {integrity: sha512-e9MeMtVWo186sgvFFJOPGy7/d2j2mZhLJIdVW0C/xDluuOvymEATqz6zKsP0ZmXGzQtqlyjz5sC1sYQUoJG98w==}
@@ -2529,6 +2522,10 @@ packages:
convert-source-map@2.0.0:
resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==}
cookie@1.0.2:
resolution: {integrity: sha512-9Kr/j4O16ISv8zBBhJoi4bXOYNTkFLOqSL3UDB0njXxCXNezjeyVrJyGOWtgfs/q2km1gwBcfH8q1yEGoMYunA==}
engines: {node: '>=18'}
core-js-compat@3.45.1:
resolution: {integrity: sha512-tqTt5T4PzsMIZ430XGviK4vzYSoeNJ6CXODi6c/voxOT6IZqBht5/EKaSNnYiEjjRYxjVz7DQIsOsY0XNi8PIA==}
@@ -4572,18 +4569,22 @@ packages:
'@types/react':
optional: true
react-router-dom@6.30.1:
resolution: {integrity: sha512-llKsgOkZdbPU1Eg3zK8lCn+sjD9wMRZZPuzmdWWX5SUs8OFkN5HnFVC0u5KMeMaC9aoancFI/KoLuKPqN+hxHw==}
engines: {node: '>=14.0.0'}
react-router-dom@7.9.4:
resolution: {integrity: sha512-f30P6bIkmYvnHHa5Gcu65deIXoA2+r3Eb6PJIAddvsT9aGlchMatJ51GgpU470aSqRRbFX22T70yQNUGuW3DfA==}
engines: {node: '>=20.0.0'}
peerDependencies:
react: '>=16.8'
react-dom: '>=16.8'
react: '>=18'
react-dom: '>=18'
react-router@6.30.1:
resolution: {integrity: sha512-X1m21aEmxGXqENEPG3T6u0Th7g0aS4ZmoNynhbs+Cn+q+QGTLt+d5IQ2bHAXKzKcxGJjxACpVbnYQSCRcfxHlQ==}
engines: {node: '>=14.0.0'}
react-router@7.9.4:
resolution: {integrity: sha512-SD3G8HKviFHg9xj7dNODUKDFgpG4xqD5nhyd0mYoB5iISepuZAvzSr8ywxgxKJ52yRzf/HWtVHc9AWwoTbljvA==}
engines: {node: '>=20.0.0'}
peerDependencies:
react: '>=16.8'
react: '>=18'
react-dom: '>=18'
peerDependenciesMeta:
react-dom:
optional: true
react-style-singleton@2.2.3:
resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==}
@@ -4936,6 +4937,9 @@ packages:
serialize-javascript@6.0.2:
resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==}
set-cookie-parser@2.7.1:
resolution: {integrity: sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==}
set-function-length@1.2.2:
resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
engines: {node: '>= 0.4'}
@@ -7242,8 +7246,6 @@ snapshots:
'@babel/runtime': 7.27.1
react: 19.1.0
'@remix-run/router@1.23.0': {}
'@rolldown/pluginutils@1.0.0-beta.9': {}
'@rollup/plugin-babel@5.3.1(@babel/core@7.27.1)(@types/babel__core@7.20.5)(rollup@2.79.2)':
@@ -8215,6 +8217,8 @@ snapshots:
convert-source-map@2.0.0: {}
cookie@1.0.2: {}
core-js-compat@3.45.1:
dependencies:
browserslist: 4.27.0
@@ -10034,13 +10038,13 @@ snapshots:
dependencies:
boolbase: 1.0.0
nuqs@2.7.1(react-router-dom@6.30.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react-router@6.30.1(react@19.1.0))(react@19.1.0):
nuqs@2.7.1(react-router-dom@7.9.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react-router@7.9.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0))(react@19.1.0):
dependencies:
'@standard-schema/spec': 1.0.0
react: 19.1.0
optionalDependencies:
react-router: 6.30.1(react@19.1.0)
react-router-dom: 6.30.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
react-router: 7.9.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
react-router-dom: 7.9.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
object-assign@4.1.1: {}
@@ -10444,17 +10448,20 @@ snapshots:
optionalDependencies:
'@types/react': 18.3.23
react-router-dom@6.30.1(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
react-router-dom@7.9.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
dependencies:
'@remix-run/router': 1.23.0
react: 19.1.0
react-dom: 19.1.0(react@19.1.0)
react-router: 6.30.1(react@19.1.0)
react-router: 7.9.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
optional: true
react-router@6.30.1(react@19.1.0):
react-router@7.9.4(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
dependencies:
'@remix-run/router': 1.23.0
cookie: 1.0.2
react: 19.1.0
set-cookie-parser: 2.7.1
optionalDependencies:
react-dom: 19.1.0(react@19.1.0)
react-style-singleton@2.2.3(@types/react@18.3.23)(react@19.1.0):
dependencies:
@@ -10810,6 +10817,8 @@ snapshots:
dependencies:
randombytes: 2.1.0
set-cookie-parser@2.7.1: {}
set-function-length@1.2.2:
dependencies:
define-data-property: 1.1.4