DanielLeens opened a new pull request, #480:
URL: https://github.com/apache/seatunnel-website/pull/480
## What does this PR do?
Declare the missing `@docusaurus/plugin-client-redirects` dependency that is
already referenced by `docusaurus.config.js`.
This is the shared root cause behind the `Build website` failure currently
blocking multiple `apache/seatunnel` PRs, where the workflow checks out
`apache/seatunnel-website`, runs `npm install`, and then fails during `npm run
build` because the redirect plugin cannot be resolved.
## Why is the change needed?
`docusaurus.config.js` already registers
`@docusaurus/plugin-client-redirects`, but `package.json` does not declare it.
That makes local environments with leftover installs look fine while clean CI
environments fail deterministically.
## How was it verified?
- Ran `npm set strict-ssl false`
- Ran `npm install`
- Ran `npm run sync`
- Ran `npm run build`
- The original blocker `Docusaurus was unable to resolve the
"@docusaurus/plugin-client-redirects" plugin` no longer occurs.
- The build proceeds into full Docusaurus compilation; remaining console
output is historical image warnings unrelated to this dependency fix.
## Additional note
This PR is intended as a shared CI fix to unblock `apache/seatunnel` PRs
such as `#11231`, `#11250`, and `#11264`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]