This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to branch fix_zh_en_switch_local in repository https://gitbox.apache.org/repos/asf/fory-site.git
commit e26962af128992fd0160429a54dcb1c0f74a1c4e Author: 慕白 <[email protected]> AuthorDate: Thu May 21 13:24:59 2026 +0800 Support local i18n start on Node 22 --- 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]
