Compare commits

...

1 Commits

Author SHA1 Message Date
Sidharth Vinod
08fe25a79e Force install 2023-08-25 09:50:42 +05:30

View File

@@ -8,20 +8,16 @@ pushd packages/mermaid
npm link
popd
# Clone or update the Mermaid Live Editor repository
if [ ! -d "mermaid-live-editor" ]; then
git clone --single-branch https://github.com/mermaid-js/mermaid-live-editor.git
cd mermaid-live-editor
else
cd mermaid-live-editor
git pull
fi
# 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
# Install dependencies
npm install
npm install --force
# Force Build the site
npm run build -- --force
# Build the site
npm run build