mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Force install
This commit is contained in:
parent
5f8f79fc3e
commit
08fe25a79e
@ -8,20 +8,16 @@ pushd packages/mermaid
|
|||||||
npm link
|
npm link
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Clone or update the Mermaid Live Editor repository
|
# Clone the Mermaid Live Editor repository
|
||||||
if [ ! -d "mermaid-live-editor" ]; then
|
rm -rf mermaid-live-editor
|
||||||
git clone --single-branch https://github.com/mermaid-js/mermaid-live-editor.git
|
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
|
|
||||||
|
|
||||||
# Link local mermaid to live editor
|
# Link local mermaid to live editor
|
||||||
npm link mermaid
|
npm link mermaid
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
npm install
|
npm install --force
|
||||||
|
|
||||||
|
# Force Build the site
|
||||||
|
npm run build -- --force
|
||||||
|
|
||||||
# Build the site
|
|
||||||
npm run build
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user