This is an automated email from the ASF dual-hosted git repository.

chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 2e7ac5f5dd Support local i18n start on Node 22 (#450)
2e7ac5f5dd is described below

commit 2e7ac5f5ddaaa0e3f7c7f4450a54db7a91cc0bfd
Author: Shawn Yang <[email protected]>
AuthorDate: Thu May 21 13:33:38 2026 +0800

    Support local i18n start on Node 22 (#450)
---
 package-lock.json | 2 +-
 package.json      | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 00687954dc..627d0046ea 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -36,7 +36,7 @@
         "yaml": "^2.8.0"
       },
       "engines": {
-        "node": ">=24.0"
+        "node": ">=22.0.0"
       }
     },
     "node_modules/@algolia/autocomplete-core": {
diff --git a/package.json b/package.json
index 432853cf56..b151a21d4e 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,8 @@
   "scripts": {
     "download-avatars": "node ./scripts/download_avatars/script.js",
     "docusaurus": "bash ./scripts/docusaurus-with-i18n.sh",
-    "start": "docusaurus start --host 0.0.0.0",
+    "start": "npm run build && docusaurus serve --host 0.0.0.0",
+    "start-dev": "docusaurus start --host 0.0.0.0",
     "start-en": "docusaurus start --locale en-US --host 0.0.0.0",
     "start-zh": "docusaurus start --locale zh-CN --host 0.0.0.0",
     "copy-i18n-fallback": "bash ./scripts/copy-i18n-fallback.sh",
@@ -60,6 +61,6 @@
     ]
   },
   "engines": {
-    "node": ">=24.0"
+    "node": ">=22.0.0"
   }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to