Skip to content

fix(docs): downgrade @mermaid-js/layout-elk to fix peer dep conflict#25

Merged
pratyush618 merged 2 commits into
masterfrom
fix/docs-site-peer-dep-conflict
Mar 30, 2026
Merged

fix(docs): downgrade @mermaid-js/layout-elk to fix peer dep conflict#25
pratyush618 merged 2 commits into
masterfrom
fix/docs-site-peer-dep-conflict

Conversation

@pratyush618
Copy link
Copy Markdown
Collaborator

Summary

  • @docusaurus/theme-mermaid@3.9.2 requires peer @mermaid-js/layout-elk@^0.1.9, but ^0.2.1 was specified
  • npm ci fails with ERESOLVE in CI (failed run)
  • Downgrade to ^0.1.9 to satisfy the peer dependency

Test plan

  • npm ci succeeds
  • npm run build succeeds

@docusaurus/theme-mermaid@3.9.2 requires @mermaid-js/layout-elk@^0.1.9
but ^0.2.1 was specified, causing npm ci to fail with ERESOLVE.
Dependabot PRs that update docs-site dependencies were not validated
because the docs workflow only triggered on push to master. Add a
pull_request trigger with the same path filters, and gate the deploy
step to only run on push to master.
@pratyush618 pratyush618 merged commit 17b9871 into master Mar 30, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant