From 0ad44c12feead9d20c6a870a49327ada58d6e657 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Thu, 22 Aug 2024 19:41:19 +0530 Subject: [PATCH] chore: Fix peer dependencies --- packages/mermaid-layout-elk/package.json | 13 +++++++------ packages/mermaid-zenuml/package.json | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/mermaid-layout-elk/package.json b/packages/mermaid-layout-elk/package.json index f833dba523..a04a897ff9 100644 --- a/packages/mermaid-layout-elk/package.json +++ b/packages/mermaid-layout-elk/package.json @@ -1,6 +1,6 @@ { "name": "@mermaid-js/layout-elk", - "version": "0.0.1", + "version": "0.1.0", "description": "ELK layout engine for mermaid", "module": "dist/mermaid-layout-elk.core.mjs", "types": "dist/packages/mermaid-layout-elk/src/index.d.ts", @@ -34,13 +34,14 @@ "d3": "^7.9.0", "elkjs": "^0.9.3" }, - "peerDependencies": { + "devDependencies": { + "@types/d3": "^7.4.3", "mermaid": "workspace:^" }, + "peerDependencies": { + "mermaid": "^11.0.0" + }, "files": [ "dist" - ], - "devDependencies": { - "@types/d3": "^7.4.3" - } + ] } diff --git a/packages/mermaid-zenuml/package.json b/packages/mermaid-zenuml/package.json index 1a47a99d8a..43b950e128 100644 --- a/packages/mermaid-zenuml/package.json +++ b/packages/mermaid-zenuml/package.json @@ -40,7 +40,7 @@ "mermaid": "workspace:^" }, "peerDependencies": { - "mermaid": "workspace:>=10.0.0" + "mermaid": "^10 || ^11" }, "files": [ "dist"