From fd6ce89933429ff26d0190dd868f9bc2db0621f6 Mon Sep 17 00:00:00 2001 From: Billiam Date: Tue, 21 Feb 2023 20:56:26 -0600 Subject: [PATCH 01/10] Add Deepdwn to native integrations list --- packages/mermaid/src/docs/ecosystem/integrations.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mermaid/src/docs/ecosystem/integrations.md b/packages/mermaid/src/docs/ecosystem/integrations.md index 87593d649..727580664 100644 --- a/packages/mermaid/src/docs/ecosystem/integrations.md +++ b/packages/mermaid/src/docs/ecosystem/integrations.md @@ -14,6 +14,7 @@ They also serve as proof of concept, for the variety of things that can be built - [Gitea](https://gitea.io) (**Native support**) - [Azure Devops](https://docs.microsoft.com/en-us/azure/devops/project/wiki/wiki-markdown-guidance?view=azure-devops#add-mermaid-diagrams-to-a-wiki-page) (**Native support**) - [Tuleap](https://docs.tuleap.org/user-guide/writing-in-tuleap.html#graphs) (**Native support**) +- [Deepdwn](https://billiam.itch.io/deepdwn) (**Native support**) - [Joplin](https://joplinapp.org) (**Native support**) - [Swimm](https://swimm.io) (**Native support**) - [Notion](https://notion.so) (**Native support**) From 7d4692f7b2b160f3bf64749e918f21bcf9414411 Mon Sep 17 00:00:00 2001 From: Billiam Date: Tue, 21 Feb 2023 21:24:39 -0600 Subject: [PATCH 02/10] Add deepdwn to cspell --- cSpell.json | 1 + 1 file changed, 1 insertion(+) diff --git a/cSpell.json b/cSpell.json index 6f93af103..1d3eec1b2 100644 --- a/cSpell.json +++ b/cSpell.json @@ -27,6 +27,7 @@ "cuzon", "cytoscape", "dagre", + "deepdwn", "descr", "docsify", "docsy", From 15231924cd6da1d2210dbff51df8e37fb069becb Mon Sep 17 00:00:00 2001 From: Billiam Date: Tue, 21 Feb 2023 21:50:02 -0600 Subject: [PATCH 03/10] Regenerate mermaid docs --- docs/ecosystem/integrations.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/ecosystem/integrations.md b/docs/ecosystem/integrations.md index 7ed989f7a..3db4a17bc 100644 --- a/docs/ecosystem/integrations.md +++ b/docs/ecosystem/integrations.md @@ -20,6 +20,7 @@ They also serve as proof of concept, for the variety of things that can be built - [Gitea](https://gitea.io) (**Native support**) - [Azure Devops](https://docs.microsoft.com/en-us/azure/devops/project/wiki/wiki-markdown-guidance?view=azure-devops#add-mermaid-diagrams-to-a-wiki-page) (**Native support**) - [Tuleap](https://docs.tuleap.org/user-guide/writing-in-tuleap.html#graphs) (**Native support**) +- [Deepdwn](https://billiam.itch.io/deepdwn) (**Native support**) - [Joplin](https://joplinapp.org) (**Native support**) - [Swimm](https://swimm.io) (**Native support**) - [Notion](https://notion.so) (**Native support**) From 8f830a1698d4380514ab2c8289b796f630ba10c1 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Wed, 22 Feb 2023 12:33:50 +0530 Subject: [PATCH 04/10] Fix readme link --- README.md | 2 +- README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f4cf8e105..d42e2f7e1 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Mermaid Generate diagrams from markdown-like text.

- +

diff --git a/README.zh-CN.md b/README.zh-CN.md index 65cf38645..2653ac72b 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -8,7 +8,7 @@ Mermaid 通过解析类 Markdown 的文本语法来实现图表的创建和动态修改。

- +

From ef20e0b77ab83f2c4a3c1eb60d613bb83d7c1a26 Mon Sep 17 00:00:00 2001 From: Yoshi404 <43542068+Julez404@users.noreply.github.com> Date: Wed, 22 Feb 2023 22:34:30 +0100 Subject: [PATCH 05/10] Doc (typo): remove duplicate "be" --- packages/mermaid/src/docs/syntax/sequenceDiagram.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mermaid/src/docs/syntax/sequenceDiagram.md b/packages/mermaid/src/docs/syntax/sequenceDiagram.md index 3f3818589..2b68e5de5 100644 --- a/packages/mermaid/src/docs/syntax/sequenceDiagram.md +++ b/packages/mermaid/src/docs/syntax/sequenceDiagram.md @@ -418,7 +418,7 @@ It is possible to get a sequence number attached to each arrow in a sequence dia ``` -It can also be be turned on via the diagram code as in the diagram: +It can also be turned on via the diagram code as in the diagram: ```mermaid-example sequenceDiagram From f8abc9c6d52ada97482048b1cf5863e604fd08a8 Mon Sep 17 00:00:00 2001 From: "Mr.Hope" Date: Thu, 23 Feb 2023 15:20:17 +0800 Subject: [PATCH 06/10] fix: fix exports "types" import should always be first --- packages/mermaid/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/mermaid/package.json b/packages/mermaid/package.json index 3fd41cb88..9fdef30b4 100644 --- a/packages/mermaid/package.json +++ b/packages/mermaid/package.json @@ -7,8 +7,8 @@ "types": "./dist/mermaid.d.ts", "exports": { ".": { - "import": "./dist/mermaid.core.mjs", - "types": "./dist/mermaid.d.ts" + "types": "./dist/mermaid.d.ts", + "import": "./dist/mermaid.core.mjs" }, "./*": "./*" }, From ca97210d67873c95763e116ec74db9136da2d8ab Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Thu, 23 Feb 2023 13:13:36 +0530 Subject: [PATCH 07/10] Update CHANGELOG.md --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 67672f2d0..6292d9680 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ ## [10.0.0](https://github.com/mermaid-js/mermaid/releases/tag/v10.0.0) +### Mermaid is ESM only! + +We've dropped the CJS support. So you will have to update your import scripts as follows. + +```html + +``` + ### mermaid.render is async and doesn't accept callbacks ```js From 8910ecb463dd2361541d99706ea00d127ed38a39 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Thu, 23 Feb 2023 13:18:49 +0530 Subject: [PATCH 08/10] Update CHANGELOG.md --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6292d9680..ecd70d732 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,10 @@ ## [10.0.0](https://github.com/mermaid-js/mermaid/releases/tag/v10.0.0) + ### Mermaid is ESM only! -We've dropped the CJS support. So you will have to update your import scripts as follows. +We've dropped CJS support. So, you will have to update your import scripts as follows. ```html ``` +You can keep using v9 by adding the `@9` in the CDN URL. +```diff +- ++ +``` + ### mermaid.render is async and doesn't accept callbacks ```js From 7372d7d6c53a40562c7e050de392472e9094100b Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Fri, 24 Feb 2023 12:31:29 +0530 Subject: [PATCH 09/10] fix Lint --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ecd70d732..7552efa3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,6 @@ ## [10.0.0](https://github.com/mermaid-js/mermaid/releases/tag/v10.0.0) - ### Mermaid is ESM only! We've dropped CJS support. So, you will have to update your import scripts as follows. @@ -15,6 +14,7 @@ We've dropped CJS support. So, you will have to update your import scripts as fo ``` You can keep using v9 by adding the `@9` in the CDN URL. + ```diff - + From 0409c5ac27d47d52dd519945957ca66876addcdb Mon Sep 17 00:00:00 2001 From: sidharthv96 Date: Fri, 24 Feb 2023 08:34:38 +0000 Subject: [PATCH 10/10] Update docs --- docs/syntax/sequenceDiagram.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/syntax/sequenceDiagram.md b/docs/syntax/sequenceDiagram.md index 5ca9a55f8..26f81452d 100644 --- a/docs/syntax/sequenceDiagram.md +++ b/docs/syntax/sequenceDiagram.md @@ -595,7 +595,7 @@ It is possible to get a sequence number attached to each arrow in a sequence dia ``` -It can also be be turned on via the diagram code as in the diagram: +It can also be turned on via the diagram code as in the diagram: ```mermaid-example sequenceDiagram