Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Aug 25, 2023
1 parent a0b6719 commit 1eee905
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions scripts/editor.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,17 @@ set -euxo pipefail
# We have to use npm instead of yarn because it causes trouble in netlify
pnpm build

# Link local mermaid to npm
pushd packages/mermaid
npm link
popd

# Clone the Mermaid Live Editor repository
rm -rf mermaid-live-editor
git clone --single-branch https://github.com/mermaid-js/mermaid-live-editor.git

# Link local mermaid to live editor
npm link mermaid
cd mermaid-live-editor

# Install dependencies
npm install --force
npm install

# Link local mermaid to live editor
npm link ../packages/mermaid

# Force Build the site
npm run build -- --force
Expand Down

0 comments on commit 1eee905

Please sign in to comment.