This is an automated email from the ASF dual-hosted git repository.
paksyd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new 1830859c05c HBASE-29878 Improve the Documentation UI (addendum) - Fix
504 (Outdated Optimize Dep) error 2 (#7914)
1830859c05c is described below
commit 1830859c05c99e95191425ab350973a5f5b60611
Author: Yurii Palamarchuk <[email protected]>
AuthorDate: Thu Mar 12 13:05:52 2026 +0100
HBASE-29878 Improve the Documentation UI (addendum) - Fix 504 (Outdated
Optimize Dep) error 2 (#7914)
[INFO] Errors: Failed to load resource: the server responded with a
status of 504 (Outdated Optimize Dep)
Signed-off-by: Dávid Paksy <[email protected]>
---
hbase-website/package.json | 4 ++--
hbase-website/playwright.config.ts | 2 +-
hbase-website/vite.config.ts | 10 +---------
3 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/hbase-website/package.json b/hbase-website/package.json
index 925c400d9b2..f4aee130573 100644
--- a/hbase-website/package.json
+++ b/hbase-website/package.json
@@ -27,8 +27,8 @@
"extract-all": "node scripts/extract-developers.js && node
scripts/extract-hbase-config.js && node scripts/extract-hbase-version.js",
"export-pdf": "playwright test e2e-tests/export-pdf.spec.ts
--project=chromium --workers=1",
"fumadocs-init": "fumadocs-mdx",
- "ci": "npm run extract-all && npm run fumadocs-init && npm run lint && npm
run typecheck && npm run test:unit:run && npx playwright install && npm run
test:e2e && npm run build",
- "ci-skip-tests": "npm run extract-all && npm run fumadocs-init && npx
playwright install && npm run export-pdf && npm run build"
+ "ci": "npm run extract-all && npm run fumadocs-init && npm run lint && npm
run typecheck && npm run test:unit:run && npm run build && npx playwright
install && npm run test:e2e",
+ "ci-skip-tests": "npm run extract-all && npm run fumadocs-init && npm run
build && npx playwright install && npm run export-pdf"
},
"dependencies": {
"@hookform/resolvers": "^3.10.0",
diff --git a/hbase-website/playwright.config.ts
b/hbase-website/playwright.config.ts
index 1f6738c8a0c..9d38f314352 100644
--- a/hbase-website/playwright.config.ts
+++ b/hbase-website/playwright.config.ts
@@ -62,7 +62,7 @@ export default defineConfig({
/* Run your local dev server before starting the tests */
webServer: {
- command: "npm run dev -- --port 5178",
+ command: "npx serve build/client -l 5178",
url: "http://localhost:5178",
reuseExistingServer: false,
timeout: 60000
diff --git a/hbase-website/vite.config.ts b/hbase-website/vite.config.ts
index 42fe40335b4..65e1f6f0a08 100644
--- a/hbase-website/vite.config.ts
+++ b/hbase-website/vite.config.ts
@@ -45,13 +45,5 @@ export default defineConfig({
"@": resolve(__dirname, "app")
}
},
- customLogger: logger,
- optimizeDeps: {
- force: true
- },
- server: {
- warmup: {
- clientFiles: ["./app/**/*.{ts,tsx,js,jsx}"]
- }
- }
+ customLogger: logger
});