HBASE-30312 Update website to ReactRouter v8 - #8521
Conversation
…core, fumadocs-ui and @react-router/dev Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router), [@react-router/node](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-node), [@react-router/serve](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-serve), [fumadocs-core](https://github.com/fuma-nama/fumadocs), [fumadocs-ui](https://github.com/fuma-nama/fumadocs) and [@react-router/dev](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dev). These dependencies needed to be updated together. Updates `react-router` from 7.16.0 to 8.3.0 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/react-router@8.3.0/packages/react-router) Updates `@react-router/node` from 7.16.0 to 8.3.0 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-node/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/@react-router/node@8.3.0/packages/react-router-node) Updates `@react-router/serve` from 7.16.0 to 8.3.0 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-serve/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/@react-router/serve@8.3.0/packages/react-router-serve) Updates `fumadocs-core` from 16.0.10 to 16.13.0 - [Release notes](https://github.com/fuma-nama/fumadocs/releases) - [Commits](https://github.com/fuma-nama/fumadocs/compare/fumadocs-core@16.0.10...fumadocs@16.13.0) Updates `fumadocs-ui` from 16.0.10 to 16.13.0 - [Release notes](https://github.com/fuma-nama/fumadocs/releases) - [Commits](https://github.com/fuma-nama/fumadocs/compare/fumadocs-ui@16.0.10...fumadocs@16.13.0) Updates `@react-router/dev` from 7.16.0 to 8.3.0 - [Release notes](https://github.com/remix-run/react-router/releases) - [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dev/CHANGELOG.md) - [Commits](https://github.com/remix-run/react-router/commits/@react-router/dev@8.3.0/packages/react-router-dev) --- updated-dependencies: - dependency-name: react-router dependency-version: 8.3.0 dependency-type: direct:production - dependency-name: "@react-router/node" dependency-version: 8.3.0 dependency-type: direct:production - dependency-name: "@react-router/serve" dependency-version: 8.3.0 dependency-type: direct:production - dependency-name: fumadocs-core dependency-version: 16.13.0 dependency-type: direct:production - dependency-name: fumadocs-ui dependency-version: 16.13.0 dependency-type: direct:production - dependency-name: "@react-router/dev" dependency-version: 8.3.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
| "type": "module", | ||
| "engines": { | ||
| "node": ">=22.12.0" | ||
| "node": ">=24.18.1" |
There was a problem hiding this comment.
I think we should also update the Node.js version which is installed by Maven https://github.com/apache/hbase/blob/master/hbase-website/pom.xml#L35 , otherwise we will get unsupported engine errors.
(Also super-minor but the module README has the Node v22 mentioned.)
PDavid
left a comment
There was a problem hiding this comment.
Many thanks for taking care of this. 👍
I checked locally, built the site, docs - both look fine. ✔️
| </configuration> | ||
| </execution> | ||
| <!-- Run npm install --> | ||
| <!-- Install exact dependencies from package-lock.json --> |
|
There was a strange error in the CI build: I'm now trying to rerun it to see if it was a one-off. |
Doesn't seem to be app related, could be some system side effect or something |
|
@PDavid the check was fine locally. Can we rerun it somehow? |
This PR updates to ReactRouter v8 adopting the code and other deps for it. It also resolves CVEs from the old versions.
Initial PR by dependabot: #8507