Skip to content

Commit bbb93b2

Browse files
Merge branch 'develop' into saurabh/fix-edge-animation-for-hand-dranw-shapes
2 parents 4240340 + 1c2a002 commit bbb93b2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripts/editor.bash

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ pushd packages/mermaid
1111
# Append commit hash to version
1212
jq ".version = .version + \"+${COMMIT_REF:0:7}\"" package.json > package.tmp.json
1313
mv package.tmp.json package.json
14-
yarn link
1514
popd
1615

1716
pnpm run -r clean
@@ -26,13 +25,14 @@ cd mermaid-live-editor
2625
git clean -xdf
2726
rm -rf docs/
2827

29-
# We have to use npm instead of yarn because it causes trouble in netlify
28+
# Tells PNPM that mermaid-live-editor is not part of this workspace
29+
touch pnpm-workspace.yaml
30+
3031
# Install dependencies
31-
yarn install
32+
pnpm install --frozen-lockfile
3233

3334
# Link local mermaid to live editor
34-
yarn link mermaid
35+
pnpm link ../packages/mermaid
3536

3637
# Force Build the site
37-
yarn run build
38-
38+
pnpm run build

0 commit comments

Comments
 (0)