From 5e97cee62f2a37ab95b58e509db88ad1935fd5b1 Mon Sep 17 00:00:00 2001 From: sebastien Date: Thu, 15 Feb 2024 12:36:03 +0100 Subject: [PATCH] fix e2e test script --- admin/scripts/test-release.sh | 2 +- packages/create-docusaurus/README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/scripts/test-release.sh b/admin/scripts/test-release.sh index 1834834b8fa6..622c524c95fa 100755 --- a/admin/scripts/test-release.sh +++ b/admin/scripts/test-release.sh @@ -52,7 +52,7 @@ git diff --name-only -- '*.json' | sed 's, ,\\&,g' | xargs git checkout -- cd .. # Build skeleton website with new version -npm_config_registry="$CUSTOM_REGISTRY_URL" npx create-docusaurus@"$NEW_VERSION" test-website classic $EXTRA_OPTS +npm_config_registry="$CUSTOM_REGISTRY_URL" npx create-docusaurus@"$NEW_VERSION" test-website classic --javascript $EXTRA_OPTS # Stop Docker container if [[ -z "${KEEP_CONTAINER:-true}" ]] && ( $(docker container inspect "$CONTAINER_NAME" > /dev/null 2>&1) ); then diff --git a/packages/create-docusaurus/README.md b/packages/create-docusaurus/README.md index 2533546271a8..2c62a47257b9 100644 --- a/packages/create-docusaurus/README.md +++ b/packages/create-docusaurus/README.md @@ -25,7 +25,7 @@ For Docusaurus maintainers, templates can be tested with: ```bash cd `git rev-parse --show-toplevel` # Back to repo root rm -rf test-website -yarn create-docusaurus test-website classic +yarn create-docusaurus test-website classic --javascript cd test-website yarn start ``` @@ -37,7 +37,7 @@ Use the following to test the templates against local packages: ```bash cd `git rev-parse --show-toplevel` # Back to repo root rm -rf test-website-in-workspace -yarn create-docusaurus test-website-in-workspace classic +yarn create-docusaurus test-website-in-workspace classic --javascript cd test-website-in-workspace yarn build yarn start