You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/06/14 02:00:12 UTC

[pulsar-site] 01/01: feat: upgrade docusaurus version and upgrade docker image with node 16

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

urfree pushed a commit to branch fix/upgrade-build-node-and-docusaurus
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git

commit c7d6503d78f3c72ed605fdf2eacb94ae8df670df
Author: Li Li <ur...@apache.org>
AuthorDate: Tue Jun 14 09:59:59 2022 +0800

    feat: upgrade docusaurus version and upgrade docker image with node 16
    
    Signed-off-by: Li Li <ur...@apache.org>
---
 site2/tools/docker-build-site.sh | 2 +-
 site2/website-next/package.json  | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/site2/tools/docker-build-site.sh b/site2/tools/docker-build-site.sh
index 653d4d67af2..1c999490c8c 100755
--- a/site2/tools/docker-build-site.sh
+++ b/site2/tools/docker-build-site.sh
@@ -27,7 +27,7 @@ ROOT_DIR=$(git rev-parse --show-toplevel)
 cd $ROOT_DIR/pulsar-client-cpp
 
 BUILD_IMAGE_NAME="${BUILD_IMAGE_NAME:-apachepulsar/pulsar-build}"
-BUILD_IMAGE_VERSION="${BUILD_IMAGE_VERSION:-ubuntu-16.04-pb3-website-jdk17}"
+BUILD_IMAGE_VERSION="${BUILD_IMAGE_VERSION:-ubuntu-16.04-pb3-website-jdk17-node16}"
 
 IMAGE="$BUILD_IMAGE_NAME:$BUILD_IMAGE_VERSION"
 
diff --git a/site2/website-next/package.json b/site2/website-next/package.json
index e48fa786b50..f90380d7fdb 100644
--- a/site2/website-next/package.json
+++ b/site2/website-next/package.json
@@ -22,10 +22,10 @@
   },
   "dependencies": {
     "@crowdin/cli": "3.7.4",
-    "@docusaurus/core": "2.0.0-beta.20",
-    "@docusaurus/plugin-client-redirects": "2.0.0-beta.20",
-    "@docusaurus/plugin-google-analytics": "2.0.0-beta.20",
-    "@docusaurus/preset-classic": "2.0.0-beta.20",
+    "@docusaurus/core": "2.0.0-beta.21",
+    "@docusaurus/plugin-client-redirects": "2.0.0-beta.21",
+    "@docusaurus/plugin-google-analytics": "2.0.0-beta.21",
+    "@docusaurus/preset-classic": "2.0.0-beta.21",
     "@emotion/react": "^11.7.1",
     "@emotion/styled": "^11.6.0",
     "@mdx-js/react": "^1.6.22",