Merge branch 'develop' into next

* develop: (61 commits)
  Revert "fix: Reduce gantt exclude days length"
  Commented out broken test (#4913)
  fix: Reduce gantt exclude days length
  Update docs
  Fix lint issue
  Fix release version
  Fix TopBar
  Add MC to integrations
  Add TopBar
  Fix docs
  Docs: Add Product Hunt info (#4900)
  Update docs
  Merge branch 'release/10.5.0'
  Mermaid release v10.5.0
  docs: typo fixed
  docs: typo fixed
  Fix for issue with backticks in ids in classDiagrams
  more fixes
  fix typo
  more link fixes
  ...
This commit is contained in:
Sidharth Vinod
2023-10-06 11:11:34 +05:30
70 changed files with 1229 additions and 386 deletions

View File

@@ -6,8 +6,15 @@ set -euxo pipefail
# Increase heap size
export NODE_OPTIONS="--max_old_space_size=4096"
# Build mermaid
pnpm build
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
popd
pnpm run -r clean
pnpm build:types
pnpm build:mermaid
# Clone the Mermaid Live Editor repository
rm -rf mermaid-live-editor