From c53a8a6ea9088c5cd01fa286c0713127177938cd Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Tue, 27 Feb 2024 10:24:11 +0530 Subject: [PATCH] npx yarn --- scripts/editor.bash | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/editor.bash b/scripts/editor.bash index 386b0e17de..c475c16236 100755 --- a/scripts/editor.bash +++ b/scripts/editor.bash @@ -2,12 +2,11 @@ set -euxo pipefail -npm install -g yarn --force pushd packages/mermaid # Append commit hash to version jq ".version = .version + \"+${COMMIT_REF:0:7}\"" package.json > package.tmp.json mv package.tmp.json package.json -yarn link +npx yarn link popd pnpm run -r clean @@ -22,11 +21,11 @@ cd mermaid-live-editor # We have to use npm instead of yarn because it causes trouble in netlify # Install dependencies -yarn install +npx yarn install # Link local mermaid to live editor -yarn link mermaid +npx yarn link mermaid # Force Build the site -yarn run build -- --force +npx yarn run build -- --force