diff --git a/packages/mermaid-layout-elk/package.json b/packages/mermaid-layout-elk/package.json index 31ad7cb895..78ad309b8b 100644 --- a/packages/mermaid-layout-elk/package.json +++ b/packages/mermaid-layout-elk/package.json @@ -32,13 +32,13 @@ "d3": "^7.9.0", "elkjs": "^0.9.3" }, - "peerDependencies": { - "mermaid": "^11.0.0" - }, "devDependencies": { "@types/d3": "^7.4.3", "mermaid": "workspace:^" }, + "peerDependencies": { + "mermaid": "^11.0.0" + }, "files": [ "dist" ] diff --git a/packages/mermaid-zenuml/package.json b/packages/mermaid-zenuml/package.json index 8381cb4a5d..192f4e0c4f 100644 --- a/packages/mermaid-zenuml/package.json +++ b/packages/mermaid-zenuml/package.json @@ -39,7 +39,7 @@ "mermaid": "workspace:^" }, "peerDependencies": { - "mermaid": "^11.0.0" + "mermaid": "^10 || ^11" }, "files": [ "dist"