Skip to content

Commit

Permalink
Add COREPACK_ENABLE_STRICT
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Feb 27, 2024
1 parent c53a8a6 commit 72e6281
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions scripts/editor.bash
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
#!/usr/bin/env bash

set -euxo pipefail
export COREPACK_ENABLE_STRICT='0'

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
npx yarn link
yarn link
popd

pnpm run -r clean
Expand All @@ -21,11 +22,11 @@ cd mermaid-live-editor

# We have to use npm instead of yarn because it causes trouble in netlify
# Install dependencies
npx yarn install
yarn install

# Link local mermaid to live editor
npx yarn link mermaid
yarn link mermaid

# Force Build the site
npx yarn run build -- --force
yarn run build -- --force

0 comments on commit 72e6281

Please sign in to comment.