mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Merge branch 'next' into add-pie-langium-parser
This commit is contained in:
commit
0c57433567
@ -49,8 +49,10 @@ module.exports = {
|
|||||||
'no-unused-vars': 'off',
|
'no-unused-vars': 'off',
|
||||||
'cypress/no-async-tests': 'off',
|
'cypress/no-async-tests': 'off',
|
||||||
'@typescript-eslint/consistent-type-imports': 'error',
|
'@typescript-eslint/consistent-type-imports': 'error',
|
||||||
|
'@typescript-eslint/no-explicit-any': 'warn',
|
||||||
'@typescript-eslint/no-floating-promises': 'error',
|
'@typescript-eslint/no-floating-promises': 'error',
|
||||||
'@typescript-eslint/no-misused-promises': 'error',
|
'@typescript-eslint/no-misused-promises': 'error',
|
||||||
|
'@typescript-eslint/no-unused-vars': 'warn',
|
||||||
'@typescript-eslint/ban-ts-comment': [
|
'@typescript-eslint/ban-ts-comment': [
|
||||||
'error',
|
'error',
|
||||||
{
|
{
|
||||||
|
5
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
5
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@ -17,6 +17,9 @@ body:
|
|||||||
- Use a clear and concise title
|
- Use a clear and concise title
|
||||||
- Fill out the text fields with as much detail as possible.
|
- Fill out the text fields with as much detail as possible.
|
||||||
- Never be shy to give us screenshots and/or code samples. It will help!
|
- Never be shy to give us screenshots and/or code samples. It will help!
|
||||||
|
|
||||||
|
There is a chance that the bug is already fixed in the git `develop` branch, but is not released yet.
|
||||||
|
So please check in [Live Editor - Develop](https://develop.git.mermaid.live) before raising an issue.
|
||||||
- type: textarea
|
- type: textarea
|
||||||
attributes:
|
attributes:
|
||||||
label: Description
|
label: Description
|
||||||
@ -43,7 +46,7 @@ body:
|
|||||||
attributes:
|
attributes:
|
||||||
label: Code Sample
|
label: Code Sample
|
||||||
description: |-
|
description: |-
|
||||||
If applicable, add the code sample or a link to the [Live Editor](https://mermaid.live).
|
If applicable, add the code sample or a link to the [Live Editor - Develop](https://develop.git.mermaid.live).
|
||||||
Any text pasted here will be rendered as a Code block.
|
Any text pasted here will be rendered as a Code block.
|
||||||
render: text
|
render: text
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
8
.github/ISSUE_TEMPLATE/config.yml
vendored
8
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -7,8 +7,14 @@ contact_links:
|
|||||||
url: https://join.slack.com/t/mermaid-talk/shared_invite/enQtNzc4NDIyNzk4OTAyLWVhYjQxOTI2OTg4YmE1ZmJkY2Y4MTU3ODliYmIwOTY3NDJlYjA0YjIyZTdkMDMyZTUwOGI0NjEzYmEwODcwOTE
|
url: https://join.slack.com/t/mermaid-talk/shared_invite/enQtNzc4NDIyNzk4OTAyLWVhYjQxOTI2OTg4YmE1ZmJkY2Y4MTU3ODliYmIwOTY3NDJlYjA0YjIyZTdkMDMyZTUwOGI0NjEzYmEwODcwOTE
|
||||||
about: Join our Community on Slack for Help and a casual chat.
|
about: Join our Community on Slack for Help and a casual chat.
|
||||||
- name: Documentation
|
- name: Documentation
|
||||||
url: https://mermaid-js.github.io
|
url: https://mermaid.js.org
|
||||||
about: Read our documentation for all that Mermaid.js can offer.
|
about: Read our documentation for all that Mermaid.js can offer.
|
||||||
- name: Live Editor
|
- name: Live Editor
|
||||||
url: https://mermaid.live
|
url: https://mermaid.live
|
||||||
about: Try the live editor to preview graphs in no time.
|
about: Try the live editor to preview graphs in no time.
|
||||||
|
- name: Live Editor - Develop
|
||||||
|
url: https://develop.git.mermaid.live
|
||||||
|
about: Try unreleased changes in the develop branch.
|
||||||
|
- name: Live Editor - Next
|
||||||
|
url: https://next.git.mermaid.live
|
||||||
|
about: Try unreleased changes in the next branch.
|
||||||
|
@ -59,8 +59,8 @@ representative at an online or offline event.
|
|||||||
## Enforcement
|
## Enforcement
|
||||||
|
|
||||||
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
||||||
reported to the community leaders responsible for enforcement at security@mermaid.live
|
reported to the community leaders responsible for enforcement at <security@mermaid.live>.
|
||||||
.
|
|
||||||
All complaints will be reviewed and investigated promptly and fairly.
|
All complaints will be reviewed and investigated promptly and fairly.
|
||||||
|
|
||||||
All community leaders are obligated to respect the privacy and security of the
|
All community leaders are obligated to respect the privacy and security of the
|
||||||
|
@ -20,6 +20,9 @@ Generate diagrams from markdown-like text.
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="./README.zh-CN.md">简体中文</a>
|
<a href="./README.zh-CN.md">简体中文</a>
|
||||||
</p>
|
</p>
|
||||||
|
<p align="center">
|
||||||
|
Try Live Editor previews of future releases: <a href="https://develop.git.mermaid.live/" title="Try the mermaid version from the develop branch.">Develop</a> | <a href="https://next.git.mermaid.live/" title="Try the mermaid version from the next branch.">Next</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
@ -56,9 +59,9 @@ Mermaid addresses this problem by enabling users to create easily modifiable dia
|
|||||||
|
|
||||||
Mermaid allows even non-programmers to easily create detailed diagrams through the [Mermaid Live Editor](https://mermaid.live/).<br/>
|
Mermaid allows even non-programmers to easily create detailed diagrams through the [Mermaid Live Editor](https://mermaid.live/).<br/>
|
||||||
[Tutorials](./docs/config/Tutorials.md) has video tutorials.
|
[Tutorials](./docs/config/Tutorials.md) has video tutorials.
|
||||||
Use Mermaid with your favorite applications, check out the list of [Integrations and Usages of Mermaid](./docs/ecosystem/integrations.md).
|
Use Mermaid with your favorite applications, check out the list of [Integrations and Usages of Mermaid](./docs/ecosystem/integrations-community.md).
|
||||||
|
|
||||||
You can also use Mermaid within [GitHub](https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/) as well many of your other favorite applications—check out the list of [Integrations and Usages of Mermaid](./docs/ecosystem/integrations.md).
|
You can also use Mermaid within [GitHub](https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/) as well many of your other favorite applications—check out the list of [Integrations and Usages of Mermaid](./docs/ecosystem/integrations-community.md).
|
||||||
|
|
||||||
For a more detailed introduction to Mermaid and some of its more basic uses, look to the [Beginner's Guide](./docs/intro/getting-started.md), [Usage](./docs/config/usage.md) and [Tutorials](./docs/config/Tutorials.md).
|
For a more detailed introduction to Mermaid and some of its more basic uses, look to the [Beginner's Guide](./docs/intro/getting-started.md), [Usage](./docs/config/usage.md) and [Tutorials](./docs/config/Tutorials.md).
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ Mermaid
|
|||||||
<p>
|
<p>
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://mermaid.live/"><b>Live Editor!</b></a>
|
<a href="https://mermaid.live/"><b>实时编辑器!</b></a>
|
||||||
</p>
|
</p>
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://mermaid.js.org">📖 文档</a> | <a href="https://mermaid.js.org/intro/">🚀 入门</a> | <a href="https://www.jsdelivr.com/package/npm/mermaid">🌐 CDN</a> | <a href="https://join.slack.com/t/mermaid-talk/shared_invite/enQtNzc4NDIyNzk4OTAyLWVhYjQxOTI2OTg4YmE1ZmJkY2Y4MTU3ODliYmIwOTY3NDJlYjA0YjIyZTdkMDMyZTUwOGI0NjEzYmEwODcwOTE" title="Slack invite">🙌 加入我们</a>
|
<a href="https://mermaid.js.org">📖 文档</a> | <a href="https://mermaid.js.org/intro/">🚀 入门</a> | <a href="https://www.jsdelivr.com/package/npm/mermaid">🌐 CDN</a> | <a href="https://join.slack.com/t/mermaid-talk/shared_invite/enQtNzc4NDIyNzk4OTAyLWVhYjQxOTI2OTg4YmE1ZmJkY2Y4MTU3ODliYmIwOTY3NDJlYjA0YjIyZTdkMDMyZTUwOGI0NjEzYmEwODcwOTE" title="Slack invite">🙌 加入我们</a>
|
||||||
@ -21,6 +21,10 @@ Mermaid
|
|||||||
<a href="./README.md">English</a>
|
<a href="./README.md">English</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
尝试未来版本的实时编辑器预览: <a href="https://develop.git.mermaid.live/" title="尝试来自develop分支的mermaid版本。">Develop</a> | <a href="https://next.git.mermaid.live/" title="尝试来自next分支的mermaid版本。">Next</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
|
|
||||||
@ -53,7 +57,7 @@ Mermaid 是一个基于 Javascript 的图表绘制工具,通过解析类 Markd
|
|||||||
Mermaid 通过允许用户创建便于修改的图表来解决这一难题,它也可以作为生产脚本(或其他代码)的一部分。<br/>
|
Mermaid 通过允许用户创建便于修改的图表来解决这一难题,它也可以作为生产脚本(或其他代码)的一部分。<br/>
|
||||||
<br/>
|
<br/>
|
||||||
Mermaid 甚至能让非程序员也能通过 [Mermaid Live Editor](https://mermaid.live/) 轻松创建详细的图表。<br/>
|
Mermaid 甚至能让非程序员也能通过 [Mermaid Live Editor](https://mermaid.live/) 轻松创建详细的图表。<br/>
|
||||||
你可以访问 [教程](./docs/config/Tutorials.md) 来查看 Live Editor 的视频教程,也可以查看 [Mermaid 的集成和使用](./docs/ecosystem/integrations.md) 这个清单来检查你的文档工具是否已经集成了 Mermaid 支持。
|
你可以访问 [教程](./docs/config/Tutorials.md) 来查看 Live Editor 的视频教程,也可以查看 [Mermaid 的集成和使用](./docs/ecosystem/integrations-community.md) 这个清单来检查你的文档工具是否已经集成了 Mermaid 支持。
|
||||||
|
|
||||||
如果想要查看关于 Mermaid 更详细的介绍及基础使用方式,可以查看 [入门指引](./docs/intro/getting-started.md), [用法](./docs/config/usage.md) 和 [教程](./docs/config/Tutorials.md).
|
如果想要查看关于 Mermaid 更详细的介绍及基础使用方式,可以查看 [入门指引](./docs/intro/getting-started.md), [用法](./docs/config/usage.md) 和 [教程](./docs/config/Tutorials.md).
|
||||||
|
|
||||||
|
@ -132,4 +132,9 @@ describe('XSS', () => {
|
|||||||
cy.wait(1000);
|
cy.wait(1000);
|
||||||
cy.get('#the-malware').should('not.exist');
|
cy.get('#the-malware').should('not.exist');
|
||||||
});
|
});
|
||||||
|
it('should sanitize backticks in class names properly', () => {
|
||||||
|
cy.visit('http://localhost:9000/xss24.html');
|
||||||
|
cy.wait(1000);
|
||||||
|
cy.get('#the-malware').should('not.exist');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
@ -520,6 +520,32 @@ describe('Gantt diagram', () => {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// TODO: fix it
|
||||||
|
//
|
||||||
|
// This test is skipped deliberately
|
||||||
|
// because it fails and blocks our development pipeline
|
||||||
|
// It was added as an attempt to fix gantt performance issues
|
||||||
|
//
|
||||||
|
// https://github.com/mermaid-js/mermaid/issues/3274
|
||||||
|
//
|
||||||
|
it.skip('should render a gantt diagram with very large intervals, skipping excludes if interval > 5 years', () => {
|
||||||
|
imgSnapshotTest(
|
||||||
|
`gantt
|
||||||
|
title A long Gantt Diagram
|
||||||
|
dateFormat YYYY-MM-DD
|
||||||
|
axisFormat %m-%d
|
||||||
|
tickInterval 1day
|
||||||
|
excludes weekends
|
||||||
|
section Section
|
||||||
|
A task : a1, 9999-10-01, 30d
|
||||||
|
Another task : after a1, 20d
|
||||||
|
section Another
|
||||||
|
Task in sec : 2022-10-20, 12d
|
||||||
|
another task : 24d
|
||||||
|
`
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
it('should render when compact is true', () => {
|
it('should render when compact is true', () => {
|
||||||
imgSnapshotTest(
|
imgSnapshotTest(
|
||||||
`
|
`
|
||||||
|
@ -160,4 +160,70 @@ describe('Quadrant Chart', () => {
|
|||||||
);
|
);
|
||||||
cy.get('svg');
|
cy.get('svg');
|
||||||
});
|
});
|
||||||
|
it('should render x-axis labels in the center, if x-axis has two labels', () => {
|
||||||
|
imgSnapshotTest(
|
||||||
|
`
|
||||||
|
quadrantChart
|
||||||
|
title Reach and engagement of campaigns
|
||||||
|
x-axis Low Reach --> High Reach
|
||||||
|
y-axis Low Engagement
|
||||||
|
quadrant-1 We should expand
|
||||||
|
quadrant-2 Need to promote
|
||||||
|
quadrant-3 Re-evaluate
|
||||||
|
quadrant-4 May be improved
|
||||||
|
Campaign A: [0.3, 0.6]
|
||||||
|
Campaign B: [0.45, 0.23]
|
||||||
|
Campaign C: [0.57, 0.69]
|
||||||
|
Campaign D: [0.78, 0.34]
|
||||||
|
Campaign E: [0.40, 0.34]
|
||||||
|
Campaign F: [0.35, 0.78]
|
||||||
|
`,
|
||||||
|
{}
|
||||||
|
);
|
||||||
|
cy.get('svg');
|
||||||
|
});
|
||||||
|
it('should render y-axis labels in the center, if y-axis has two labels', () => {
|
||||||
|
imgSnapshotTest(
|
||||||
|
`
|
||||||
|
quadrantChart
|
||||||
|
title Reach and engagement of campaigns
|
||||||
|
x-axis Low Reach
|
||||||
|
y-axis Low Engagement --> High Engagement
|
||||||
|
quadrant-1 We should expand
|
||||||
|
quadrant-2 Need to promote
|
||||||
|
quadrant-3 Re-evaluate
|
||||||
|
quadrant-4 May be improved
|
||||||
|
Campaign A: [0.3, 0.6]
|
||||||
|
Campaign B: [0.45, 0.23]
|
||||||
|
Campaign C: [0.57, 0.69]
|
||||||
|
Campaign D: [0.78, 0.34]
|
||||||
|
Campaign E: [0.40, 0.34]
|
||||||
|
Campaign F: [0.35, 0.78]
|
||||||
|
`,
|
||||||
|
{}
|
||||||
|
);
|
||||||
|
cy.get('svg');
|
||||||
|
});
|
||||||
|
it('should render both axes labels on the left and bottom, if both axes have only one label', () => {
|
||||||
|
imgSnapshotTest(
|
||||||
|
`
|
||||||
|
quadrantChart
|
||||||
|
title Reach and engagement of campaigns
|
||||||
|
x-axis Reach -->
|
||||||
|
y-axis Engagement -->
|
||||||
|
quadrant-1 We should expand
|
||||||
|
quadrant-2 Need to promote
|
||||||
|
quadrant-3 Re-evaluate
|
||||||
|
quadrant-4 May be improved
|
||||||
|
Campaign A: [0.3, 0.6]
|
||||||
|
Campaign B: [0.45, 0.23]
|
||||||
|
Campaign C: [0.57, 0.69]
|
||||||
|
Campaign D: [0.78, 0.34]
|
||||||
|
Campaign E: [0.40, 0.34]
|
||||||
|
Campaign F: [0.35, 0.78]
|
||||||
|
`,
|
||||||
|
{}
|
||||||
|
);
|
||||||
|
cy.get('svg');
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
File diff suppressed because one or more lines are too long
@ -58,12 +58,10 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<pre id="diagram" class="mermaid">
|
<pre id="diagram" class="mermaid">
|
||||||
flowchart
|
classDiagram
|
||||||
classDef mainCategories fill:#f9d5e5, stroke:#233d4d,stroke-width:2px, font-weight:bold;
|
`Class<img src=x onerror=alert(1)>` <|-- `Class2<img src=x onerror=alert(2)>`
|
||||||
CS(Customer Awareness Journey):::mainCategories
|
</pre>
|
||||||
</pre
|
<pre id="diagram" class="mermaid2">
|
||||||
>
|
|
||||||
<pre id="diagram" class="mermaid">
|
|
||||||
flowchart
|
flowchart
|
||||||
Node1:::class1 --> Node2:::class2
|
Node1:::class1 --> Node2:::class2
|
||||||
Node1:::class1 --> Node3:::class2
|
Node1:::class1 --> Node3:::class2
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
109
cypress/platform/xss24.html
Normal file
109
cypress/platform/xss24.html
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet" />
|
||||||
|
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet" />
|
||||||
|
<link
|
||||||
|
rel="stylesheet"
|
||||||
|
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
|
||||||
|
/>
|
||||||
|
<link
|
||||||
|
href="https://fonts.googleapis.com/css?family=Noto+Sans+SC&display=swap"
|
||||||
|
rel="stylesheet"
|
||||||
|
/>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
/* background: rgb(221, 208, 208); */
|
||||||
|
/* background:#333; */
|
||||||
|
font-family: 'Arial';
|
||||||
|
/* font-size: 18px !important; */
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
color: grey;
|
||||||
|
}
|
||||||
|
.mermaid2 {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.mermaid svg {
|
||||||
|
/* font-size: 18px !important; */
|
||||||
|
}
|
||||||
|
.malware {
|
||||||
|
position: fixed;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 150px;
|
||||||
|
background: red;
|
||||||
|
color: black;
|
||||||
|
display: flex;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
font-family: monospace;
|
||||||
|
font-size: 72px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div>Security check</div>
|
||||||
|
<div class="flex">
|
||||||
|
<div id="diagram" class="mermaid"></div>
|
||||||
|
<div id="res" class=""></div>
|
||||||
|
</div>
|
||||||
|
<script type="module">
|
||||||
|
import mermaid from './mermaid.esm.mjs';
|
||||||
|
mermaid.parseError = function (err, hash) {
|
||||||
|
// console.error('Mermaid error: ', err);
|
||||||
|
};
|
||||||
|
mermaid.initialize({
|
||||||
|
theme: 'forest',
|
||||||
|
arrowMarkerAbsolute: true,
|
||||||
|
// themeCSS: '.edgePath .path {stroke: red;} .arrowheadPath {fill: red;}',
|
||||||
|
logLevel: 0,
|
||||||
|
state: {
|
||||||
|
defaultRenderer: 'dagre-wrapper',
|
||||||
|
},
|
||||||
|
flowchart: {
|
||||||
|
// defaultRenderer: 'dagre-wrapper',
|
||||||
|
nodeSpacing: 10,
|
||||||
|
curve: 'cardinal',
|
||||||
|
htmlLabels: true,
|
||||||
|
},
|
||||||
|
htmlLabels: false,
|
||||||
|
// gantt: { axisFormat: '%m/%d/%Y' },
|
||||||
|
sequence: { actorFontFamily: 'courier', actorMargin: 50, showSequenceNumbers: false },
|
||||||
|
// sequenceDiagram: { actorMargin: 300 } // deprecated
|
||||||
|
// fontFamily: '"times", sans-serif',
|
||||||
|
// fontFamily: 'courier',
|
||||||
|
fontSize: 18,
|
||||||
|
curve: 'basis',
|
||||||
|
securityLevel: 'strict',
|
||||||
|
startOnLoad: false,
|
||||||
|
secure: ['secure', 'securityLevel', 'startOnLoad', 'maxTextSize'],
|
||||||
|
// themeVariables: {relationLabelColor: 'red'}
|
||||||
|
});
|
||||||
|
function callback() {
|
||||||
|
alert('It worked');
|
||||||
|
}
|
||||||
|
|
||||||
|
let diagram = 'classDiagram\n';
|
||||||
|
diagram += '`Class<img src=x on';
|
||||||
|
diagram += 'error=xssAttack()>` <|-- `Class2<img src=x on';
|
||||||
|
diagram += 'error=xssAttack()>`';
|
||||||
|
|
||||||
|
console.log(diagram);
|
||||||
|
// document.querySelector('#diagram').innerHTML = diagram;
|
||||||
|
const { svg } = await mermaid.render('diagram', diagram);
|
||||||
|
document.querySelector('#res').innerHTML = svg;
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
@ -84,14 +94,6 @@
|
|||||||
function callback() {
|
function callback() {
|
||||||
alert('It worked');
|
alert('It worked');
|
||||||
}
|
}
|
||||||
function xssAttack() {
|
|
||||||
const div = document.createElement('div');
|
|
||||||
div.id = 'the-malware';
|
|
||||||
div.className = 'malware';
|
|
||||||
div.innerHTML = 'XSS Succeeded';
|
|
||||||
document.getElementsByTagName('body')[0].appendChild(div);
|
|
||||||
throw new Error('XSS Succeeded');
|
|
||||||
}
|
|
||||||
let diagram = 'graph LR\n';
|
let diagram = 'graph LR\n';
|
||||||
diagram += 'B-->D("<img onerror=location=`java';
|
diagram += 'B-->D("<img onerror=location=`java';
|
||||||
// diagram += "script\u003aalert\u0028document.domain\u0029\` src=x>\"\);\n";
|
// diagram += "script\u003aalert\u0028document.domain\u0029\` src=x>\"\);\n";
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -42,6 +42,16 @@
|
|||||||
font-size: 72px;
|
font-size: 72px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<script>
|
||||||
|
function xssAttack() {
|
||||||
|
const div = document.createElement('div');
|
||||||
|
div.id = 'the-malware';
|
||||||
|
div.className = 'malware';
|
||||||
|
div.innerHTML = 'XSS Succeeded';
|
||||||
|
document.getElementsByTagName('body')[0].appendChild(div);
|
||||||
|
throw new Error('XSS Succeeded');
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div>Security check</div>
|
<div>Security check</div>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
version: '3.9'
|
version: '3.9'
|
||||||
services:
|
services:
|
||||||
mermaid:
|
mermaid:
|
||||||
image: node:18.17.1-alpine3.18
|
image: node:18.18.0-alpine3.18
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
tty: true
|
tty: true
|
||||||
working_dir: /mermaid
|
working_dir: /mermaid
|
||||||
|
@ -10,7 +10,7 @@ When mermaid starts, configuration is extracted to determine a configuration to
|
|||||||
|
|
||||||
- The default configuration
|
- The default configuration
|
||||||
- Overrides at the site level are set by the initialize call, and will be applied to all diagrams in the site/app. The term for this is the **siteConfig**.
|
- Overrides at the site level are set by the initialize call, and will be applied to all diagrams in the site/app. The term for this is the **siteConfig**.
|
||||||
- Frontmatter (v\<MERMAID_RELEASE_VERSION>+) - diagram authors can update select configuration parameters in the frontmatter of the diagram. These are applied to the render config.
|
- Frontmatter (v10.5.0+) - diagram authors can update select configuration parameters in the frontmatter of the diagram. These are applied to the render config.
|
||||||
- Directives (Deprecated by Frontmatter) - diagram authors can update select configuration parameters directly in the diagram code via directives. These are applied to the render config.
|
- Directives (Deprecated by Frontmatter) - diagram authors can update select configuration parameters directly in the diagram code via directives. These are applied to the render config.
|
||||||
|
|
||||||
**The render config** is configuration that is used when rendering by applying these configurations.
|
**The render config** is configuration that is used when rendering by applying these configurations.
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# Directives
|
# Directives
|
||||||
|
|
||||||
> **Warning**
|
> **Warning**
|
||||||
> Directives are deprecated from v\<MERMAID_RELEASE_VERSION>. Please use the `config` key in frontmatter to pass configuration. See [Configuration](./configuration.md) for more details.
|
> Directives are deprecated from v10.5.0. Please use the `config` key in frontmatter to pass configuration. See [Configuration](./configuration.md) for more details.
|
||||||
|
|
||||||
## Directives
|
## Directives
|
||||||
|
|
||||||
|
@ -2,53 +2,47 @@
|
|||||||
>
|
>
|
||||||
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
|
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
|
||||||
>
|
>
|
||||||
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/ecosystem/integrations.md](../../packages/mermaid/src/docs/ecosystem/integrations.md).
|
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/ecosystem/integrations-community.md](../../packages/mermaid/src/docs/ecosystem/integrations-community.md).
|
||||||
|
|
||||||
# Integrations
|
# Integrations
|
||||||
|
|
||||||
## Recommendations
|
## Official integration: [Mermaid Chart](./mermaid-chart.md)
|
||||||
|
|
||||||
### File Extension
|
We're excited about the growth of the Mermaid community, and the number of plugins and integrations that have been created with Mermaid.
|
||||||
|
|
||||||
Applications that support mermaid files [SHOULD](https://datatracker.ietf.org/doc/html/rfc2119#section-3) use `.mermaid` or `.mmd` file extensions.
|
## Community integrations
|
||||||
|
|
||||||
### MIME Type
|
Below are a list of community plugins and integrations created with Mermaid.
|
||||||
|
|
||||||
The recommended [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) for mermaid media is `text/vnd.mermaid`.
|
### Productivity tools
|
||||||
|
|
||||||
[IANA](https://www.iana.org/) recognition pending.
|
✅ = Native support
|
||||||
|
|
||||||
---
|
- [GitHub](https://github.com) ✅
|
||||||
|
- [Using code blocks](https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/) ✅
|
||||||
The following list is a compilation of different integrations and plugins that allow the rendering of mermaid definitions within other applications.
|
|
||||||
|
|
||||||
They also serve as proof of concept, for the variety of things that can be built with mermaid.
|
|
||||||
|
|
||||||
## Productivity
|
|
||||||
|
|
||||||
- [GitHub](https://github.com) (**Native support**)
|
|
||||||
- [Using code blocks](https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/) (**Native support**)
|
|
||||||
- [GitHub action: Compile mermaid to image](https://github.com/neenjaw/compile-mermaid-markdown-action)
|
- [GitHub action: Compile mermaid to image](https://github.com/neenjaw/compile-mermaid-markdown-action)
|
||||||
- [svg-generator](https://github.com/SimonKenyonShepard/mermaidjs-github-svg-generator)
|
- [svg-generator](https://github.com/SimonKenyonShepard/mermaidjs-github-svg-generator)
|
||||||
- [GitHub Writer](https://github.com/ckeditor/github-writer)
|
- [GitHub Writer](https://github.com/ckeditor/github-writer)
|
||||||
- [GitLab](https://docs.gitlab.com/ee/user/markdown.html#diagrams-and-flowcharts) (**Native support**)
|
- [GitLab](https://docs.gitlab.com/ee/user/markdown.html#diagrams-and-flowcharts) ✅
|
||||||
- [Gitea](https://gitea.io) (**Native support**)
|
- [Gitea](https://gitea.io) ✅
|
||||||
- [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**)
|
- [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) ✅
|
||||||
- [Tuleap](https://docs.tuleap.org/user-guide/writing-in-tuleap.html#graphs) (**Native support**)
|
- [Tuleap](https://docs.tuleap.org/user-guide/writing-in-tuleap.html#graphs) ✅
|
||||||
- [Mermaid Flow Visual Editor](https://www.mermaidflow.app) (**Native support**)
|
- [Mermaid Flow Visual Editor](https://www.mermaidflow.app) ✅
|
||||||
- [Deepdwn](https://billiam.itch.io/deepdwn) (**Native support**)
|
- [Deepdwn](https://billiam.itch.io/deepdwn) ✅
|
||||||
- [Joplin](https://joplinapp.org) (**Native support**)
|
- [Joplin](https://joplinapp.org) ✅
|
||||||
- [Slab](https://slab.com) (**Native support**)
|
- [Slab](https://slab.com) ✅
|
||||||
- [Swimm](https://swimm.io) (**Native support**)
|
- [Swimm](https://swimm.io) ✅
|
||||||
- [Notion](https://notion.so) (**Native support**)
|
- [Notion](https://notion.so) ✅
|
||||||
- [Observable](https://observablehq.com/@observablehq/mermaid) (**Native support**)
|
- [Observable](https://observablehq.com/@observablehq/mermaid) ✅
|
||||||
- [Obsidian](https://help.obsidian.md/Editing+and+formatting/Advanced+formatting+syntax#Diagram) (**Native support**)
|
- [Obsidian](https://help.obsidian.md/Editing+and+formatting/Advanced+formatting+syntax#Diagram) ✅
|
||||||
- [GitBook](https://gitbook.com)
|
- [GitBook](https://gitbook.com)
|
||||||
- [Mermaid Plugin](https://github.com/JozoVilcek/gitbook-plugin-mermaid)
|
- [Mermaid Plugin](https://github.com/JozoVilcek/gitbook-plugin-mermaid)
|
||||||
- [Markdown with Mermaid CLI](https://github.com/miao1007/gitbook-plugin-mermaid-cli)
|
- [Markdown with Mermaid CLI](https://github.com/miao1007/gitbook-plugin-mermaid-cli)
|
||||||
- [Mermaid plugin for GitBook](https://github.com/wwformat/gitbook-plugin-mermaid-pdf)
|
- [Mermaid plugin for GitBook](https://github.com/wwformat/gitbook-plugin-mermaid-pdf)
|
||||||
- [LiveBook](https://livebook.dev) (**Native support**)
|
- [LiveBook](https://livebook.dev) ✅
|
||||||
- [Atlassian Products](https://www.atlassian.com)
|
- [Atlassian Products](https://www.atlassian.com)
|
||||||
|
- [Mermaid Charts & Diagrams for Confluence](https://marketplace.atlassian.com/apps/1222572/)
|
||||||
|
- [Mermaid Charts & Diagrams for Jira](https://marketplace.atlassian.com/apps/1224537/)
|
||||||
- [Mermaid Live Editor for Confluence Cloud](https://marketplace.atlassian.com/apps/1231571/mermaid-live-editor-for-confluence?hosting=cloud&tab=overview)
|
- [Mermaid Live Editor for Confluence Cloud](https://marketplace.atlassian.com/apps/1231571/mermaid-live-editor-for-confluence?hosting=cloud&tab=overview)
|
||||||
- [Mermaid Plugin for Confluence](https://marketplace.atlassian.com/apps/1214124/mermaid-plugin-for-confluence?hosting=server&tab=overview)
|
- [Mermaid Plugin for Confluence](https://marketplace.atlassian.com/apps/1214124/mermaid-plugin-for-confluence?hosting=server&tab=overview)
|
||||||
- [CloudScript.io Addon](https://marketplace.atlassian.com/apps/1219878/cloudscript-io-mermaid-addon?hosting=cloud&tab=overview)
|
- [CloudScript.io Addon](https://marketplace.atlassian.com/apps/1219878/cloudscript-io-mermaid-addon?hosting=cloud&tab=overview)
|
||||||
@ -57,15 +51,19 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [Mermaid Macro](https://www.redmine.org/plugins/redmine_mermaid_macro)
|
- [Mermaid Macro](https://www.redmine.org/plugins/redmine_mermaid_macro)
|
||||||
- [redmine-mermaid](https://github.com/styz/redmine_mermaid)
|
- [redmine-mermaid](https://github.com/styz/redmine_mermaid)
|
||||||
- [markdown-for-mermaid-plugin](https://github.com/jamieh-mongolian/markdown-for-mermaid-plugin)
|
- [markdown-for-mermaid-plugin](https://github.com/jamieh-mongolian/markdown-for-mermaid-plugin)
|
||||||
- [JetBrains IDE eg Pycharm](https://www.jetbrains.com/go/guide/tips/mermaid-js-support-in-markdown/)
|
- [Mermaid Plugin for JetBrains IDEs](https://plugins.jetbrains.com/plugin/20146-mermaid)
|
||||||
- [mermerd](https://github.com/KarnerTh/mermerd)
|
- [mermerd](https://github.com/KarnerTh/mermerd)
|
||||||
- Visual Studio Code [Polyglot Interactive Notebooks](https://github.com/dotnet/interactive#net-interactive)
|
- Visual Studio Code [Polyglot Interactive Notebooks](https://github.com/dotnet/interactive#net-interactive)
|
||||||
|
|
||||||
## CRM/ERP/Similar
|
### CRM/ERP
|
||||||
|
|
||||||
|
Customer Relationship Management/Enterprise Resource Planning
|
||||||
|
|
||||||
- [coreBOS](https://blog.corebos.org/blog/december2019)
|
- [coreBOS](https://blog.corebos.org/blog/december2019)
|
||||||
|
|
||||||
## Blogs
|
### Blogging
|
||||||
|
|
||||||
|
Blogging frameworks and platforms
|
||||||
|
|
||||||
- [WordPress](https://wordpress.org)
|
- [WordPress](https://wordpress.org)
|
||||||
- [WordPress Markdown Editor](https://wordpress.org/plugins/wp-githuber-md)
|
- [WordPress Markdown Editor](https://wordpress.org/plugins/wp-githuber-md)
|
||||||
@ -77,7 +75,9 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [Nextra](https://nextra.site/)
|
- [Nextra](https://nextra.site/)
|
||||||
- [Mermaid](https://nextra.site/docs/guide/mermaid)
|
- [Mermaid](https://nextra.site/docs/guide/mermaid)
|
||||||
|
|
||||||
## CMS
|
### CMS/ECM
|
||||||
|
|
||||||
|
Content Management Systems/Enterprise Content Management
|
||||||
|
|
||||||
- [VitePress](https://vitepress.vuejs.org/)
|
- [VitePress](https://vitepress.vuejs.org/)
|
||||||
- [Plugin for Mermaid.js](https://emersonbottero.github.io/vitepress-plugin-mermaid/)
|
- [Plugin for Mermaid.js](https://emersonbottero.github.io/vitepress-plugin-mermaid/)
|
||||||
@ -87,7 +87,9 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [Mermaid Diagrams](https://github.com/DanielFlaum/grav-plugin-mermaid-diagrams)
|
- [Mermaid Diagrams](https://github.com/DanielFlaum/grav-plugin-mermaid-diagrams)
|
||||||
- [GitLab Markdown Adapter](https://github.com/Goutte/grav-plugin-gitlab-markdown-adapter)
|
- [GitLab Markdown Adapter](https://github.com/Goutte/grav-plugin-gitlab-markdown-adapter)
|
||||||
|
|
||||||
## Communication
|
### Communication
|
||||||
|
|
||||||
|
Communication tools and platforms
|
||||||
|
|
||||||
- [Discourse](https://discourse.org)
|
- [Discourse](https://discourse.org)
|
||||||
- [Mermaid Plugin](https://github.com/pnewell/discourse-mermaid), [And](https://github.com/unfoldingWord-dev/discourse-mermaid)
|
- [Mermaid Plugin](https://github.com/pnewell/discourse-mermaid), [And](https://github.com/unfoldingWord-dev/discourse-mermaid)
|
||||||
@ -98,7 +100,7 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [NodeBB](https://nodebb.org)
|
- [NodeBB](https://nodebb.org)
|
||||||
- [Mermaid Plugin](https://www.npmjs.com/package/nodebb-plugin-mermaid)
|
- [Mermaid Plugin](https://www.npmjs.com/package/nodebb-plugin-mermaid)
|
||||||
|
|
||||||
## Wikis
|
### Wikis
|
||||||
|
|
||||||
- [MediaWiki](https://www.mediawiki.org)
|
- [MediaWiki](https://www.mediawiki.org)
|
||||||
- [Mermaid Extension](https://www.mediawiki.org/wiki/Extension:Mermaid)
|
- [Mermaid Extension](https://www.mediawiki.org/wiki/Extension:Mermaid)
|
||||||
@ -114,7 +116,7 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [mermaid-tw5: full js library](https://github.com/efurlanm/mermaid-tw5)
|
- [mermaid-tw5: full js library](https://github.com/efurlanm/mermaid-tw5)
|
||||||
- [tw5-mermaid: wrapper for Mermaid Live](https://github.com/jasonmhoule/tw5-mermaid)
|
- [tw5-mermaid: wrapper for Mermaid Live](https://github.com/jasonmhoule/tw5-mermaid)
|
||||||
|
|
||||||
## Editor Plugins
|
### Editor Plugins
|
||||||
|
|
||||||
- [VS Code](https://code.visualstudio.com/)
|
- [VS Code](https://code.visualstudio.com/)
|
||||||
- [Markdown Preview Mermaid Support](https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid)
|
- [Markdown Preview Mermaid Support](https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid)
|
||||||
@ -165,8 +167,9 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [Standard Notes](https://standardnotes.com/)
|
- [Standard Notes](https://standardnotes.com/)
|
||||||
- [sn-mermaid](https://github.com/nienow/sn-mermaid)
|
- [sn-mermaid](https://github.com/nienow/sn-mermaid)
|
||||||
|
|
||||||
## Document Generation
|
### Document Generation
|
||||||
|
|
||||||
|
- [Swimm - Up-to-date diagrams with Swimm, the knowledge management tool for code](https://docs.swimm.io/Features/diagrams-and-charts)
|
||||||
- [Sphinx](https://www.sphinx-doc.org/en/master/)
|
- [Sphinx](https://www.sphinx-doc.org/en/master/)
|
||||||
- [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid)
|
- [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid)
|
||||||
- [remark](https://remark.js.org/)
|
- [remark](https://remark.js.org/)
|
||||||
@ -182,15 +185,15 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [mkdocs-material](https://github.com/squidfunk/mkdocs-material), check the [docs](https://squidfunk.github.io/mkdocs-material/reference/diagrams/)
|
- [mkdocs-material](https://github.com/squidfunk/mkdocs-material), check the [docs](https://squidfunk.github.io/mkdocs-material/reference/diagrams/)
|
||||||
- [Type Doc](https://typedoc.org/)
|
- [Type Doc](https://typedoc.org/)
|
||||||
- [typedoc-plugin-mermaid](https://www.npmjs.com/package/typedoc-plugin-mermaid)
|
- [typedoc-plugin-mermaid](https://www.npmjs.com/package/typedoc-plugin-mermaid)
|
||||||
- [Docsy Hugo Theme](https://www.docsy.dev/docs/adding-content/lookandfeel/#diagrams-with-mermaid) (Native support in theme)
|
- [Docsy Hugo Theme](https://www.docsy.dev/docs/adding-content/lookandfeel/#diagrams-with-mermaid) (native support in theme)
|
||||||
- [Codedoc](https://codedoc.cc/)
|
- [Codedoc](https://codedoc.cc/)
|
||||||
- [codedoc-mermaid-plugin](https://www.npmjs.com/package/codedoc-mermaid-plugin)
|
- [codedoc-mermaid-plugin](https://www.npmjs.com/package/codedoc-mermaid-plugin)
|
||||||
- [mdbook](https://rust-lang.github.io/mdBook/index.html)
|
- [mdbook](https://rust-lang.github.io/mdBook/index.html)
|
||||||
- [mdbook-mermaid](https://github.com/badboy/mdbook-mermaid)
|
- [mdbook-mermaid](https://github.com/badboy/mdbook-mermaid)
|
||||||
- [Quarto](https://quarto.org/)
|
- [Quarto](https://quarto.org/)
|
||||||
- [Typora](https://typora.io/) ([Native support](https://support.typora.io/Draw-Diagrams-With-Markdown/#mermaid))
|
- [Typora](https://typora.io/) ([native support](https://support.typora.io/Draw-Diagrams-With-Markdown/#mermaid))
|
||||||
|
|
||||||
## Browser Extensions
|
### Browser Extensions
|
||||||
|
|
||||||
| Name | Chrome Web Store | Firefox Add-ons | Opera | Edge | Source/Repository |
|
| Name | Chrome Web Store | Firefox Add-ons | Opera | Edge | Source/Repository |
|
||||||
| ------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
| ------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
||||||
@ -205,7 +208,7 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
| Monkeys | [🎡🔗](https://chrome.google.com/webstore/detail/monkeys-mermaid-for-githu/cplfdpoajbclbgphaphphcldamfkjlgi) | - | - | - | - |
|
| Monkeys | [🎡🔗](https://chrome.google.com/webstore/detail/monkeys-mermaid-for-githu/cplfdpoajbclbgphaphphcldamfkjlgi) | - | - | - | - |
|
||||||
| Mermaid Previewer | [🎡🔗](https://chrome.google.com/webstore/detail/mermaid-previewer/oidjnlhbegipkcklbdfnbkikplpghfdl) | - | - | - | - |
|
| Mermaid Previewer | [🎡🔗](https://chrome.google.com/webstore/detail/mermaid-previewer/oidjnlhbegipkcklbdfnbkikplpghfdl) | - | - | - | - |
|
||||||
|
|
||||||
## Other
|
### Other
|
||||||
|
|
||||||
- [Jekyll](https://jekyllrb.com/)
|
- [Jekyll](https://jekyllrb.com/)
|
||||||
- [jekyll-mermaid](https://rubygems.org/gems/jekyll-mermaid)
|
- [jekyll-mermaid](https://rubygems.org/gems/jekyll-mermaid)
|
31
docs/ecosystem/integrations-create.md
Normal file
31
docs/ecosystem/integrations-create.md
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
> **Warning**
|
||||||
|
>
|
||||||
|
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
|
||||||
|
>
|
||||||
|
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/ecosystem/integrations-create.md](../../packages/mermaid/src/docs/ecosystem/integrations-create.md).
|
||||||
|
|
||||||
|
# Integrations - create
|
||||||
|
|
||||||
|
## Recommendations
|
||||||
|
|
||||||
|
Below are recommendations for creating plugins and integrations with Mermaid.
|
||||||
|
|
||||||
|
### File Extension
|
||||||
|
|
||||||
|
Applications that support Mermaid files [SHOULD](https://datatracker.ietf.org/doc/html/rfc2119#section-3) use `.mermaid` or `.mmd` file extensions.
|
||||||
|
|
||||||
|
### MIME Type
|
||||||
|
|
||||||
|
The recommended [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) for Mermaid media is `text/vnd.mermaid`.
|
||||||
|
|
||||||
|
Currently pending [IANA](https://www.iana.org/) recognition.
|
||||||
|
|
||||||
|
## Showcase
|
||||||
|
|
||||||
|
### Mermaid Slack workspace
|
||||||
|
|
||||||
|
We would love to see what you create with Mermaid. Please share your creations with us in our [Slack](https://join.slack.com/t/mermaid-talk/shared_invite/zt-22p2r8p9y-qiyP1H38GjFQ6S6jbBkOxQ) workspace [#community-showcase](https://mermaid-talk.slack.com/archives/C05NK37LT40) channel.
|
||||||
|
|
||||||
|
### Add to Mermaid Ecosystem
|
||||||
|
|
||||||
|
If you have a plugin or integration that you'd like to add to our [Community integrations](/ecosystem/integrations-community) list, please [open a pull request](https://github.com/mermaid-js/mermaid).
|
47
docs/ecosystem/mermaid-chart.md
Normal file
47
docs/ecosystem/mermaid-chart.md
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
> **Warning**
|
||||||
|
>
|
||||||
|
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
|
||||||
|
>
|
||||||
|
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/ecosystem/mermaid-chart.md](../../packages/mermaid/src/docs/ecosystem/mermaid-chart.md).
|
||||||
|
|
||||||
|
# Mermaid Chart
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<a href="https://www.producthunt.com/posts/mermaid-chart?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-mermaid-chart" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=416671&theme=light" alt="Mermaid Chart - A smarter way to create diagrams | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
[Mermaid Chart](https://www.mermaidchart.com) was born out of the Mermaid open source project and was founded by Knut Sveidqvist together with Open Core Ventures. The lead developers from Mermaid have joined the company and there is a strong connection between the project we all love and Mermaid Chart. Mermaid Chart brings resources to the open source development of Mermaid and makes it possible to work with Mermaid professionally.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **Editor** - A web based editor for creating and editing Mermaid diagrams.
|
||||||
|
|
||||||
|
- **Presentation** - A presentation mode for viewing Mermaid diagrams in a slideshow format.
|
||||||
|
|
||||||
|
- **Collaboration** - A web based collaboration feature for multi-user editing on Mermaid diagrams in real-time (Pro plan).
|
||||||
|
|
||||||
|
- **Plugins** - A plugin system for extending the functionality of Mermaid. Currently includes [VS Code](https://marketplace.visualstudio.com/items?itemName=MermaidChart.vscode-mermaid-chart) and [ChatGPT](https://www.mermaidchart.com/plugins/chatgpt).
|
||||||
|
|
||||||
|
- **AI** - An AI chatbot that can generate Mermaid diagrams from text (Pro plan).
|
||||||
|
|
||||||
|
- **More** - To learn more, visit our [Product](https://www.mermaidchart.com/product) page.
|
||||||
|
|
||||||
|
## Plans
|
||||||
|
|
||||||
|
- **Free** - A free plan that includes five diagrams.
|
||||||
|
|
||||||
|
- **Pro** - A paid plan that includes unlimited diagrams, access to the collaboration feature, and more.
|
||||||
|
|
||||||
|
- **Enterprise** - A paid plan for enterprise use that includes all Pro features, and more.
|
||||||
|
|
||||||
|
## Access
|
||||||
|
|
||||||
|
Sign up for a free account at [Mermaid Chart](https://www.mermaidchart.com/app/sign-up).
|
||||||
|
|
||||||
|
Mermaid Chart is currently offering a 30-day free trial of our newly-launched Pro tier. To learn more, visit our [Pricing](https://mermaidchart.com/pricing) page.
|
||||||
|
|
||||||
|
## Mermaid JS contributions
|
||||||
|
|
||||||
|
First time contributors are eligible for a free Pro tier account for 1 year.
|
@ -1,9 +0,0 @@
|
|||||||
> **Warning**
|
|
||||||
>
|
|
||||||
> ## THIS IS AN AUTOGENERATED FILE. DO NOT EDIT.
|
|
||||||
>
|
|
||||||
> ## Please edit the corresponding file in [/packages/mermaid/src/docs/ecosystem/showcases.md](../../packages/mermaid/src/docs/ecosystem/showcases.md).
|
|
||||||
|
|
||||||
# Showcases
|
|
||||||
|
|
||||||
- [Swimm - Up-to-date diagrams with Swimm, the knowledge management tool for code](https://docs.swimm.io/Features/diagrams-and-charts).
|
|
@ -17,7 +17,7 @@ This section talks about the different ways to deploy Mermaid. Learning the [Syn
|
|||||||
## Four ways of using mermaid:
|
## Four ways of using mermaid:
|
||||||
|
|
||||||
1. Using the Mermaid Live Editor at [mermaid.live](https://mermaid.live).
|
1. Using the Mermaid Live Editor at [mermaid.live](https://mermaid.live).
|
||||||
2. Using [mermaid plugins](../ecosystem/integrations.md) with programs you are familiar with.
|
2. Using [mermaid plugins](../ecosystem/integrations-community.md) with programs you are familiar with.
|
||||||
3. Calling the Mermaid JavaScript API.
|
3. Calling the Mermaid JavaScript API.
|
||||||
4. Deploying Mermaid as a dependency.
|
4. Deploying Mermaid as a dependency.
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ and to View, <https://mermaid.live/view?gist=https://gist.github.com/sidharthv96
|
|||||||
|
|
||||||
## 2. Using Mermaid Plugins:
|
## 2. Using Mermaid Plugins:
|
||||||
|
|
||||||
You can generate mermaid diagrams from within popular applications using plug-ins. It can be done in the same way, you would use the Live Editor. Here's a list of [Mermaid Plugins](../ecosystem/integrations.md).
|
You can generate mermaid diagrams from within popular applications using plug-ins. It can be done in the same way, you would use the Live Editor. Here's a list of [Mermaid Plugins](../ecosystem/integrations-community.md).
|
||||||
|
|
||||||
**This is covered in greater detail in the [Usage section](../config/usage.md)**
|
**This is covered in greater detail in the [Usage section](../config/usage.md)**
|
||||||
|
|
||||||
|
@ -42,11 +42,12 @@ But not having diagrams or docs ruins productivity and hurts organizational lear
|
|||||||
Mermaid addresses this problem by enabling users to create easily modifiable diagrams, it can also be made part of production scripts (and other pieces of code).<br/> <br/>
|
Mermaid addresses this problem by enabling users to create easily modifiable diagrams, it can also be made part of production scripts (and other pieces of code).<br/> <br/>
|
||||||
Mermaid allows even non-programmers to easily create detailed and diagrams through the [Mermaid Live Editor](https://mermaid.live/).<br/>
|
Mermaid allows even non-programmers to easily create detailed and diagrams through the [Mermaid Live Editor](https://mermaid.live/).<br/>
|
||||||
[Tutorials](../config/Tutorials.md) has video tutorials.
|
[Tutorials](../config/Tutorials.md) has video tutorials.
|
||||||
Use Mermaid with your favorite applications, check out the list of [Integrations and Usages of Mermaid](../ecosystem/integrations.md).
|
|
||||||
|
Use Mermaid with your favorite applications, check out the list of [Community Integrations](../ecosystem/integrations-community.md).
|
||||||
|
|
||||||
For a more detailed introduction to Mermaid and some of its more basic uses, look to the [Beginner's Guide](../intro/getting-started.md) and [Usage](../config/usage.md).
|
For a more detailed introduction to Mermaid and some of its more basic uses, look to the [Beginner's Guide](../intro/getting-started.md) and [Usage](../config/usage.md).
|
||||||
|
|
||||||
🌐 [CDN](https://www.jsdelivr.com/package/npm/mermaid) | 📖 [Documentation](https://mermaidjs.github.io) | 🙌 [Contribution](../community/development.md) | 🔌 [Plug-Ins](../ecosystem/integrations.md)
|
🌐 [CDN](https://www.jsdelivr.com/package/npm/mermaid) | 📖 [Documentation](https://mermaidjs.github.io) | 🙌 [Contribution](../community/development.md) | 🔌 [Plug-Ins](../ecosystem/integrations-community.md)
|
||||||
|
|
||||||
> 🖖 Keep a steady pulse: mermaid needs more Collaborators, [Read More](https://github.com/knsv/mermaid/issues/866).
|
> 🖖 Keep a steady pulse: mermaid needs more Collaborators, [Read More](https://github.com/knsv/mermaid/issues/866).
|
||||||
|
|
||||||
|
@ -6,8 +6,18 @@
|
|||||||
|
|
||||||
# Announcements
|
# Announcements
|
||||||
|
|
||||||
## [Special cases broke Microsoft Zune and can ruin your code base too](https://www.mermaidchart.com/blog/posts/special-cases-broke-microsoft-zune-and-can-ruin-your-code-base-too/)
|
<br />
|
||||||
|
|
||||||
23 August 2023 · 15 mins
|
<a href="https://www.producthunt.com/posts/mermaid-chart?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-mermaid-chart" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=416671&theme=light" alt="Mermaid Chart - A smarter way to create diagrams | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
||||||
|
|
||||||
Read about the pitfalls of special cases in programming, illustrating how they can lead to complexity, diminish readability, and create maintenance challenges.
|
## Calling all fans of Mermaid and Mermaid Chart! 🎉
|
||||||
|
|
||||||
|
We’ve officially made our Product Hunt debut, and would love any and all support from the community!
|
||||||
|
|
||||||
|
[Click here](https://www.producthunt.com/posts/mermaid-chart?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-mermaid-chart) to check out our Product Hunt launch.
|
||||||
|
|
||||||
|
Feel free to drop us a comment and let us know what you think. All new sign ups will receive a 30-day free trial of our Pro subscription, plus 25% off your first year.
|
||||||
|
|
||||||
|
We’re on a mission to make text-based diagramming fun again. And we need your help to make that happen.
|
||||||
|
|
||||||
|
Your support means the world to us. Thank you for being part of the diagramming movement.
|
||||||
|
@ -6,6 +6,18 @@
|
|||||||
|
|
||||||
# Blog
|
# Blog
|
||||||
|
|
||||||
|
## [How to Make a Git Graph with Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-make-a-git-graph-with-mermaid-chart/)
|
||||||
|
|
||||||
|
22 September 2023 · 7 mins
|
||||||
|
|
||||||
|
A git graph is one of the more useful forms of diagrams for developers and DevOps professionals.
|
||||||
|
|
||||||
|
## [Present flow data using Sankey diagrams in Mermaid, thanks to Nikolay Rozhkov](https://www.mermaidchart.com/blog/posts/present-flow-data-using-sankey-diagrams/)
|
||||||
|
|
||||||
|
8 September 2023 · 4 mins
|
||||||
|
|
||||||
|
Sankey diagrams are a powerful tool for visualizing flow data.
|
||||||
|
|
||||||
## [Special cases broke Microsoft Zune and can ruin your code base too](https://www.mermaidchart.com/blog/posts/special-cases-broke-microsoft-zune-and-can-ruin-your-code-base-too/)
|
## [Special cases broke Microsoft Zune and can ruin your code base too](https://www.mermaidchart.com/blog/posts/special-cases-broke-microsoft-zune-and-can-ruin-your-code-base-too/)
|
||||||
|
|
||||||
23 August 2023 · 15 mins
|
23 August 2023 · 15 mins
|
||||||
|
@ -90,7 +90,7 @@ Mermaid syntax for ER diagrams is compatible with PlantUML, with an extension to
|
|||||||
|
|
||||||
Where:
|
Where:
|
||||||
|
|
||||||
- `first-entity` is the name of an entity. Names must begin with an alphabetic character or an underscore (from v\<MERMAID_RELEASE_VERSION>+), and may also contain digits and hyphens.
|
- `first-entity` is the name of an entity. Names must begin with an alphabetic character or an underscore (from v10.5.0+), and may also contain digits and hyphens.
|
||||||
- `relationship` describes the way that both entities inter-relate. See below.
|
- `relationship` describes the way that both entities inter-relate. See below.
|
||||||
- `second-entity` is the name of the other entity.
|
- `second-entity` is the name of the other entity.
|
||||||
- `relationship-label` describes the relationship from the perspective of the first entity.
|
- `relationship-label` describes the relationship from the perspective of the first entity.
|
||||||
@ -198,7 +198,7 @@ erDiagram
|
|||||||
|
|
||||||
The `type` values must begin with an alphabetic character and may contain digits, hyphens, underscores, parentheses and square brackets. The `name` values follow a similar format to `type`, but may start with an asterisk as another option to indicate an attribute is a primary key. Other than that, there are no restrictions, and there is no implicit set of valid data types.
|
The `type` values must begin with an alphabetic character and may contain digits, hyphens, underscores, parentheses and square brackets. The `name` values follow a similar format to `type`, but may start with an asterisk as another option to indicate an attribute is a primary key. Other than that, there are no restrictions, and there is no implicit set of valid data types.
|
||||||
|
|
||||||
### Entity Name Aliases (v\<MERMAID_RELEASE_VERSION>+)
|
### Entity Name Aliases (v10.5.0+)
|
||||||
|
|
||||||
An alias can be added to an entity using square brackets. If provided, the alias will be showed in the diagram instead of the entity name.
|
An alias can be added to an entity using square brackets. If provided, the alias will be showed in the diagram instead of the entity name.
|
||||||
|
|
||||||
|
@ -1146,7 +1146,7 @@ The layout of the diagram is done with the renderer. The default renderer is dag
|
|||||||
|
|
||||||
Starting with Mermaid version 9.4, you can use an alternate renderer named elk. The elk renderer is better for larger and/or more complex diagrams.
|
Starting with Mermaid version 9.4, you can use an alternate renderer named elk. The elk renderer is better for larger and/or more complex diagrams.
|
||||||
|
|
||||||
The _elk_ renderer is an experimenal feature.
|
The _elk_ renderer is an experimental feature.
|
||||||
You can change the renderer to elk by adding this directive:
|
You can change the renderer to elk by adding this directive:
|
||||||
|
|
||||||
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
|
%%{init: {"flowchart": {"defaultRenderer": "elk"}} }%%
|
||||||
|
@ -77,8 +77,8 @@
|
|||||||
"@types/node": "^18.16.0",
|
"@types/node": "^18.16.0",
|
||||||
"@types/prettier": "^2.7.2",
|
"@types/prettier": "^2.7.2",
|
||||||
"@types/rollup-plugin-visualizer": "^4.2.1",
|
"@types/rollup-plugin-visualizer": "^4.2.1",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
"@typescript-eslint/eslint-plugin": "^6.7.2",
|
||||||
"@typescript-eslint/parser": "^5.59.0",
|
"@typescript-eslint/parser": "^6.7.2",
|
||||||
"@vitest/coverage-v8": "^0.34.0",
|
"@vitest/coverage-v8": "^0.34.0",
|
||||||
"@vitest/spy": "^0.34.0",
|
"@vitest/spy": "^0.34.0",
|
||||||
"@vitest/ui": "^0.34.0",
|
"@vitest/ui": "^0.34.0",
|
||||||
@ -125,7 +125,7 @@
|
|||||||
"vitest": "^0.34.0"
|
"vitest": "^0.34.0"
|
||||||
},
|
},
|
||||||
"volta": {
|
"volta": {
|
||||||
"node": "18.17.1"
|
"node": "18.18.0"
|
||||||
},
|
},
|
||||||
"nyc": {
|
"nyc": {
|
||||||
"report-dir": "coverage/cypress"
|
"report-dir": "coverage/cypress"
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
"types:verify-config": "ts-node-esm scripts/create-types-from-json-schema.mts --verify",
|
"types:verify-config": "ts-node-esm scripts/create-types-from-json-schema.mts --verify",
|
||||||
"checkCircle": "npx madge --circular ./src",
|
"checkCircle": "npx madge --circular ./src",
|
||||||
"release": "pnpm build",
|
"release": "pnpm build",
|
||||||
"prepublishOnly": "cpy '../../README.*' ./ --cwd=. && pnpm -w run build"
|
"prepublishOnly": "cpy '../../README.*' ./ --cwd=. && pnpm docs:release-version && pnpm -w run build"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -21,7 +21,7 @@ const versionPlaceholder = '<MERMAID_RELEASE_VERSION>';
|
|||||||
const main = async () => {
|
const main = async () => {
|
||||||
const sourceDirGlob = posix.join('.', SOURCE_DOCS_DIR, '**');
|
const sourceDirGlob = posix.join('.', SOURCE_DOCS_DIR, '**');
|
||||||
const mdFileGlobs = getGlobs([posix.join(sourceDirGlob, '*.md')]);
|
const mdFileGlobs = getGlobs([posix.join(sourceDirGlob, '*.md')]);
|
||||||
mdFileGlobs.push('!**/community/development.md');
|
mdFileGlobs.push('!**/community/development.md', '!**/community/code.md');
|
||||||
const mdFiles = await getFilesFromGlobs(mdFileGlobs);
|
const mdFiles = await getFilesFromGlobs(mdFileGlobs);
|
||||||
mdFiles.sort();
|
mdFiles.sort();
|
||||||
const mdFilesWithPlaceholder: string[] = [];
|
const mdFilesWithPlaceholder: string[] = [];
|
||||||
|
@ -36,7 +36,8 @@ let functions: any[] = [];
|
|||||||
|
|
||||||
const sanitizeText = (txt: string) => common.sanitizeText(txt, configApi.getConfig());
|
const sanitizeText = (txt: string) => common.sanitizeText(txt, configApi.getConfig());
|
||||||
|
|
||||||
const splitClassNameAndType = function (id: string) {
|
const splitClassNameAndType = function (_id: string) {
|
||||||
|
const id = common.sanitizeText(_id, configApi.getConfig());
|
||||||
let genericType = '';
|
let genericType = '';
|
||||||
let className = id;
|
let className = id;
|
||||||
|
|
||||||
@ -49,7 +50,8 @@ const splitClassNameAndType = function (id: string) {
|
|||||||
return { className: className, type: genericType };
|
return { className: className, type: genericType };
|
||||||
};
|
};
|
||||||
|
|
||||||
export const setClassLabel = function (id: string, label: string) {
|
export const setClassLabel = function (_id: string, label: string) {
|
||||||
|
const id = common.sanitizeText(_id, configApi.getConfig());
|
||||||
if (label) {
|
if (label) {
|
||||||
label = sanitizeText(label);
|
label = sanitizeText(label);
|
||||||
}
|
}
|
||||||
@ -64,22 +66,25 @@ export const setClassLabel = function (id: string, label: string) {
|
|||||||
* @param id - Id of the class to add
|
* @param id - Id of the class to add
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
export const addClass = function (id: string) {
|
export const addClass = function (_id: string) {
|
||||||
|
const id = common.sanitizeText(_id, configApi.getConfig());
|
||||||
const { className, type } = splitClassNameAndType(id);
|
const { className, type } = splitClassNameAndType(id);
|
||||||
// Only add class if not exists
|
// Only add class if not exists
|
||||||
if (Object.hasOwn(classes, className)) {
|
if (Object.hasOwn(classes, className)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// alert('Adding class: ' + className);
|
||||||
classes[className] = {
|
const name = common.sanitizeText(className, configApi.getConfig());
|
||||||
id: className,
|
// alert('Adding class after: ' + name);
|
||||||
|
classes[name] = {
|
||||||
|
id: name,
|
||||||
type: type,
|
type: type,
|
||||||
label: className,
|
label: name,
|
||||||
cssClasses: [],
|
cssClasses: [],
|
||||||
methods: [],
|
methods: [],
|
||||||
members: [],
|
members: [],
|
||||||
annotations: [],
|
annotations: [],
|
||||||
domId: MERMAID_DOM_ID_PREFIX + className + '-' + classCounter,
|
domId: MERMAID_DOM_ID_PREFIX + name + '-' + classCounter,
|
||||||
} as ClassNode;
|
} as ClassNode;
|
||||||
|
|
||||||
classCounter++;
|
classCounter++;
|
||||||
@ -91,7 +96,8 @@ export const addClass = function (id: string) {
|
|||||||
* @param id - class ID to lookup
|
* @param id - class ID to lookup
|
||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
export const lookUpDomId = function (id: string): string {
|
export const lookUpDomId = function (_id: string): string {
|
||||||
|
const id = common.sanitizeText(_id, configApi.getConfig());
|
||||||
if (id in classes) {
|
if (id in classes) {
|
||||||
return classes[id].domId;
|
return classes[id].domId;
|
||||||
}
|
}
|
||||||
@ -296,7 +302,8 @@ export const setClickEvent = function (ids: string, functionName: string, functi
|
|||||||
setCssClass(ids, 'clickable');
|
setCssClass(ids, 'clickable');
|
||||||
};
|
};
|
||||||
|
|
||||||
const setClickFunc = function (domId: string, functionName: string, functionArgs: string) {
|
const setClickFunc = function (_domId: string, functionName: string, functionArgs: string) {
|
||||||
|
const domId = common.sanitizeText(_domId, configApi.getConfig());
|
||||||
const config = configApi.getConfig();
|
const config = configApi.getConfig();
|
||||||
if (config.securityLevel !== 'loose') {
|
if (config.securityLevel !== 'loose') {
|
||||||
return;
|
return;
|
||||||
|
File diff suppressed because one or more lines are too long
@ -497,20 +497,37 @@ export const draw = function (text, id, version, diagObj) {
|
|||||||
* @param w
|
* @param w
|
||||||
* @param h
|
* @param h
|
||||||
* @param tasks
|
* @param tasks
|
||||||
* @param excludes
|
* @param {unknown[]} excludes
|
||||||
* @param includes
|
* @param {unknown[]} includes
|
||||||
*/
|
*/
|
||||||
function drawExcludeDays(theGap, theTopPad, theSidePad, w, h, tasks, excludes, includes) {
|
function drawExcludeDays(theGap, theTopPad, theSidePad, w, h, tasks, excludes, includes) {
|
||||||
const minTime = tasks.reduce(
|
if (excludes.length === 0 && includes.length === 0) {
|
||||||
(min, { startTime }) => (min ? Math.min(min, startTime) : startTime),
|
return;
|
||||||
0
|
}
|
||||||
);
|
|
||||||
const maxTime = tasks.reduce((max, { endTime }) => (max ? Math.max(max, endTime) : endTime), 0);
|
let minTime;
|
||||||
const dateFormat = diagObj.db.getDateFormat();
|
let maxTime;
|
||||||
|
for (const { startTime, endTime } of tasks) {
|
||||||
|
if (minTime === undefined || startTime < minTime) {
|
||||||
|
minTime = startTime;
|
||||||
|
}
|
||||||
|
if (maxTime === undefined || endTime > maxTime) {
|
||||||
|
maxTime = endTime;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!minTime || !maxTime) {
|
if (!minTime || !maxTime) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (dayjs(maxTime).diff(dayjs(minTime), 'year') > 5) {
|
||||||
|
log.warn(
|
||||||
|
'The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.'
|
||||||
|
);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
const dateFormat = diagObj.db.getDateFormat();
|
||||||
const excludeRanges = [];
|
const excludeRanges = [];
|
||||||
let range = null;
|
let range = null;
|
||||||
let d = dayjs(minTime);
|
let d = dayjs(minTime);
|
||||||
|
@ -283,14 +283,17 @@ export class QuadrantBuilder {
|
|||||||
quadrantTop,
|
quadrantTop,
|
||||||
quadrantWidth,
|
quadrantWidth,
|
||||||
} = quadrantSpace;
|
} = quadrantSpace;
|
||||||
const drawAxisLabelInMiddle = this.data.points.length === 0;
|
|
||||||
|
const drawXAxisLabelsInMiddle = Boolean(this.data.xAxisRightText);
|
||||||
|
const drawYAxisLabelsInMiddle = Boolean(this.data.yAxisTopText);
|
||||||
|
|
||||||
const axisLabels: QuadrantTextType[] = [];
|
const axisLabels: QuadrantTextType[] = [];
|
||||||
|
|
||||||
if (this.data.xAxisLeftText && showXAxis) {
|
if (this.data.xAxisLeftText && showXAxis) {
|
||||||
axisLabels.push({
|
axisLabels.push({
|
||||||
text: this.data.xAxisLeftText,
|
text: this.data.xAxisLeftText,
|
||||||
fill: this.themeConfig.quadrantXAxisTextFill,
|
fill: this.themeConfig.quadrantXAxisTextFill,
|
||||||
x: quadrantLeft + (drawAxisLabelInMiddle ? quadrantHalfWidth / 2 : 0),
|
x: quadrantLeft + (drawXAxisLabelsInMiddle ? quadrantHalfWidth / 2 : 0),
|
||||||
y:
|
y:
|
||||||
xAxisPosition === 'top'
|
xAxisPosition === 'top'
|
||||||
? this.config.xAxisLabelPadding + titleSpace.top
|
? this.config.xAxisLabelPadding + titleSpace.top
|
||||||
@ -299,7 +302,7 @@ export class QuadrantBuilder {
|
|||||||
quadrantHeight +
|
quadrantHeight +
|
||||||
this.config.quadrantPadding,
|
this.config.quadrantPadding,
|
||||||
fontSize: this.config.xAxisLabelFontSize,
|
fontSize: this.config.xAxisLabelFontSize,
|
||||||
verticalPos: drawAxisLabelInMiddle ? 'center' : 'left',
|
verticalPos: drawXAxisLabelsInMiddle ? 'center' : 'left',
|
||||||
horizontalPos: 'top',
|
horizontalPos: 'top',
|
||||||
rotation: 0,
|
rotation: 0,
|
||||||
});
|
});
|
||||||
@ -308,7 +311,7 @@ export class QuadrantBuilder {
|
|||||||
axisLabels.push({
|
axisLabels.push({
|
||||||
text: this.data.xAxisRightText,
|
text: this.data.xAxisRightText,
|
||||||
fill: this.themeConfig.quadrantXAxisTextFill,
|
fill: this.themeConfig.quadrantXAxisTextFill,
|
||||||
x: quadrantLeft + quadrantHalfWidth + (drawAxisLabelInMiddle ? quadrantHalfWidth / 2 : 0),
|
x: quadrantLeft + quadrantHalfWidth + (drawXAxisLabelsInMiddle ? quadrantHalfWidth / 2 : 0),
|
||||||
y:
|
y:
|
||||||
xAxisPosition === 'top'
|
xAxisPosition === 'top'
|
||||||
? this.config.xAxisLabelPadding + titleSpace.top
|
? this.config.xAxisLabelPadding + titleSpace.top
|
||||||
@ -317,7 +320,7 @@ export class QuadrantBuilder {
|
|||||||
quadrantHeight +
|
quadrantHeight +
|
||||||
this.config.quadrantPadding,
|
this.config.quadrantPadding,
|
||||||
fontSize: this.config.xAxisLabelFontSize,
|
fontSize: this.config.xAxisLabelFontSize,
|
||||||
verticalPos: drawAxisLabelInMiddle ? 'center' : 'left',
|
verticalPos: drawXAxisLabelsInMiddle ? 'center' : 'left',
|
||||||
horizontalPos: 'top',
|
horizontalPos: 'top',
|
||||||
rotation: 0,
|
rotation: 0,
|
||||||
});
|
});
|
||||||
@ -334,9 +337,9 @@ export class QuadrantBuilder {
|
|||||||
quadrantLeft +
|
quadrantLeft +
|
||||||
quadrantWidth +
|
quadrantWidth +
|
||||||
this.config.quadrantPadding,
|
this.config.quadrantPadding,
|
||||||
y: quadrantTop + quadrantHeight - (drawAxisLabelInMiddle ? quadrantHalfHeight / 2 : 0),
|
y: quadrantTop + quadrantHeight - (drawYAxisLabelsInMiddle ? quadrantHalfHeight / 2 : 0),
|
||||||
fontSize: this.config.yAxisLabelFontSize,
|
fontSize: this.config.yAxisLabelFontSize,
|
||||||
verticalPos: drawAxisLabelInMiddle ? 'center' : 'left',
|
verticalPos: drawYAxisLabelsInMiddle ? 'center' : 'left',
|
||||||
horizontalPos: 'top',
|
horizontalPos: 'top',
|
||||||
rotation: -90,
|
rotation: -90,
|
||||||
});
|
});
|
||||||
@ -352,9 +355,10 @@ export class QuadrantBuilder {
|
|||||||
quadrantLeft +
|
quadrantLeft +
|
||||||
quadrantWidth +
|
quadrantWidth +
|
||||||
this.config.quadrantPadding,
|
this.config.quadrantPadding,
|
||||||
y: quadrantTop + quadrantHalfHeight - (drawAxisLabelInMiddle ? quadrantHalfHeight / 2 : 0),
|
y:
|
||||||
|
quadrantTop + quadrantHalfHeight - (drawYAxisLabelsInMiddle ? quadrantHalfHeight / 2 : 0),
|
||||||
fontSize: this.config.yAxisLabelFontSize,
|
fontSize: this.config.yAxisLabelFontSize,
|
||||||
verticalPos: drawAxisLabelInMiddle ? 'center' : 'left',
|
verticalPos: drawYAxisLabelsInMiddle ? 'center' : 'left',
|
||||||
horizontalPos: 'top',
|
horizontalPos: 'top',
|
||||||
rotation: -90,
|
rotation: -90,
|
||||||
});
|
});
|
||||||
|
@ -1421,6 +1421,12 @@ const buildMessageModel = function (msg, actors, diagObj) {
|
|||||||
return isArrowToRight ? -value : value;
|
return isArrowToRight ? -value : value;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if (msg.from === msg.to) {
|
||||||
|
// This is a self reference, so we need to make sure the arrow is drawn correctly
|
||||||
|
// There are many checks in the downstream rendering that checks for equality.
|
||||||
|
// The lines on loops will be off by few pixels, but that's fine for now.
|
||||||
|
stopx = startx;
|
||||||
|
} else {
|
||||||
/**
|
/**
|
||||||
* This is an edge case for the first activation.
|
* This is an edge case for the first activation.
|
||||||
* Proper fix would require significant changes.
|
* Proper fix would require significant changes.
|
||||||
@ -1439,6 +1445,7 @@ const buildMessageModel = function (msg, actors, diagObj) {
|
|||||||
if (![diagObj.db.LINETYPE.SOLID_OPEN, diagObj.db.LINETYPE.DOTTED_OPEN].includes(msg.type)) {
|
if (![diagObj.db.LINETYPE.SOLID_OPEN, diagObj.db.LINETYPE.DOTTED_OPEN].includes(msg.type)) {
|
||||||
stopx += adjustValue(3);
|
stopx += adjustValue(3);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
const allBounds = [fromLeft, fromRight, toLeft, toRight];
|
const allBounds = [fromLeft, fromRight, toLeft, toRight];
|
||||||
const boundedWidth = Math.abs(startx - stopx);
|
const boundedWidth = Math.abs(startx - stopx);
|
||||||
|
14
packages/mermaid/src/docs/.vitepress/components/TopBar.vue
Normal file
14
packages/mermaid/src/docs/.vitepress/components/TopBar.vue
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<template>
|
||||||
|
<div
|
||||||
|
class="w-full top-bar bg-gradient-to-r from-[#bd34fe] to-[#ff3670] flex items-center text-center justify-center p-1 text-white"
|
||||||
|
>
|
||||||
|
<a
|
||||||
|
href="https://www.producthunt.com/posts/mermaid-chart?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-mermaid-chart"
|
||||||
|
target="_blank"
|
||||||
|
>
|
||||||
|
We've made our Product Hunt debut!
|
||||||
|
<span class="underline">Show us some love and help spread the word</span>, plus receive 25%
|
||||||
|
off on annual Pro subscription!</a
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</template>
|
@ -71,7 +71,11 @@ function nav() {
|
|||||||
link: '/config/Tutorials',
|
link: '/config/Tutorials',
|
||||||
activeMatch: '/config/',
|
activeMatch: '/config/',
|
||||||
},
|
},
|
||||||
{ text: 'Integrations', link: '/ecosystem/integrations', activeMatch: '/ecosystem/' },
|
{
|
||||||
|
text: 'Integrations',
|
||||||
|
link: '/ecosystem/integrations-community',
|
||||||
|
activeMatch: '/ecosystem/',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: 'Contributing',
|
text: 'Contributing',
|
||||||
link: '/community/development.html',
|
link: '/community/development.html',
|
||||||
@ -180,8 +184,9 @@ function sidebarEcosystem() {
|
|||||||
text: '📚 Ecosystem',
|
text: '📚 Ecosystem',
|
||||||
collapsed: false,
|
collapsed: false,
|
||||||
items: [
|
items: [
|
||||||
{ text: 'Showcases', link: '/ecosystem/showcases' },
|
{ text: 'Mermaid Chart', link: '/ecosystem/mermaid-chart' },
|
||||||
{ text: 'Use-Cases and Integrations', link: '/ecosystem/integrations' },
|
{ text: 'Integrations - Community', link: '/ecosystem/integrations-community' },
|
||||||
|
{ text: 'Integrations - Create', link: '/ecosystem/integrations-create' },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
@ -6,6 +6,9 @@ import Mermaid from './Mermaid.vue';
|
|||||||
import Contributors from '../components/Contributors.vue';
|
import Contributors from '../components/Contributors.vue';
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import HomePage from '../components/HomePage.vue';
|
import HomePage from '../components/HomePage.vue';
|
||||||
|
// @ts-ignore
|
||||||
|
import TopBar from '../components/TopBar.vue';
|
||||||
|
|
||||||
import { getRedirect } from './redirect.js';
|
import { getRedirect } from './redirect.js';
|
||||||
|
|
||||||
import { h } from 'vue';
|
import { h } from 'vue';
|
||||||
@ -18,6 +21,7 @@ export default {
|
|||||||
...DefaultTheme,
|
...DefaultTheme,
|
||||||
Layout() {
|
Layout() {
|
||||||
return h(Theme.Layout, null, {
|
return h(Theme.Layout, null, {
|
||||||
|
'home-hero-before': () => h(TopBar),
|
||||||
'home-features-after': () => h(HomePage),
|
'home-features-after': () => h(HomePage),
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
@ -86,6 +86,8 @@ const urlRedirectMap: Record<string, string> = {
|
|||||||
// Old URL: New URL
|
// Old URL: New URL
|
||||||
'/misc/faq.html': 'configure/faq.html',
|
'/misc/faq.html': 'configure/faq.html',
|
||||||
'/syntax/c4c.html': 'syntax/c4.html',
|
'/syntax/c4c.html': 'syntax/c4.html',
|
||||||
|
'/ecosystem/integrations.html': 'ecosystem/integrations-community.html',
|
||||||
|
'/ecosystem/showcases.html': 'ecosystem/integrations-create',
|
||||||
'/config/n00b-advanced.html': 'config/advanced',
|
'/config/n00b-advanced.html': 'config/advanced',
|
||||||
'/intro/n00b-gettingStarted.html': 'intro/getting-started',
|
'/intro/n00b-gettingStarted.html': 'intro/getting-started',
|
||||||
'/intro/n00b-syntaxReference.html': 'intro/syntax-reference',
|
'/intro/n00b-syntaxReference.html': 'intro/syntax-reference',
|
||||||
|
@ -4,7 +4,7 @@ When mermaid starts, configuration is extracted to determine a configuration to
|
|||||||
|
|
||||||
- The default configuration
|
- The default configuration
|
||||||
- Overrides at the site level are set by the initialize call, and will be applied to all diagrams in the site/app. The term for this is the **siteConfig**.
|
- Overrides at the site level are set by the initialize call, and will be applied to all diagrams in the site/app. The term for this is the **siteConfig**.
|
||||||
- Frontmatter (v<MERMAID_RELEASE_VERSION>+) - diagram authors can update select configuration parameters in the frontmatter of the diagram. These are applied to the render config.
|
- Frontmatter (v10.5.0+) - diagram authors can update select configuration parameters in the frontmatter of the diagram. These are applied to the render config.
|
||||||
- Directives (Deprecated by Frontmatter) - diagram authors can update select configuration parameters directly in the diagram code via directives. These are applied to the render config.
|
- Directives (Deprecated by Frontmatter) - diagram authors can update select configuration parameters directly in the diagram code via directives. These are applied to the render config.
|
||||||
|
|
||||||
**The render config** is configuration that is used when rendering by applying these configurations.
|
**The render config** is configuration that is used when rendering by applying these configurations.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Directives
|
# Directives
|
||||||
|
|
||||||
```warning
|
```warning
|
||||||
Directives are deprecated from v<MERMAID_RELEASE_VERSION>. Please use the `config` key in frontmatter to pass configuration. See [Configuration](./configuration.md) for more details.
|
Directives are deprecated from v10.5.0. Please use the `config` key in frontmatter to pass configuration. See [Configuration](./configuration.md) for more details.
|
||||||
```
|
```
|
||||||
|
|
||||||
## Directives
|
## Directives
|
||||||
|
@ -1,48 +1,46 @@
|
|||||||
# Integrations
|
---
|
||||||
|
outline: 'deep' # shows all h3 headings in outline in Vitepress
|
||||||
## Recommendations
|
|
||||||
|
|
||||||
### File Extension
|
|
||||||
|
|
||||||
Applications that support mermaid files [SHOULD](https://datatracker.ietf.org/doc/html/rfc2119#section-3) use `.mermaid` or `.mmd` file extensions.
|
|
||||||
|
|
||||||
### MIME Type
|
|
||||||
|
|
||||||
The recommended [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) for mermaid media is `text/vnd.mermaid`.
|
|
||||||
|
|
||||||
[IANA](https://www.iana.org/) recognition pending.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
The following list is a compilation of different integrations and plugins that allow the rendering of mermaid definitions within other applications.
|
# Integrations
|
||||||
|
|
||||||
They also serve as proof of concept, for the variety of things that can be built with mermaid.
|
## Official integration: [Mermaid Chart](./mermaid-chart.md)
|
||||||
|
|
||||||
## Productivity
|
We're excited about the growth of the Mermaid community, and the number of plugins and integrations that have been created with Mermaid.
|
||||||
|
|
||||||
- [GitHub](https://github.com) (**Native support**)
|
## Community integrations
|
||||||
- [Using code blocks](https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/) (**Native support**)
|
|
||||||
|
Below are a list of community plugins and integrations created with Mermaid.
|
||||||
|
|
||||||
|
### Productivity tools
|
||||||
|
|
||||||
|
✅ = Native support
|
||||||
|
|
||||||
|
- [GitHub](https://github.com) ✅
|
||||||
|
- [Using code blocks](https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/) ✅
|
||||||
- [GitHub action: Compile mermaid to image](https://github.com/neenjaw/compile-mermaid-markdown-action)
|
- [GitHub action: Compile mermaid to image](https://github.com/neenjaw/compile-mermaid-markdown-action)
|
||||||
- [svg-generator](https://github.com/SimonKenyonShepard/mermaidjs-github-svg-generator)
|
- [svg-generator](https://github.com/SimonKenyonShepard/mermaidjs-github-svg-generator)
|
||||||
- [GitHub Writer](https://github.com/ckeditor/github-writer)
|
- [GitHub Writer](https://github.com/ckeditor/github-writer)
|
||||||
- [GitLab](https://docs.gitlab.com/ee/user/markdown.html#diagrams-and-flowcharts) (**Native support**)
|
- [GitLab](https://docs.gitlab.com/ee/user/markdown.html#diagrams-and-flowcharts) ✅
|
||||||
- [Gitea](https://gitea.io) (**Native support**)
|
- [Gitea](https://gitea.io) ✅
|
||||||
- [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**)
|
- [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) ✅
|
||||||
- [Tuleap](https://docs.tuleap.org/user-guide/writing-in-tuleap.html#graphs) (**Native support**)
|
- [Tuleap](https://docs.tuleap.org/user-guide/writing-in-tuleap.html#graphs) ✅
|
||||||
- [Mermaid Flow Visual Editor](https://www.mermaidflow.app) (**Native support**)
|
- [Mermaid Flow Visual Editor](https://www.mermaidflow.app) ✅
|
||||||
- [Deepdwn](https://billiam.itch.io/deepdwn) (**Native support**)
|
- [Deepdwn](https://billiam.itch.io/deepdwn) ✅
|
||||||
- [Joplin](https://joplinapp.org) (**Native support**)
|
- [Joplin](https://joplinapp.org) ✅
|
||||||
- [Slab](https://slab.com) (**Native support**)
|
- [Slab](https://slab.com) ✅
|
||||||
- [Swimm](https://swimm.io) (**Native support**)
|
- [Swimm](https://swimm.io) ✅
|
||||||
- [Notion](https://notion.so) (**Native support**)
|
- [Notion](https://notion.so) ✅
|
||||||
- [Observable](https://observablehq.com/@observablehq/mermaid) (**Native support**)
|
- [Observable](https://observablehq.com/@observablehq/mermaid) ✅
|
||||||
- [Obsidian](https://help.obsidian.md/Editing+and+formatting/Advanced+formatting+syntax#Diagram) (**Native support**)
|
- [Obsidian](https://help.obsidian.md/Editing+and+formatting/Advanced+formatting+syntax#Diagram) ✅
|
||||||
- [GitBook](https://gitbook.com)
|
- [GitBook](https://gitbook.com)
|
||||||
- [Mermaid Plugin](https://github.com/JozoVilcek/gitbook-plugin-mermaid)
|
- [Mermaid Plugin](https://github.com/JozoVilcek/gitbook-plugin-mermaid)
|
||||||
- [Markdown with Mermaid CLI](https://github.com/miao1007/gitbook-plugin-mermaid-cli)
|
- [Markdown with Mermaid CLI](https://github.com/miao1007/gitbook-plugin-mermaid-cli)
|
||||||
- [Mermaid plugin for GitBook](https://github.com/wwformat/gitbook-plugin-mermaid-pdf)
|
- [Mermaid plugin for GitBook](https://github.com/wwformat/gitbook-plugin-mermaid-pdf)
|
||||||
- [LiveBook](https://livebook.dev) (**Native support**)
|
- [LiveBook](https://livebook.dev) ✅
|
||||||
- [Atlassian Products](https://www.atlassian.com)
|
- [Atlassian Products](https://www.atlassian.com)
|
||||||
|
- [Mermaid Charts & Diagrams for Confluence](https://marketplace.atlassian.com/apps/1222572/)
|
||||||
|
- [Mermaid Charts & Diagrams for Jira](https://marketplace.atlassian.com/apps/1224537/)
|
||||||
- [Mermaid Live Editor for Confluence Cloud](https://marketplace.atlassian.com/apps/1231571/mermaid-live-editor-for-confluence?hosting=cloud&tab=overview)
|
- [Mermaid Live Editor for Confluence Cloud](https://marketplace.atlassian.com/apps/1231571/mermaid-live-editor-for-confluence?hosting=cloud&tab=overview)
|
||||||
- [Mermaid Plugin for Confluence](https://marketplace.atlassian.com/apps/1214124/mermaid-plugin-for-confluence?hosting=server&tab=overview)
|
- [Mermaid Plugin for Confluence](https://marketplace.atlassian.com/apps/1214124/mermaid-plugin-for-confluence?hosting=server&tab=overview)
|
||||||
- [CloudScript.io Addon](https://marketplace.atlassian.com/apps/1219878/cloudscript-io-mermaid-addon?hosting=cloud&tab=overview)
|
- [CloudScript.io Addon](https://marketplace.atlassian.com/apps/1219878/cloudscript-io-mermaid-addon?hosting=cloud&tab=overview)
|
||||||
@ -51,15 +49,19 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [Mermaid Macro](https://www.redmine.org/plugins/redmine_mermaid_macro)
|
- [Mermaid Macro](https://www.redmine.org/plugins/redmine_mermaid_macro)
|
||||||
- [redmine-mermaid](https://github.com/styz/redmine_mermaid)
|
- [redmine-mermaid](https://github.com/styz/redmine_mermaid)
|
||||||
- [markdown-for-mermaid-plugin](https://github.com/jamieh-mongolian/markdown-for-mermaid-plugin)
|
- [markdown-for-mermaid-plugin](https://github.com/jamieh-mongolian/markdown-for-mermaid-plugin)
|
||||||
- [JetBrains IDE eg Pycharm](https://www.jetbrains.com/go/guide/tips/mermaid-js-support-in-markdown/)
|
- [Mermaid Plugin for JetBrains IDEs](https://plugins.jetbrains.com/plugin/20146-mermaid)
|
||||||
- [mermerd](https://github.com/KarnerTh/mermerd)
|
- [mermerd](https://github.com/KarnerTh/mermerd)
|
||||||
- Visual Studio Code [Polyglot Interactive Notebooks](https://github.com/dotnet/interactive#net-interactive)
|
- Visual Studio Code [Polyglot Interactive Notebooks](https://github.com/dotnet/interactive#net-interactive)
|
||||||
|
|
||||||
## CRM/ERP/Similar
|
### CRM/ERP
|
||||||
|
|
||||||
|
Customer Relationship Management/Enterprise Resource Planning
|
||||||
|
|
||||||
- [coreBOS](https://blog.corebos.org/blog/december2019)
|
- [coreBOS](https://blog.corebos.org/blog/december2019)
|
||||||
|
|
||||||
## Blogs
|
### Blogging
|
||||||
|
|
||||||
|
Blogging frameworks and platforms
|
||||||
|
|
||||||
- [WordPress](https://wordpress.org)
|
- [WordPress](https://wordpress.org)
|
||||||
- [WordPress Markdown Editor](https://wordpress.org/plugins/wp-githuber-md)
|
- [WordPress Markdown Editor](https://wordpress.org/plugins/wp-githuber-md)
|
||||||
@ -71,7 +73,9 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [Nextra](https://nextra.site/)
|
- [Nextra](https://nextra.site/)
|
||||||
- [Mermaid](https://nextra.site/docs/guide/mermaid)
|
- [Mermaid](https://nextra.site/docs/guide/mermaid)
|
||||||
|
|
||||||
## CMS
|
### CMS/ECM
|
||||||
|
|
||||||
|
Content Management Systems/Enterprise Content Management
|
||||||
|
|
||||||
- [VitePress](https://vitepress.vuejs.org/)
|
- [VitePress](https://vitepress.vuejs.org/)
|
||||||
- [Plugin for Mermaid.js](https://emersonbottero.github.io/vitepress-plugin-mermaid/)
|
- [Plugin for Mermaid.js](https://emersonbottero.github.io/vitepress-plugin-mermaid/)
|
||||||
@ -81,7 +85,9 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [Mermaid Diagrams](https://github.com/DanielFlaum/grav-plugin-mermaid-diagrams)
|
- [Mermaid Diagrams](https://github.com/DanielFlaum/grav-plugin-mermaid-diagrams)
|
||||||
- [GitLab Markdown Adapter](https://github.com/Goutte/grav-plugin-gitlab-markdown-adapter)
|
- [GitLab Markdown Adapter](https://github.com/Goutte/grav-plugin-gitlab-markdown-adapter)
|
||||||
|
|
||||||
## Communication
|
### Communication
|
||||||
|
|
||||||
|
Communication tools and platforms
|
||||||
|
|
||||||
- [Discourse](https://discourse.org)
|
- [Discourse](https://discourse.org)
|
||||||
- [Mermaid Plugin](https://github.com/pnewell/discourse-mermaid), [And](https://github.com/unfoldingWord-dev/discourse-mermaid)
|
- [Mermaid Plugin](https://github.com/pnewell/discourse-mermaid), [And](https://github.com/unfoldingWord-dev/discourse-mermaid)
|
||||||
@ -92,7 +98,7 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [NodeBB](https://nodebb.org)
|
- [NodeBB](https://nodebb.org)
|
||||||
- [Mermaid Plugin](https://www.npmjs.com/package/nodebb-plugin-mermaid)
|
- [Mermaid Plugin](https://www.npmjs.com/package/nodebb-plugin-mermaid)
|
||||||
|
|
||||||
## Wikis
|
### Wikis
|
||||||
|
|
||||||
- [MediaWiki](https://www.mediawiki.org)
|
- [MediaWiki](https://www.mediawiki.org)
|
||||||
- [Mermaid Extension](https://www.mediawiki.org/wiki/Extension:Mermaid)
|
- [Mermaid Extension](https://www.mediawiki.org/wiki/Extension:Mermaid)
|
||||||
@ -108,7 +114,7 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [mermaid-tw5: full js library](https://github.com/efurlanm/mermaid-tw5)
|
- [mermaid-tw5: full js library](https://github.com/efurlanm/mermaid-tw5)
|
||||||
- [tw5-mermaid: wrapper for Mermaid Live](https://github.com/jasonmhoule/tw5-mermaid)
|
- [tw5-mermaid: wrapper for Mermaid Live](https://github.com/jasonmhoule/tw5-mermaid)
|
||||||
|
|
||||||
## Editor Plugins
|
### Editor Plugins
|
||||||
|
|
||||||
- [VS Code](https://code.visualstudio.com/)
|
- [VS Code](https://code.visualstudio.com/)
|
||||||
- [Markdown Preview Mermaid Support](https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid)
|
- [Markdown Preview Mermaid Support](https://marketplace.visualstudio.com/items?itemName=bierner.markdown-mermaid)
|
||||||
@ -159,8 +165,9 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [Standard Notes](https://standardnotes.com/)
|
- [Standard Notes](https://standardnotes.com/)
|
||||||
- [sn-mermaid](https://github.com/nienow/sn-mermaid)
|
- [sn-mermaid](https://github.com/nienow/sn-mermaid)
|
||||||
|
|
||||||
## Document Generation
|
### Document Generation
|
||||||
|
|
||||||
|
- [Swimm - Up-to-date diagrams with Swimm, the knowledge management tool for code](https://docs.swimm.io/Features/diagrams-and-charts)
|
||||||
- [Sphinx](https://www.sphinx-doc.org/en/master/)
|
- [Sphinx](https://www.sphinx-doc.org/en/master/)
|
||||||
- [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid)
|
- [sphinxcontrib-mermaid](https://github.com/mgaitan/sphinxcontrib-mermaid)
|
||||||
- [remark](https://remark.js.org/)
|
- [remark](https://remark.js.org/)
|
||||||
@ -176,15 +183,15 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
- [mkdocs-material](https://github.com/squidfunk/mkdocs-material), check the [docs](https://squidfunk.github.io/mkdocs-material/reference/diagrams/)
|
- [mkdocs-material](https://github.com/squidfunk/mkdocs-material), check the [docs](https://squidfunk.github.io/mkdocs-material/reference/diagrams/)
|
||||||
- [Type Doc](https://typedoc.org/)
|
- [Type Doc](https://typedoc.org/)
|
||||||
- [typedoc-plugin-mermaid](https://www.npmjs.com/package/typedoc-plugin-mermaid)
|
- [typedoc-plugin-mermaid](https://www.npmjs.com/package/typedoc-plugin-mermaid)
|
||||||
- [Docsy Hugo Theme](https://www.docsy.dev/docs/adding-content/lookandfeel/#diagrams-with-mermaid) (Native support in theme)
|
- [Docsy Hugo Theme](https://www.docsy.dev/docs/adding-content/lookandfeel/#diagrams-with-mermaid) (native support in theme)
|
||||||
- [Codedoc](https://codedoc.cc/)
|
- [Codedoc](https://codedoc.cc/)
|
||||||
- [codedoc-mermaid-plugin](https://www.npmjs.com/package/codedoc-mermaid-plugin)
|
- [codedoc-mermaid-plugin](https://www.npmjs.com/package/codedoc-mermaid-plugin)
|
||||||
- [mdbook](https://rust-lang.github.io/mdBook/index.html)
|
- [mdbook](https://rust-lang.github.io/mdBook/index.html)
|
||||||
- [mdbook-mermaid](https://github.com/badboy/mdbook-mermaid)
|
- [mdbook-mermaid](https://github.com/badboy/mdbook-mermaid)
|
||||||
- [Quarto](https://quarto.org/)
|
- [Quarto](https://quarto.org/)
|
||||||
- [Typora](https://typora.io/) ([Native support](https://support.typora.io/Draw-Diagrams-With-Markdown/#mermaid))
|
- [Typora](https://typora.io/) ([native support](https://support.typora.io/Draw-Diagrams-With-Markdown/#mermaid))
|
||||||
|
|
||||||
## Browser Extensions
|
### Browser Extensions
|
||||||
|
|
||||||
| Name | Chrome Web Store | Firefox Add-ons | Opera | Edge | Source/Repository |
|
| Name | Chrome Web Store | Firefox Add-ons | Opera | Edge | Source/Repository |
|
||||||
| ------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
| ------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
||||||
@ -199,7 +206,7 @@ They also serve as proof of concept, for the variety of things that can be built
|
|||||||
| Monkeys | [🎡🔗](https://chrome.google.com/webstore/detail/monkeys-mermaid-for-githu/cplfdpoajbclbgphaphphcldamfkjlgi) | - | - | - | - |
|
| Monkeys | [🎡🔗](https://chrome.google.com/webstore/detail/monkeys-mermaid-for-githu/cplfdpoajbclbgphaphphcldamfkjlgi) | - | - | - | - |
|
||||||
| Mermaid Previewer | [🎡🔗](https://chrome.google.com/webstore/detail/mermaid-previewer/oidjnlhbegipkcklbdfnbkikplpghfdl) | - | - | - | - |
|
| Mermaid Previewer | [🎡🔗](https://chrome.google.com/webstore/detail/mermaid-previewer/oidjnlhbegipkcklbdfnbkikplpghfdl) | - | - | - | - |
|
||||||
|
|
||||||
## Other
|
### Other
|
||||||
|
|
||||||
- [Jekyll](https://jekyllrb.com/)
|
- [Jekyll](https://jekyllrb.com/)
|
||||||
- [jekyll-mermaid](https://rubygems.org/gems/jekyll-mermaid)
|
- [jekyll-mermaid](https://rubygems.org/gems/jekyll-mermaid)
|
29
packages/mermaid/src/docs/ecosystem/integrations-create.md
Normal file
29
packages/mermaid/src/docs/ecosystem/integrations-create.md
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
outline: 'deep' # shows all h3 headings in outline in Vitepress
|
||||||
|
---
|
||||||
|
|
||||||
|
# Integrations - create
|
||||||
|
|
||||||
|
## Recommendations
|
||||||
|
|
||||||
|
Below are recommendations for creating plugins and integrations with Mermaid.
|
||||||
|
|
||||||
|
### File Extension
|
||||||
|
|
||||||
|
Applications that support Mermaid files [SHOULD](https://datatracker.ietf.org/doc/html/rfc2119#section-3) use `.mermaid` or `.mmd` file extensions.
|
||||||
|
|
||||||
|
### MIME Type
|
||||||
|
|
||||||
|
The recommended [MIME type](https://www.iana.org/assignments/media-types/media-types.xhtml) for Mermaid media is `text/vnd.mermaid`.
|
||||||
|
|
||||||
|
Currently pending [IANA](https://www.iana.org/) recognition.
|
||||||
|
|
||||||
|
## Showcase
|
||||||
|
|
||||||
|
### Mermaid Slack workspace
|
||||||
|
|
||||||
|
We would love to see what you create with Mermaid. Please share your creations with us in our [Slack](https://join.slack.com/t/mermaid-talk/shared_invite/zt-22p2r8p9y-qiyP1H38GjFQ6S6jbBkOxQ) workspace [#community-showcase](https://mermaid-talk.slack.com/archives/C05NK37LT40) channel.
|
||||||
|
|
||||||
|
### Add to Mermaid Ecosystem
|
||||||
|
|
||||||
|
If you have a plugin or integration that you'd like to add to our [Community integrations](/ecosystem/integrations-community) list, please [open a pull request](https://github.com/mermaid-js/mermaid).
|
45
packages/mermaid/src/docs/ecosystem/mermaid-chart.md
Normal file
45
packages/mermaid/src/docs/ecosystem/mermaid-chart.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
---
|
||||||
|
outline: 'deep' # shows all h3 headings in outline in Vitepress
|
||||||
|
---
|
||||||
|
|
||||||
|
# Mermaid Chart
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<a href="https://www.producthunt.com/posts/mermaid-chart?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-mermaid-chart" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=416671&theme=light" alt="Mermaid Chart - A smarter way to create diagrams | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
||||||
|
|
||||||
|
## About
|
||||||
|
|
||||||
|
[Mermaid Chart](https://www.mermaidchart.com) was born out of the Mermaid open source project and was founded by Knut Sveidqvist together with Open Core Ventures. The lead developers from Mermaid have joined the company and there is a strong connection between the project we all love and Mermaid Chart. Mermaid Chart brings resources to the open source development of Mermaid and makes it possible to work with Mermaid professionally.
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
- **Editor** - A web based editor for creating and editing Mermaid diagrams.
|
||||||
|
|
||||||
|
- **Presentation** - A presentation mode for viewing Mermaid diagrams in a slideshow format.
|
||||||
|
|
||||||
|
- **Collaboration** - A web based collaboration feature for multi-user editing on Mermaid diagrams in real-time (Pro plan).
|
||||||
|
|
||||||
|
- **Plugins** - A plugin system for extending the functionality of Mermaid. Currently includes [VS Code](https://marketplace.visualstudio.com/items?itemName=MermaidChart.vscode-mermaid-chart) and [ChatGPT](https://www.mermaidchart.com/plugins/chatgpt).
|
||||||
|
|
||||||
|
- **AI** - An AI chatbot that can generate Mermaid diagrams from text (Pro plan).
|
||||||
|
|
||||||
|
- **More** - To learn more, visit our [Product](https://www.mermaidchart.com/product) page.
|
||||||
|
|
||||||
|
## Plans
|
||||||
|
|
||||||
|
- **Free** - A free plan that includes five diagrams.
|
||||||
|
|
||||||
|
- **Pro** - A paid plan that includes unlimited diagrams, access to the collaboration feature, and more.
|
||||||
|
|
||||||
|
- **Enterprise** - A paid plan for enterprise use that includes all Pro features, and more.
|
||||||
|
|
||||||
|
## Access
|
||||||
|
|
||||||
|
Sign up for a free account at [Mermaid Chart](https://www.mermaidchart.com/app/sign-up).
|
||||||
|
|
||||||
|
Mermaid Chart is currently offering a 30-day free trial of our newly-launched Pro tier. To learn more, visit our [Pricing](https://mermaidchart.com/pricing) page.
|
||||||
|
|
||||||
|
## Mermaid JS contributions
|
||||||
|
|
||||||
|
First time contributors are eligible for a free Pro tier account for 1 year.
|
@ -1,3 +0,0 @@
|
|||||||
# Showcases
|
|
||||||
|
|
||||||
- [Swimm - Up-to-date diagrams with Swimm, the knowledge management tool for code](https://docs.swimm.io/Features/diagrams-and-charts).
|
|
@ -9,6 +9,7 @@ hero:
|
|||||||
name: Mermaid
|
name: Mermaid
|
||||||
text: Diagramming and charting tool
|
text: Diagramming and charting tool
|
||||||
tagline: JavaScript based diagramming and charting tool that renders Markdown-inspired text definitions to create and modify diagrams dynamically.
|
tagline: JavaScript based diagramming and charting tool that renders Markdown-inspired text definitions to create and modify diagrams dynamically.
|
||||||
|
|
||||||
image:
|
image:
|
||||||
src: /mermaid-logo.svg
|
src: /mermaid-logo.svg
|
||||||
alt: Mermaid
|
alt: Mermaid
|
||||||
@ -26,11 +27,11 @@ features:
|
|||||||
link: https://mermaid.live/
|
link: https://mermaid.live/
|
||||||
- title: 🧩 Integrations available!
|
- title: 🧩 Integrations available!
|
||||||
details: Use Mermaid with your favorite applications, check out the integrations list.
|
details: Use Mermaid with your favorite applications, check out the integrations list.
|
||||||
link: ../../ecosystem/integrations.md
|
link: ../../ecosystem/integrations-community.md
|
||||||
- title: 🏆 Award winning!
|
- title: 🏆 Award winning!
|
||||||
details: 2019 JavaScript Open Source Award winner for "The Most Exciting Use of Technology".
|
details: 2019 JavaScript Open Source Award winner for "The Most Exciting Use of Technology".
|
||||||
link: https://osawards.com/javascript/2019
|
link: https://osawards.com/javascript/2019
|
||||||
- title: 🥰 Mermaid + Mermaid Chart
|
- title: 🎉 We are on Product Hunt!
|
||||||
details: Mermaid Chart is a major supporter of the Mermaid project.
|
details: We would love any and all support from the Mermaid community!
|
||||||
link: https://www.mermaidchart.com/
|
link: https://www.producthunt.com/posts/mermaid-chart
|
||||||
---
|
---
|
||||||
|
@ -11,7 +11,7 @@ This section talks about the different ways to deploy Mermaid. Learning the [Syn
|
|||||||
## Four ways of using mermaid:
|
## Four ways of using mermaid:
|
||||||
|
|
||||||
1. Using the Mermaid Live Editor at [mermaid.live](https://mermaid.live).
|
1. Using the Mermaid Live Editor at [mermaid.live](https://mermaid.live).
|
||||||
2. Using [mermaid plugins](../ecosystem/integrations.md) with programs you are familiar with.
|
2. Using [mermaid plugins](../ecosystem/integrations-community.md) with programs you are familiar with.
|
||||||
3. Calling the Mermaid JavaScript API.
|
3. Calling the Mermaid JavaScript API.
|
||||||
4. Deploying Mermaid as a dependency.
|
4. Deploying Mermaid as a dependency.
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ and to View, https://mermaid.live/view?gist=https://gist.github.com/sidharthv96/
|
|||||||
|
|
||||||
## 2. Using Mermaid Plugins:
|
## 2. Using Mermaid Plugins:
|
||||||
|
|
||||||
You can generate mermaid diagrams from within popular applications using plug-ins. It can be done in the same way, you would use the Live Editor. Here's a list of [Mermaid Plugins](../ecosystem/integrations.md).
|
You can generate mermaid diagrams from within popular applications using plug-ins. It can be done in the same way, you would use the Live Editor. Here's a list of [Mermaid Plugins](../ecosystem/integrations-community.md).
|
||||||
|
|
||||||
**This is covered in greater detail in the [Usage section](../config/usage.md)**
|
**This is covered in greater detail in the [Usage section](../config/usage.md)**
|
||||||
|
|
||||||
|
@ -37,11 +37,12 @@ Mermaid addresses this problem by enabling users to create easily modifiable dia
|
|||||||
<br/>
|
<br/>
|
||||||
Mermaid allows even non-programmers to easily create detailed and diagrams through the [Mermaid Live Editor](https://mermaid.live/).<br/>
|
Mermaid allows even non-programmers to easily create detailed and diagrams through the [Mermaid Live Editor](https://mermaid.live/).<br/>
|
||||||
[Tutorials](../config/Tutorials.md) has video tutorials.
|
[Tutorials](../config/Tutorials.md) has video tutorials.
|
||||||
Use Mermaid with your favorite applications, check out the list of [Integrations and Usages of Mermaid](../ecosystem/integrations.md).
|
|
||||||
|
Use Mermaid with your favorite applications, check out the list of [Community Integrations](../ecosystem/integrations-community.md).
|
||||||
|
|
||||||
For a more detailed introduction to Mermaid and some of its more basic uses, look to the [Beginner's Guide](../intro/getting-started.md) and [Usage](../config/usage.md).
|
For a more detailed introduction to Mermaid and some of its more basic uses, look to the [Beginner's Guide](../intro/getting-started.md) and [Usage](../config/usage.md).
|
||||||
|
|
||||||
🌐 [CDN](https://www.jsdelivr.com/package/npm/mermaid) | 📖 [Documentation](https://mermaidjs.github.io) | 🙌 [Contribution](../community/development.md) | 🔌 [Plug-Ins](../ecosystem/integrations.md)
|
🌐 [CDN](https://www.jsdelivr.com/package/npm/mermaid) | 📖 [Documentation](https://mermaidjs.github.io) | 🙌 [Contribution](../community/development.md) | 🔌 [Plug-Ins](../ecosystem/integrations-community.md)
|
||||||
|
|
||||||
> 🖖 Keep a steady pulse: mermaid needs more Collaborators, [Read More](https://github.com/knsv/mermaid/issues/866).
|
> 🖖 Keep a steady pulse: mermaid needs more Collaborators, [Read More](https://github.com/knsv/mermaid/issues/866).
|
||||||
|
|
||||||
|
@ -1,7 +1,17 @@
|
|||||||
# Announcements
|
# Announcements
|
||||||
|
|
||||||
## [Special cases broke Microsoft Zune and can ruin your code base too](https://www.mermaidchart.com/blog/posts/special-cases-broke-microsoft-zune-and-can-ruin-your-code-base-too/)
|
<br />
|
||||||
|
|
||||||
23 August 2023 · 15 mins
|
<a href="https://www.producthunt.com/posts/mermaid-chart?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-mermaid-chart" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=416671&theme=light" alt="Mermaid Chart - A smarter way to create diagrams | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
||||||
|
|
||||||
Read about the pitfalls of special cases in programming, illustrating how they can lead to complexity, diminish readability, and create maintenance challenges.
|
## Calling all fans of Mermaid and Mermaid Chart! 🎉
|
||||||
|
|
||||||
|
We’ve officially made our Product Hunt debut, and would love any and all support from the community!
|
||||||
|
|
||||||
|
[Click here](https://www.producthunt.com/posts/mermaid-chart?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-mermaid-chart) to check out our Product Hunt launch.
|
||||||
|
|
||||||
|
Feel free to drop us a comment and let us know what you think. All new sign ups will receive a 30-day free trial of our Pro subscription, plus 25% off your first year.
|
||||||
|
|
||||||
|
We’re on a mission to make text-based diagramming fun again. And we need your help to make that happen.
|
||||||
|
|
||||||
|
Your support means the world to us. Thank you for being part of the diagramming movement.
|
||||||
|
@ -1,5 +1,17 @@
|
|||||||
# Blog
|
# Blog
|
||||||
|
|
||||||
|
## [How to Make a Git Graph with Mermaid Chart](https://www.mermaidchart.com/blog/posts/how-to-make-a-git-graph-with-mermaid-chart/)
|
||||||
|
|
||||||
|
22 September 2023 · 7 mins
|
||||||
|
|
||||||
|
A git graph is one of the more useful forms of diagrams for developers and DevOps professionals.
|
||||||
|
|
||||||
|
## [Present flow data using Sankey diagrams in Mermaid, thanks to Nikolay Rozhkov](https://www.mermaidchart.com/blog/posts/present-flow-data-using-sankey-diagrams/)
|
||||||
|
|
||||||
|
8 September 2023 · 4 mins
|
||||||
|
|
||||||
|
Sankey diagrams are a powerful tool for visualizing flow data.
|
||||||
|
|
||||||
## [Special cases broke Microsoft Zune and can ruin your code base too](https://www.mermaidchart.com/blog/posts/special-cases-broke-microsoft-zune-and-can-ruin-your-code-base-too/)
|
## [Special cases broke Microsoft Zune and can ruin your code base too](https://www.mermaidchart.com/blog/posts/special-cases-broke-microsoft-zune-and-can-ruin-your-code-base-too/)
|
||||||
|
|
||||||
23 August 2023 · 15 mins
|
23 August 2023 · 15 mins
|
||||||
|
@ -22,17 +22,17 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@iconify-json/carbon": "^1.1.16",
|
"@iconify-json/carbon": "^1.1.16",
|
||||||
"@unocss/reset": "^0.55.2",
|
"@unocss/reset": "^0.56.0",
|
||||||
"@vite-pwa/vitepress": "^0.2.0",
|
"@vite-pwa/vitepress": "^0.2.0",
|
||||||
"@vitejs/plugin-vue": "^4.2.1",
|
"@vitejs/plugin-vue": "^4.2.1",
|
||||||
"fast-glob": "^3.2.12",
|
"fast-glob": "^3.2.12",
|
||||||
"https-localhost": "^4.7.1",
|
"https-localhost": "^4.7.1",
|
||||||
"pathe": "^1.1.0",
|
"pathe": "^1.1.0",
|
||||||
"unocss": "^0.55.2",
|
"unocss": "^0.56.0",
|
||||||
"unplugin-vue-components": "^0.25.0",
|
"unplugin-vue-components": "^0.25.0",
|
||||||
"vite": "^4.3.9",
|
"vite": "^4.3.9",
|
||||||
"vite-plugin-pwa": "^0.16.0",
|
"vite-plugin-pwa": "^0.16.0",
|
||||||
"vitepress": "1.0.0-rc.14",
|
"vitepress": "1.0.0-rc.20",
|
||||||
"workbox-window": "^7.0.0"
|
"workbox-window": "^7.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@ Mermaid syntax for ER diagrams is compatible with PlantUML, with an extension to
|
|||||||
|
|
||||||
Where:
|
Where:
|
||||||
|
|
||||||
- `first-entity` is the name of an entity. Names must begin with an alphabetic character or an underscore (from v<MERMAID_RELEASE_VERSION>+), and may also contain digits and hyphens.
|
- `first-entity` is the name of an entity. Names must begin with an alphabetic character or an underscore (from v10.5.0+), and may also contain digits and hyphens.
|
||||||
- `relationship` describes the way that both entities inter-relate. See below.
|
- `relationship` describes the way that both entities inter-relate. See below.
|
||||||
- `second-entity` is the name of the other entity.
|
- `second-entity` is the name of the other entity.
|
||||||
- `relationship-label` describes the relationship from the perspective of the first entity.
|
- `relationship-label` describes the relationship from the perspective of the first entity.
|
||||||
@ -144,7 +144,7 @@ erDiagram
|
|||||||
|
|
||||||
The `type` values must begin with an alphabetic character and may contain digits, hyphens, underscores, parentheses and square brackets. The `name` values follow a similar format to `type`, but may start with an asterisk as another option to indicate an attribute is a primary key. Other than that, there are no restrictions, and there is no implicit set of valid data types.
|
The `type` values must begin with an alphabetic character and may contain digits, hyphens, underscores, parentheses and square brackets. The `name` values follow a similar format to `type`, but may start with an asterisk as another option to indicate an attribute is a primary key. Other than that, there are no restrictions, and there is no implicit set of valid data types.
|
||||||
|
|
||||||
### Entity Name Aliases (v<MERMAID_RELEASE_VERSION>+)
|
### Entity Name Aliases (v10.5.0+)
|
||||||
|
|
||||||
An alias can be added to an entity using square brackets. If provided, the alias will be showed in the diagram instead of the entity name.
|
An alias can be added to an entity using square brackets. If provided, the alias will be showed in the diagram instead of the entity name.
|
||||||
|
|
||||||
|
@ -783,7 +783,7 @@ The layout of the diagram is done with the renderer. The default renderer is dag
|
|||||||
|
|
||||||
Starting with Mermaid version 9.4, you can use an alternate renderer named elk. The elk renderer is better for larger and/or more complex diagrams.
|
Starting with Mermaid version 9.4, you can use an alternate renderer named elk. The elk renderer is better for larger and/or more complex diagrams.
|
||||||
|
|
||||||
The _elk_ renderer is an experimenal feature.
|
The _elk_ renderer is an experimental feature.
|
||||||
You can change the renderer to elk by adding this directive:
|
You can change the renderer to elk by adding this directive:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
505
pnpm-lock.yaml
generated
505
pnpm-lock.yaml
generated
@ -57,11 +57,11 @@ importers:
|
|||||||
specifier: ^4.2.1
|
specifier: ^4.2.1
|
||||||
version: 4.2.1
|
version: 4.2.1
|
||||||
'@typescript-eslint/eslint-plugin':
|
'@typescript-eslint/eslint-plugin':
|
||||||
specifier: ^5.59.0
|
specifier: ^6.7.2
|
||||||
version: 5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)(typescript@5.1.3)
|
version: 6.9.1(@typescript-eslint/parser@6.9.1)(eslint@8.39.0)(typescript@5.1.3)
|
||||||
'@typescript-eslint/parser':
|
'@typescript-eslint/parser':
|
||||||
specifier: ^5.59.0
|
specifier: ^6.7.2
|
||||||
version: 5.59.0(eslint@8.39.0)(typescript@5.1.3)
|
version: 6.9.1(eslint@8.39.0)(typescript@5.1.3)
|
||||||
'@vitest/coverage-v8':
|
'@vitest/coverage-v8':
|
||||||
specifier: ^0.34.0
|
specifier: ^0.34.0
|
||||||
version: 0.34.0(vitest@0.34.0)
|
version: 0.34.0(vitest@0.34.0)
|
||||||
@ -106,7 +106,7 @@ importers:
|
|||||||
version: 7.1.0
|
version: 7.1.0
|
||||||
eslint-plugin-jest:
|
eslint-plugin-jest:
|
||||||
specifier: ^27.2.1
|
specifier: ^27.2.1
|
||||||
version: 27.2.1(@typescript-eslint/eslint-plugin@5.59.0)(eslint@8.39.0)(jest@29.5.0)(typescript@5.1.3)
|
version: 27.2.1(@typescript-eslint/eslint-plugin@6.9.1)(eslint@8.39.0)(jest@29.5.0)(typescript@5.1.3)
|
||||||
eslint-plugin-jsdoc:
|
eslint-plugin-jsdoc:
|
||||||
specifier: ^46.0.0
|
specifier: ^46.0.0
|
||||||
version: 46.0.0(eslint@8.39.0)
|
version: 46.0.0(eslint@8.39.0)
|
||||||
@ -445,8 +445,8 @@ importers:
|
|||||||
specifier: ^1.1.16
|
specifier: ^1.1.16
|
||||||
version: 1.1.16
|
version: 1.1.16
|
||||||
'@unocss/reset':
|
'@unocss/reset':
|
||||||
specifier: ^0.55.2
|
specifier: ^0.56.0
|
||||||
version: 0.55.2
|
version: 0.56.5
|
||||||
'@vite-pwa/vitepress':
|
'@vite-pwa/vitepress':
|
||||||
specifier: ^0.2.0
|
specifier: ^0.2.0
|
||||||
version: 0.2.0(vite-plugin-pwa@0.16.0)
|
version: 0.2.0(vite-plugin-pwa@0.16.0)
|
||||||
@ -463,8 +463,8 @@ importers:
|
|||||||
specifier: ^1.1.0
|
specifier: ^1.1.0
|
||||||
version: 1.1.0
|
version: 1.1.0
|
||||||
unocss:
|
unocss:
|
||||||
specifier: ^0.55.2
|
specifier: ^0.56.0
|
||||||
version: 0.55.2(postcss@8.4.28)(rollup@2.79.1)(vite@4.3.9)
|
version: 0.56.5(postcss@8.4.28)(rollup@2.79.1)(vite@4.3.9)
|
||||||
unplugin-vue-components:
|
unplugin-vue-components:
|
||||||
specifier: ^0.25.0
|
specifier: ^0.25.0
|
||||||
version: 0.25.0(rollup@2.79.1)(vue@3.3.0)
|
version: 0.25.0(rollup@2.79.1)(vue@3.3.0)
|
||||||
@ -475,8 +475,8 @@ importers:
|
|||||||
specifier: ^0.16.0
|
specifier: ^0.16.0
|
||||||
version: 0.16.0(vite@4.3.9)(workbox-build@7.0.0)(workbox-window@7.0.0)
|
version: 0.16.0(vite@4.3.9)(workbox-build@7.0.0)(workbox-window@7.0.0)
|
||||||
vitepress:
|
vitepress:
|
||||||
specifier: 1.0.0-rc.14
|
specifier: 1.0.0-rc.20
|
||||||
version: 1.0.0-rc.14(@algolia/client-search@4.19.1)(@types/node@18.16.0)(search-insights@2.7.0)
|
version: 1.0.0-rc.20(@algolia/client-search@4.19.1)(@types/node@18.16.0)(postcss@8.4.28)(search-insights@2.7.0)
|
||||||
workbox-window:
|
workbox-window:
|
||||||
specifier: ^7.0.0
|
specifier: ^7.0.0
|
||||||
version: 7.0.0
|
version: 7.0.0
|
||||||
@ -3587,8 +3587,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
|
resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@iconify/utils@2.1.9:
|
/@iconify/utils@2.1.11:
|
||||||
resolution: {integrity: sha512-mo+A4n3MwLlWlg1SoSO+Dt6pOPWKElk9sSJ6ZpuzbB9OcjxN8RUWxU3ulPwB1nglErWKRam2x4BAohbYF7FiFA==}
|
resolution: {integrity: sha512-M/w3PkN8zQYXi8N6qK/KhnYMfEbbb6Sk8RZVn8g+Pmmu5ybw177RpsaGwpziyHeUsu4etrexYSWq3rwnIqzYCg==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@antfu/install-pkg': 0.1.1
|
'@antfu/install-pkg': 0.1.1
|
||||||
'@antfu/utils': 0.7.6
|
'@antfu/utils': 0.7.6
|
||||||
@ -4033,6 +4033,21 @@ packages:
|
|||||||
rollup: 2.79.1
|
rollup: 2.79.1
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@rollup/pluginutils@5.0.5(rollup@2.79.1):
|
||||||
|
resolution: {integrity: sha512-6aEYR910NyP73oHiJglti74iRyOwgFU4x3meH/H8OJx6Ry0j6cOVZ5X/wTvub7G7Ao6qaHBEaNsV3GLJkSsF+Q==}
|
||||||
|
engines: {node: '>=14.0.0'}
|
||||||
|
peerDependencies:
|
||||||
|
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
|
||||||
|
peerDependenciesMeta:
|
||||||
|
rollup:
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
'@types/estree': 1.0.1
|
||||||
|
estree-walker: 2.0.2
|
||||||
|
picomatch: 2.3.1
|
||||||
|
rollup: 2.79.1
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@sideway/address@4.1.4:
|
/@sideway/address@4.1.4:
|
||||||
resolution: {integrity: sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==}
|
resolution: {integrity: sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -4544,6 +4559,13 @@ packages:
|
|||||||
'@types/mdurl': 1.0.2
|
'@types/mdurl': 1.0.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@types/markdown-it@13.0.5:
|
||||||
|
resolution: {integrity: sha512-QhJP7hkq3FCrFNx0szMNCT/79CXfcEgUIA3jc5GBfeXqoKsk3R8JZm2wRXJ2DiyjbPE4VMFOSDemLFcUTZmHEQ==}
|
||||||
|
dependencies:
|
||||||
|
'@types/linkify-it': 3.0.2
|
||||||
|
'@types/mdurl': 1.0.2
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@types/mdast@3.0.11:
|
/@types/mdast@3.0.11:
|
||||||
resolution: {integrity: sha512-Y/uImid8aAwrEA24/1tcRZwpxX3pIFTSilcNDKSPn+Y2iDywSEachzRuvgAYYLR3wpGXAsMbv5lvKLDZLeYPAw==}
|
resolution: {integrity: sha512-Y/uImid8aAwrEA24/1tcRZwpxX3pIFTSilcNDKSPn+Y2iDywSEachzRuvgAYYLR3wpGXAsMbv5lvKLDZLeYPAw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -4748,34 +4770,6 @@ packages:
|
|||||||
dev: true
|
dev: true
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
/@typescript-eslint/eslint-plugin@5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)(typescript@5.1.3):
|
|
||||||
resolution: {integrity: sha512-p0QgrEyrxAWBecR56gyn3wkG15TJdI//eetInP3zYRewDh0XS+DhB3VUAd3QqvziFsfaQIoIuZMxZRB7vXYaYw==}
|
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
|
||||||
peerDependencies:
|
|
||||||
'@typescript-eslint/parser': ^5.0.0
|
|
||||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
|
||||||
typescript: '*'
|
|
||||||
peerDependenciesMeta:
|
|
||||||
typescript:
|
|
||||||
optional: true
|
|
||||||
dependencies:
|
|
||||||
'@eslint-community/regexpp': 4.6.2
|
|
||||||
'@typescript-eslint/parser': 5.59.0(eslint@8.39.0)(typescript@5.1.3)
|
|
||||||
'@typescript-eslint/scope-manager': 5.59.0
|
|
||||||
'@typescript-eslint/type-utils': 5.59.0(eslint@8.39.0)(typescript@5.1.3)
|
|
||||||
'@typescript-eslint/utils': 5.59.0(eslint@8.39.0)(typescript@5.1.3)
|
|
||||||
debug: 4.3.4(supports-color@8.1.1)
|
|
||||||
eslint: 8.39.0
|
|
||||||
grapheme-splitter: 1.0.4
|
|
||||||
ignore: 5.2.4
|
|
||||||
natural-compare-lite: 1.4.0
|
|
||||||
semver: 7.5.4
|
|
||||||
tsutils: 3.21.0(typescript@5.1.3)
|
|
||||||
typescript: 5.1.3
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- supports-color
|
|
||||||
dev: true
|
|
||||||
|
|
||||||
/@typescript-eslint/eslint-plugin@5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.47.0)(typescript@5.1.3):
|
/@typescript-eslint/eslint-plugin@5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.47.0)(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-p0QgrEyrxAWBecR56gyn3wkG15TJdI//eetInP3zYRewDh0XS+DhB3VUAd3QqvziFsfaQIoIuZMxZRB7vXYaYw==}
|
resolution: {integrity: sha512-p0QgrEyrxAWBecR56gyn3wkG15TJdI//eetInP3zYRewDh0XS+DhB3VUAd3QqvziFsfaQIoIuZMxZRB7vXYaYw==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -4804,21 +4798,30 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/parser@5.59.0(eslint@8.39.0)(typescript@5.1.3):
|
/@typescript-eslint/eslint-plugin@6.9.1(@typescript-eslint/parser@6.9.1)(eslint@8.39.0)(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-qK9TZ70eJtjojSUMrrEwA9ZDQ4N0e/AuoOIgXuNBorXYcBDk397D2r5MIe1B3cok/oCtdNC5j+lUUpVB+Dpb+w==}
|
resolution: {integrity: sha512-w0tiiRc9I4S5XSXXrMHOWgHgxbrBn1Ro+PmiYhSg2ZVdxrAJtQgzU5o2m1BfP6UOn7Vxcc6152vFjQfmZR4xEg==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
'@typescript-eslint/parser': ^6.0.0 || ^6.0.0-alpha
|
||||||
|
eslint: ^7.0.0 || ^8.0.0
|
||||||
typescript: '*'
|
typescript: '*'
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
typescript:
|
typescript:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/scope-manager': 5.59.0
|
'@eslint-community/regexpp': 4.6.2
|
||||||
'@typescript-eslint/types': 5.59.0
|
'@typescript-eslint/parser': 6.9.1(eslint@8.39.0)(typescript@5.1.3)
|
||||||
'@typescript-eslint/typescript-estree': 5.59.0(typescript@5.1.3)
|
'@typescript-eslint/scope-manager': 6.9.1
|
||||||
|
'@typescript-eslint/type-utils': 6.9.1(eslint@8.39.0)(typescript@5.1.3)
|
||||||
|
'@typescript-eslint/utils': 6.9.1(eslint@8.39.0)(typescript@5.1.3)
|
||||||
|
'@typescript-eslint/visitor-keys': 6.9.1
|
||||||
debug: 4.3.4(supports-color@8.1.1)
|
debug: 4.3.4(supports-color@8.1.1)
|
||||||
eslint: 8.39.0
|
eslint: 8.39.0
|
||||||
|
graphemer: 1.4.0
|
||||||
|
ignore: 5.2.4
|
||||||
|
natural-compare: 1.4.0
|
||||||
|
semver: 7.5.4
|
||||||
|
ts-api-utils: 1.0.3(typescript@5.1.3)
|
||||||
typescript: 5.1.3
|
typescript: 5.1.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
@ -4844,6 +4847,27 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@typescript-eslint/parser@6.9.1(eslint@8.39.0)(typescript@5.1.3):
|
||||||
|
resolution: {integrity: sha512-C7AK2wn43GSaCUZ9do6Ksgi2g3mwFkMO3Cis96kzmgudoVaKyt62yNzJOktP0HDLb/iO2O0n2lBOzJgr6Q/cyg==}
|
||||||
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
|
peerDependencies:
|
||||||
|
eslint: ^7.0.0 || ^8.0.0
|
||||||
|
typescript: '*'
|
||||||
|
peerDependenciesMeta:
|
||||||
|
typescript:
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
'@typescript-eslint/scope-manager': 6.9.1
|
||||||
|
'@typescript-eslint/types': 6.9.1
|
||||||
|
'@typescript-eslint/typescript-estree': 6.9.1(typescript@5.1.3)
|
||||||
|
'@typescript-eslint/visitor-keys': 6.9.1
|
||||||
|
debug: 4.3.4(supports-color@8.1.1)
|
||||||
|
eslint: 8.39.0
|
||||||
|
typescript: 5.1.3
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/scope-manager@5.59.0:
|
/@typescript-eslint/scope-manager@5.59.0:
|
||||||
resolution: {integrity: sha512-tsoldKaMh7izN6BvkK6zRMINj4Z2d6gGhO2UsI8zGZY3XhLq1DndP3Ycjhi1JwdwPRwtLMW4EFPgpuKhbCGOvQ==}
|
resolution: {integrity: sha512-tsoldKaMh7izN6BvkK6zRMINj4Z2d6gGhO2UsI8zGZY3XhLq1DndP3Ycjhi1JwdwPRwtLMW4EFPgpuKhbCGOvQ==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -4860,24 +4884,12 @@ packages:
|
|||||||
'@typescript-eslint/visitor-keys': 5.62.0
|
'@typescript-eslint/visitor-keys': 5.62.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/type-utils@5.59.0(eslint@8.39.0)(typescript@5.1.3):
|
/@typescript-eslint/scope-manager@6.9.1:
|
||||||
resolution: {integrity: sha512-d/B6VSWnZwu70kcKQSCqjcXpVH+7ABKH8P1KNn4K7j5PXXuycZTPXF44Nui0TEm6rbWGi8kc78xRgOC4n7xFgA==}
|
resolution: {integrity: sha512-38IxvKB6NAne3g/+MyXMs2Cda/Sz+CEpmm+KLGEM8hx/CvnSRuw51i8ukfwB/B/sESdeTGet1NH1Wj7I0YXswg==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
peerDependencies:
|
|
||||||
eslint: '*'
|
|
||||||
typescript: '*'
|
|
||||||
peerDependenciesMeta:
|
|
||||||
typescript:
|
|
||||||
optional: true
|
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/typescript-estree': 5.59.0(typescript@5.1.3)
|
'@typescript-eslint/types': 6.9.1
|
||||||
'@typescript-eslint/utils': 5.59.0(eslint@8.39.0)(typescript@5.1.3)
|
'@typescript-eslint/visitor-keys': 6.9.1
|
||||||
debug: 4.3.4(supports-color@8.1.1)
|
|
||||||
eslint: 8.39.0
|
|
||||||
tsutils: 3.21.0(typescript@5.1.3)
|
|
||||||
typescript: 5.1.3
|
|
||||||
transitivePeerDependencies:
|
|
||||||
- supports-color
|
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/type-utils@5.59.0(eslint@8.47.0)(typescript@5.1.3):
|
/@typescript-eslint/type-utils@5.59.0(eslint@8.47.0)(typescript@5.1.3):
|
||||||
@ -4900,6 +4912,26 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@typescript-eslint/type-utils@6.9.1(eslint@8.39.0)(typescript@5.1.3):
|
||||||
|
resolution: {integrity: sha512-eh2oHaUKCK58qIeYp19F5V5TbpM52680sB4zNSz29VBQPTWIlE/hCj5P5B1AChxECe/fmZlspAWFuRniep1Skg==}
|
||||||
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
|
peerDependencies:
|
||||||
|
eslint: ^7.0.0 || ^8.0.0
|
||||||
|
typescript: '*'
|
||||||
|
peerDependenciesMeta:
|
||||||
|
typescript:
|
||||||
|
optional: true
|
||||||
|
dependencies:
|
||||||
|
'@typescript-eslint/typescript-estree': 6.9.1(typescript@5.1.3)
|
||||||
|
'@typescript-eslint/utils': 6.9.1(eslint@8.39.0)(typescript@5.1.3)
|
||||||
|
debug: 4.3.4(supports-color@8.1.1)
|
||||||
|
eslint: 8.39.0
|
||||||
|
ts-api-utils: 1.0.3(typescript@5.1.3)
|
||||||
|
typescript: 5.1.3
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/types@5.59.0:
|
/@typescript-eslint/types@5.59.0:
|
||||||
resolution: {integrity: sha512-yR2h1NotF23xFFYKHZs17QJnB51J/s+ud4PYU4MqdZbzeNxpgUr05+dNeCN/bb6raslHvGdd6BFCkVhpPk/ZeA==}
|
resolution: {integrity: sha512-yR2h1NotF23xFFYKHZs17QJnB51J/s+ud4PYU4MqdZbzeNxpgUr05+dNeCN/bb6raslHvGdd6BFCkVhpPk/ZeA==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -4910,6 +4942,11 @@ packages:
|
|||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@typescript-eslint/types@6.9.1:
|
||||||
|
resolution: {integrity: sha512-BUGslGOb14zUHOUmDB2FfT6SI1CcZEJYfF3qFwBeUrU6srJfzANonwRYHDpLBuzbq3HaoF2XL2hcr01c8f8OaQ==}
|
||||||
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/typescript-estree@5.59.0(typescript@5.1.3):
|
/@typescript-eslint/typescript-estree@5.59.0(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-sUNnktjmI8DyGzPdZ8dRwW741zopGxltGs/SAPgGL/AAgDpiLsCFLcMNSpbfXfmnNeHmK9h3wGmCkGRGAoUZAg==}
|
resolution: {integrity: sha512-sUNnktjmI8DyGzPdZ8dRwW741zopGxltGs/SAPgGL/AAgDpiLsCFLcMNSpbfXfmnNeHmK9h3wGmCkGRGAoUZAg==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -4952,24 +4989,25 @@ packages:
|
|||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/utils@5.59.0(eslint@8.39.0)(typescript@5.1.3):
|
/@typescript-eslint/typescript-estree@6.9.1(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-GGLFd+86drlHSvPgN/el6dRQNYYGOvRSDVydsUaQluwIW3HvbXuxyuD5JETvBt/9qGYe+lOrDk6gRrWOHb/FvA==}
|
resolution: {integrity: sha512-U+mUylTHfcqeO7mLWVQ5W/tMLXqVpRv61wm9ZtfE5egz7gtnmqVIw9ryh0mgIlkKk9rZLY3UHygsBSdB9/ftyw==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
eslint: ^6.0.0 || ^7.0.0 || ^8.0.0
|
typescript: '*'
|
||||||
|
peerDependenciesMeta:
|
||||||
|
typescript:
|
||||||
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@eslint-community/eslint-utils': 4.4.0(eslint@8.39.0)
|
'@typescript-eslint/types': 6.9.1
|
||||||
'@types/json-schema': 7.0.12
|
'@typescript-eslint/visitor-keys': 6.9.1
|
||||||
'@types/semver': 7.5.0
|
debug: 4.3.4(supports-color@8.1.1)
|
||||||
'@typescript-eslint/scope-manager': 5.59.0
|
globby: 11.1.0
|
||||||
'@typescript-eslint/types': 5.59.0
|
is-glob: 4.0.3
|
||||||
'@typescript-eslint/typescript-estree': 5.59.0(typescript@5.1.3)
|
|
||||||
eslint: 8.39.0
|
|
||||||
eslint-scope: 5.1.1
|
|
||||||
semver: 7.5.4
|
semver: 7.5.4
|
||||||
|
ts-api-utils: 1.0.3(typescript@5.1.3)
|
||||||
|
typescript: 5.1.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
- typescript
|
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/utils@5.59.0(eslint@8.47.0)(typescript@5.1.3):
|
/@typescript-eslint/utils@5.59.0(eslint@8.47.0)(typescript@5.1.3):
|
||||||
@ -5012,6 +5050,25 @@ packages:
|
|||||||
- typescript
|
- typescript
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/@typescript-eslint/utils@6.9.1(eslint@8.39.0)(typescript@5.1.3):
|
||||||
|
resolution: {integrity: sha512-L1T0A5nFdQrMVunpZgzqPL6y2wVreSyHhKGZryS6jrEN7bD9NplVAyMryUhXsQ4TWLnZmxc2ekar/lSGIlprCA==}
|
||||||
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
|
peerDependencies:
|
||||||
|
eslint: ^7.0.0 || ^8.0.0
|
||||||
|
dependencies:
|
||||||
|
'@eslint-community/eslint-utils': 4.4.0(eslint@8.39.0)
|
||||||
|
'@types/json-schema': 7.0.12
|
||||||
|
'@types/semver': 7.5.0
|
||||||
|
'@typescript-eslint/scope-manager': 6.9.1
|
||||||
|
'@typescript-eslint/types': 6.9.1
|
||||||
|
'@typescript-eslint/typescript-estree': 6.9.1(typescript@5.1.3)
|
||||||
|
eslint: 8.39.0
|
||||||
|
semver: 7.5.4
|
||||||
|
transitivePeerDependencies:
|
||||||
|
- supports-color
|
||||||
|
- typescript
|
||||||
|
dev: true
|
||||||
|
|
||||||
/@typescript-eslint/visitor-keys@5.59.0:
|
/@typescript-eslint/visitor-keys@5.59.0:
|
||||||
resolution: {integrity: sha512-qZ3iXxQhanchCeaExlKPV3gDQFxMUmU35xfd5eCXB6+kUw1TUAbIy2n7QIrwz9s98DQLzNWyHp61fY0da4ZcbA==}
|
resolution: {integrity: sha512-qZ3iXxQhanchCeaExlKPV3gDQFxMUmU35xfd5eCXB6+kUw1TUAbIy2n7QIrwz9s98DQLzNWyHp61fY0da4ZcbA==}
|
||||||
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
|
||||||
@ -5028,195 +5085,216 @@ packages:
|
|||||||
eslint-visitor-keys: 3.4.3
|
eslint-visitor-keys: 3.4.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/astro@0.55.2(rollup@2.79.1)(vite@4.3.9):
|
/@typescript-eslint/visitor-keys@6.9.1:
|
||||||
resolution: {integrity: sha512-cSzBKPEveZZQDZp5bq0UlL8CVvzB/1LsgZmZufxi9oMMjMJYqzfTkKg5z65GcP82Xp5c0N3KKkl/R6I+/7Iwvw==}
|
resolution: {integrity: sha512-MUaPUe/QRLEffARsmNfmpghuQkW436DvESW+h+M52w0coICHRfD6Np9/K6PdACwnrq1HmuLl+cSPZaJmeVPkSw==}
|
||||||
|
engines: {node: ^16.0.0 || >=18.0.0}
|
||||||
|
dependencies:
|
||||||
|
'@typescript-eslint/types': 6.9.1
|
||||||
|
eslint-visitor-keys: 3.4.3
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@unocss/astro@0.56.5(rollup@2.79.1)(vite@4.3.9):
|
||||||
|
resolution: {integrity: sha512-nkxyGV9mA7DZ5LEr4Gap/SggM60MFNUfn56ngpxCqjQHJOMRJrAcR99hCVn+78vZ9xuZl9HxdIwgZLzn41thMw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0
|
vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
vite:
|
vite:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
'@unocss/reset': 0.55.2
|
'@unocss/reset': 0.56.5
|
||||||
'@unocss/vite': 0.55.2(rollup@2.79.1)(vite@4.3.9)
|
'@unocss/vite': 0.56.5(rollup@2.79.1)(vite@4.3.9)
|
||||||
vite: 4.3.9(@types/node@18.16.0)
|
vite: 4.3.9(@types/node@18.16.0)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- rollup
|
- rollup
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/cli@0.55.2(rollup@2.79.1):
|
/@unocss/cli@0.56.5(rollup@2.79.1):
|
||||||
resolution: {integrity: sha512-ZJ8aBhm+3WjGCA5HcOQ4C3mbtJwkgMX2gpjjJ0MPh/iZOz3+/zmHlrXJCS3jIFouRYSwxxanWdrGUuLIQLqPhQ==}
|
resolution: {integrity: sha512-VYaqu7Dr1n9ebFFdQM+9Jyg/o9BVKRShlV8bQsBS58gkXiWsA/uAl1Uy2vzpLSrT0F6uGyDmYUF6p4DaUnUO+w==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ampproject/remapping': 2.2.1
|
'@ampproject/remapping': 2.2.1
|
||||||
'@rollup/pluginutils': 5.0.3(rollup@2.79.1)
|
'@rollup/pluginutils': 5.0.5(rollup@2.79.1)
|
||||||
'@unocss/config': 0.55.2
|
'@unocss/config': 0.56.5
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
'@unocss/preset-uno': 0.55.2
|
'@unocss/preset-uno': 0.56.5
|
||||||
cac: 6.7.14
|
cac: 6.7.14
|
||||||
chokidar: 3.5.3
|
chokidar: 3.5.3
|
||||||
colorette: 2.0.20
|
colorette: 2.0.20
|
||||||
consola: 3.2.3
|
consola: 3.2.3
|
||||||
fast-glob: 3.3.1
|
fast-glob: 3.3.1
|
||||||
magic-string: 0.30.2
|
magic-string: 0.30.5
|
||||||
pathe: 1.1.1
|
pathe: 1.1.1
|
||||||
perfect-debounce: 1.0.0
|
perfect-debounce: 1.0.0
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- rollup
|
- rollup
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/config@0.55.2:
|
/@unocss/config@0.56.5:
|
||||||
resolution: {integrity: sha512-RYDv9QzhUeBz9BY+Pty0xc9vk/m4LGBNMiBghcItW6zXN554JbSuoPD55DmnvO2iXrIYujBZdB/Kob6GLCZpqw==}
|
resolution: {integrity: sha512-rscnFIYgUlN/0hXHdhANyjFcDjDutt3JO0ZRITdNLzoglh7GVNiDTURBJwUZejF/vGJ7IkMd3qOdNhPFuRY1Bg==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
unconfig: 0.3.10
|
unconfig: 0.3.10
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/core@0.55.2:
|
/@unocss/core@0.56.5:
|
||||||
resolution: {integrity: sha512-ZLEES8RDgWoK/vttUzl3PM2bZqL3HvhLgj8xdDa09Xw+JiTlR4c66s+hLn52oCoJTnT9lGsD2j7tTGN9ToSiTA==}
|
resolution: {integrity: sha512-fx5VhOjSHn0HdV2D34pEwFMAHJcJQRTCp1xEE4GzxY1irXzaa+m2aYf5PZjmDxehiOC16IH7TO9FOWANXk1E0w==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/extractor-arbitrary-variants@0.55.2:
|
/@unocss/extractor-arbitrary-variants@0.56.5:
|
||||||
resolution: {integrity: sha512-mHEoFx+ITe3OgFoIUhkCQxRgUjvOJeHtI1Z3Sm8NDMy2vTqOlkSf7NLWEyFfQsSFYqpWGTkaW1XiMZujGMoB/g==}
|
resolution: {integrity: sha512-p2pyzz/ONvc5CGcaB9OZvWE8qkRSgyuhaQqFQLdBFeUhveHC0CGP0iSnXwBgAFHWM7DJo4/JpWeZ+mBt0ogVLA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/inspector@0.55.2:
|
/@unocss/inspector@0.56.5:
|
||||||
resolution: {integrity: sha512-AMNZ7FsBFhQCMuAQugCk7d+3uoHDN2VFwCzSxk0ITgG51J90jfVgAo9mJf28W/AM4g0qVHScveJDPKzA+2o+Vg==}
|
resolution: {integrity: sha512-UK/X2JyqxB1uueIFlffFsBioxMptanBbJYjrmOoLPdAFoOPp9o8IIFkFs3OKWc8imvyl3w+F0opncmdJnDMllw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
|
'@unocss/rule-utils': 0.56.5
|
||||||
gzip-size: 6.0.0
|
gzip-size: 6.0.0
|
||||||
sirv: 2.0.3
|
sirv: 2.0.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/postcss@0.55.2(postcss@8.4.28):
|
/@unocss/postcss@0.56.5(postcss@8.4.28):
|
||||||
resolution: {integrity: sha512-HJLGINNlQ3DGL9zRGuctX+mOVW2w7o8Wj89v3/2qTcqXBDpwfn1+KlxSjU9rsEPdE4Ur3MIcVXcJC0wz4+EwEA==}
|
resolution: {integrity: sha512-oDY1vCdrCQZx/oxDkq3z77a0RoO+WVQT090oDZzLFO/cPWH3elSOHwnoJU/KzrpJLbUFpyTQKZ/k3VbBaEdGTA==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
postcss: ^8.4.21
|
postcss: ^8.4.21
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/config': 0.55.2
|
'@unocss/config': 0.56.5
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
|
'@unocss/rule-utils': 0.56.5
|
||||||
css-tree: 2.3.1
|
css-tree: 2.3.1
|
||||||
fast-glob: 3.3.1
|
fast-glob: 3.3.1
|
||||||
magic-string: 0.30.2
|
magic-string: 0.30.5
|
||||||
postcss: 8.4.28
|
postcss: 8.4.28
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/preset-attributify@0.55.2:
|
/@unocss/preset-attributify@0.56.5:
|
||||||
resolution: {integrity: sha512-jn5ulsKpAipsX3Gf2/iSZydgI0eP1ENeoS6rrNBL8zl1mRihnZYFegS75rGYjO6sEfEHrhkBiSHOw7Uv5KtLbw==}
|
resolution: {integrity: sha512-476NVv1kUmiD0ObtJceUB1ldiQvGStEUlwoHFOFl8srZbRuRlwq8Uz4sxCePf3sn2FP8UHw+By+nxwxMQuHpww==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/preset-icons@0.55.2:
|
/@unocss/preset-icons@0.56.5:
|
||||||
resolution: {integrity: sha512-NK9LcTlBZv6zO8Qbu+VA9HblzYc5ebuFwaQMfQcYj2Z6dBOT27Ki41LY1qjEXzzMPXb44Q14Rlk0tJc8LtJIpQ==}
|
resolution: {integrity: sha512-Pc973z/M7+TsIPRli9xSE+rjzQnX9r0PppTOD5lrD8PqvNSGIrSWZUFDc5NqL09hKHkIdVrDLC+2ouLYqTI7iA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@iconify/utils': 2.1.9
|
'@iconify/utils': 2.1.11
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
ofetch: 1.1.1
|
ofetch: 1.3.3
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/preset-mini@0.55.2:
|
/@unocss/preset-mini@0.56.5:
|
||||||
resolution: {integrity: sha512-jwUsrwtPwMvFVJUP+FVFjq+sp+xQPyFLRPSb89ZI34F1a3EwJ2wioDICLqWjOjY7zei9UgtSY0owBM9vwxw/kg==}
|
resolution: {integrity: sha512-/KhlThhs1ilauM7MwRSpahLbIPZ5VGeGvaUsU8+ZlNT3sis4yoVYkPtR14tL2IT6jhOU05N/uu3aBj+1bP8GjQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
'@unocss/extractor-arbitrary-variants': 0.55.2
|
'@unocss/extractor-arbitrary-variants': 0.56.5
|
||||||
|
'@unocss/rule-utils': 0.56.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/preset-tagify@0.55.2:
|
/@unocss/preset-tagify@0.56.5:
|
||||||
resolution: {integrity: sha512-m8/9wBtUQSwnwsLANhUOc7sukF8ReHJ7ZC6fCfTozRMOhwu+bDcf9G7pguXdNC4DdZXI15cvbZzkYF2l733qUw==}
|
resolution: {integrity: sha512-ANtI7E92fuzF40MD/3V72myNqrcGNXAD3TjXHIxAPQP2F+DcYIl2TBPHVsGUt2Rc5Kid2kvvsWan6sRAQVGPng==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/preset-typography@0.55.2:
|
/@unocss/preset-typography@0.56.5:
|
||||||
resolution: {integrity: sha512-Y4JEihpKPDlXWXxnnMZbQclqZ4+DUD8RVFk46ERe9CLNEYkFObd4LG7yfSurr/C01zuU/GhEMyOWqSGsSyCxKg==}
|
resolution: {integrity: sha512-fA/q5S+s7BV3TRWRvXqG7xpa8WNfG19uaZx288FcKauMR0TX4jUM0EkkngpwrTgeXXohh5awx4OEW3E1s1Q2oA==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
'@unocss/preset-mini': 0.55.2
|
'@unocss/preset-mini': 0.56.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/preset-uno@0.55.2:
|
/@unocss/preset-uno@0.56.5:
|
||||||
resolution: {integrity: sha512-8VJXC6+f5YBjUaTkf+EGAembDYMleb0zjkb4hwXxjPIsO+mXixdZC2icCiN/12DLlwH4FzEvObLKns3CGEAZZw==}
|
resolution: {integrity: sha512-3hzE0X1oxMbHLvWyTj/4BrJQ7OAL428BpzEJos0RsxifM04vOJX4GC4khIbmTl8KIMECMtATK3ren3JqzD2bFw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
'@unocss/preset-mini': 0.55.2
|
'@unocss/preset-mini': 0.56.5
|
||||||
'@unocss/preset-wind': 0.55.2
|
'@unocss/preset-wind': 0.56.5
|
||||||
|
'@unocss/rule-utils': 0.56.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/preset-web-fonts@0.55.2:
|
/@unocss/preset-web-fonts@0.56.5:
|
||||||
resolution: {integrity: sha512-kRnrfZPDkU2r9tp507rsh4kwhUzZ76XBTZLmElYm8tlP6HZzIHcFF8fdW15J4nh81b/IGw8ZOS7aQmqtHu3A8A==}
|
resolution: {integrity: sha512-1YPbqpHK6NaXWHceNJTl2A+dNbliB6FeU5Tvkox1KOLTTwvzUF80uWHAE/l05Oc9EZyolZ8OsM37p2eJAb0wpw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
ofetch: 1.1.1
|
ofetch: 1.3.3
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/preset-wind@0.55.2:
|
/@unocss/preset-wind@0.56.5:
|
||||||
resolution: {integrity: sha512-th/aOokb10ApaiVLNI093mvko4XryJ70oEhzz4tHdSuhnQWf5eY7+k7y9EEYFz8i1OOrKuer0HzUV27llZaufw==}
|
resolution: {integrity: sha512-iyMPvCEZkrGLHFXXlcqxDo/UcSK7KWw4x7/QUz7irrvc78cxYVuPm98QZgpCRcCwKerKVyFLjGOtwQ0kmVSVsQ==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
'@unocss/preset-mini': 0.55.2
|
'@unocss/preset-mini': 0.56.5
|
||||||
|
'@unocss/rule-utils': 0.56.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/reset@0.55.2:
|
/@unocss/reset@0.56.5:
|
||||||
resolution: {integrity: sha512-paInTGIhtI96fcJGZWbkPLW/7qiTlHxSbEIs1HGHcbf3WbwNuKrJUvKlQAhUs2HILNKhvsTXQl05Os8gtinLEA==}
|
resolution: {integrity: sha512-//Pv2ITAdnpWB9FIr0JiQVl1rL1XgISR8mu3OikhCfi6d/4OH+o6/WyE7evF1pOmk1JjsQlznOABIZXQlcpbHQ==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/scope@0.55.2:
|
/@unocss/rule-utils@0.56.5:
|
||||||
resolution: {integrity: sha512-o1b86ejgaFDqfC712mUZqZDQNf6o1xDzm6+bgHySdiltR8Quo6l8RcoZjZrCvEogtPbko4/XJ374t1NQMUQf4g==}
|
resolution: {integrity: sha512-CXIGHCIC9B8WUl9KbbFMSZHcsIgfmI/+X0bjBv6xrgBVC1EQ2Acq4PYnJIbaRGBRAhl9wYjNL7Zq2UWOdowHAw==}
|
||||||
dev: true
|
engines: {node: '>=14'}
|
||||||
|
|
||||||
/@unocss/transformer-attributify-jsx-babel@0.55.2:
|
|
||||||
resolution: {integrity: sha512-pmfF546i8pKfMNeYZOJz2UzbuUwj0v7GqcoP5fClyRUzBMUfXdJwBSdFaYkdWR5Q/O1sv+pI0S8r/G9T7QuldA==}
|
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/transformer-attributify-jsx@0.55.2:
|
/@unocss/scope@0.56.5:
|
||||||
resolution: {integrity: sha512-WerdaNagorTtYDvbhlZEmeuBrQ5lmPE0vG9r20bPR/vLy9UmbIFPpzt6b/hSLqOUnZnaEfbrpNUlpBZgUXpvsg==}
|
resolution: {integrity: sha512-q2eHYLuqF7RZEVGti205X2JOKSH6lBJGoQIjPtWgodNTg3S7qmUinHG0XzikI30L3EF3VljIh5TbtwGPcvbNsA==}
|
||||||
dependencies:
|
|
||||||
'@unocss/core': 0.55.2
|
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/transformer-compile-class@0.55.2:
|
/@unocss/transformer-attributify-jsx-babel@0.56.5:
|
||||||
resolution: {integrity: sha512-zKeJtAirFrgj8TheKplgdKrPV9hPN3i2gEy/aQ+CrHHImcQtxZ1FJzmJT1yV77MOXOdeRJOhiePNOe2TE1A4tw==}
|
resolution: {integrity: sha512-QUlbmWpdfzdgEXNcOJwSvKDHB/ID/X3zlpK+fXyCKTkqiYgCwMFmLXll2HtNhIgH2E1gWo/lDlwpiW/QjQb/rw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/transformer-directives@0.55.2:
|
/@unocss/transformer-attributify-jsx@0.56.5:
|
||||||
resolution: {integrity: sha512-IJKL5clOiv2RjvHYr4xumS4eFScPsi3Vg4vGugsmn43PZ1FsApp8UElHfhuhBsEEiffnsgTD+N5u/EiPpyI0Gw==}
|
resolution: {integrity: sha512-SQW7t58s26qHYuD8v3covXtWoXlflw3FV5dlBCw/2iOfNo3OTVUWReAB5y0XQIT3828nHnPqeQq4IhmnuOENdw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@unocss/transformer-compile-class@0.56.5:
|
||||||
|
resolution: {integrity: sha512-uT/+bVDN26hJ4a5FtbOT4PxAVDUTxwZCEVCesPAE5RnGd7f+KYUnk3XdDa77xyklPQsxPhr4MEjA0HGPHtSH8Q==}
|
||||||
|
dependencies:
|
||||||
|
'@unocss/core': 0.56.5
|
||||||
|
dev: true
|
||||||
|
|
||||||
|
/@unocss/transformer-directives@0.56.5:
|
||||||
|
resolution: {integrity: sha512-ykXbvG1LbqTqlYImMtkJUeH8BtuiE+8T/txUVyooUoVgr2qSELUu2FxC6rTX2EUx+F5BZhaQd6GsdzgaDwXgIg==}
|
||||||
|
dependencies:
|
||||||
|
'@unocss/core': 0.56.5
|
||||||
|
'@unocss/rule-utils': 0.56.5
|
||||||
css-tree: 2.3.1
|
css-tree: 2.3.1
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/transformer-variant-group@0.55.2:
|
/@unocss/transformer-variant-group@0.56.5:
|
||||||
resolution: {integrity: sha512-BIAigftn+mfUeQT7sPzJNgvvbrmLj0gmYmeK4U7/8NxUuOuC0ROTNSw+MKU7yDiPYHqb1kxVZ47LZ3GdUcNPRA==}
|
resolution: {integrity: sha512-e+7XtICuOtcOgGyxI06i0LK6R446KLFvzv+lw3WbwhD8OcsSFUAtCaAw0l+cyyiiZ/k2tLdUR0O4hYwQVa8f1A==}
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@unocss/vite@0.55.2(rollup@2.79.1)(vite@4.3.9):
|
/@unocss/vite@0.56.5(rollup@2.79.1)(vite@4.3.9):
|
||||||
resolution: {integrity: sha512-JEyEaJt8D+Ed3Z8GDQ0hMWqKsB47/DoS+aPzDoXSIVozgi8seHtfSChBOBUSgcCrozfBVp42YHbYYyloDkb2Yw==}
|
resolution: {integrity: sha512-X4nvIukXTH//d+Oc97nJogK04sVGw4fc5LhVV1DjHQVmAOAmhTJCG6SxWGoSeqqUMx5X3gI9fVILK+5O8yl5EA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0
|
vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
'@ampproject/remapping': 2.2.1
|
'@ampproject/remapping': 2.2.1
|
||||||
'@rollup/pluginutils': 5.0.3(rollup@2.79.1)
|
'@rollup/pluginutils': 5.0.5(rollup@2.79.1)
|
||||||
'@unocss/config': 0.55.2
|
'@unocss/config': 0.56.5
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
'@unocss/inspector': 0.55.2
|
'@unocss/inspector': 0.56.5
|
||||||
'@unocss/scope': 0.55.2
|
'@unocss/scope': 0.56.5
|
||||||
'@unocss/transformer-directives': 0.55.2
|
'@unocss/transformer-directives': 0.56.5
|
||||||
chokidar: 3.5.3
|
chokidar: 3.5.3
|
||||||
fast-glob: 3.3.1
|
fast-glob: 3.3.1
|
||||||
magic-string: 0.30.2
|
magic-string: 0.30.5
|
||||||
vite: 4.3.9(@types/node@18.16.0)
|
vite: 4.3.9(@types/node@18.16.0)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- rollup
|
- rollup
|
||||||
@ -8625,7 +8703,7 @@ packages:
|
|||||||
htmlparser2: 8.0.2
|
htmlparser2: 8.0.2
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/eslint-plugin-jest@27.2.1(@typescript-eslint/eslint-plugin@5.59.0)(eslint@8.39.0)(jest@29.5.0)(typescript@5.1.3):
|
/eslint-plugin-jest@27.2.1(@typescript-eslint/eslint-plugin@6.9.1)(eslint@8.39.0)(jest@29.5.0)(typescript@5.1.3):
|
||||||
resolution: {integrity: sha512-l067Uxx7ZT8cO9NJuf+eJHvt6bqJyz2Z29wykyEdz/OtmcELQl2MQGQLX8J94O1cSJWAwUSEvCjwjA7KEK3Hmg==}
|
resolution: {integrity: sha512-l067Uxx7ZT8cO9NJuf+eJHvt6bqJyz2Z29wykyEdz/OtmcELQl2MQGQLX8J94O1cSJWAwUSEvCjwjA7KEK3Hmg==}
|
||||||
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
|
engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@ -8638,7 +8716,7 @@ packages:
|
|||||||
jest:
|
jest:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@typescript-eslint/eslint-plugin': 5.59.0(@typescript-eslint/parser@5.59.0)(eslint@8.39.0)(typescript@5.1.3)
|
'@typescript-eslint/eslint-plugin': 6.9.1(@typescript-eslint/parser@6.9.1)(eslint@8.39.0)(typescript@5.1.3)
|
||||||
'@typescript-eslint/utils': 5.62.0(eslint@8.39.0)(typescript@5.1.3)
|
'@typescript-eslint/utils': 5.62.0(eslint@8.39.0)(typescript@5.1.3)
|
||||||
eslint: 8.39.0
|
eslint: 8.39.0
|
||||||
jest: 29.5.0(@types/node@18.16.0)(ts-node@10.9.1)
|
jest: 29.5.0(@types/node@18.16.0)(ts-node@10.9.1)
|
||||||
@ -11775,6 +11853,13 @@ packages:
|
|||||||
dependencies:
|
dependencies:
|
||||||
'@jridgewell/sourcemap-codec': 1.4.15
|
'@jridgewell/sourcemap-codec': 1.4.15
|
||||||
|
|
||||||
|
/magic-string@0.30.5:
|
||||||
|
resolution: {integrity: sha512-7xlpfBaQaP/T6Vh8MO/EqXSW5En6INHEvEXQiuff7Gku0PWjU3uf6w/j9o7O+SpB5fOAkrI5HeoNgwjEO0pFsA==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
dependencies:
|
||||||
|
'@jridgewell/sourcemap-codec': 1.4.15
|
||||||
|
dev: true
|
||||||
|
|
||||||
/make-dir@3.1.0:
|
/make-dir@3.1.0:
|
||||||
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
|
resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==}
|
||||||
engines: {node: '>=8'}
|
engines: {node: '>=8'}
|
||||||
@ -12528,8 +12613,8 @@ packages:
|
|||||||
engines: {node: '>=10.5.0'}
|
engines: {node: '>=10.5.0'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/node-fetch-native@1.2.0:
|
/node-fetch-native@1.4.1:
|
||||||
resolution: {integrity: sha512-5IAMBTl9p6PaAjYCnMv5FmqIF6GcZnawAVnzaCG0rX2aYZJ4CxEkZNtVPuTRug7fL7wyM5BQYTlAzcyMPi6oTQ==}
|
resolution: {integrity: sha512-NsXBU0UgBxo2rQLOeWNZqS3fvflWePMECr8CoSWoSTqCqGbVVsvl9vZu1HfQicYN0g5piV9Gh8RTEvo/uP752w==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/node-fetch@2.6.13:
|
/node-fetch@2.6.13:
|
||||||
@ -12715,12 +12800,12 @@ packages:
|
|||||||
resolution: {integrity: sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==}
|
resolution: {integrity: sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/ofetch@1.1.1:
|
/ofetch@1.3.3:
|
||||||
resolution: {integrity: sha512-SSMoktrp9SNLi20BWfB/BnnKcL0RDigXThD/mZBeQxkIRv1xrd9183MtLdsqRYLYSqW0eTr5t8w8MqjNhvoOQQ==}
|
resolution: {integrity: sha512-s1ZCMmQWXy4b5K/TW9i/DtiN8Ku+xCiHcjQ6/J/nDdssirrQNOoB165Zu8EqLMA2lln1JUth9a0aW9Ap2ctrUg==}
|
||||||
dependencies:
|
dependencies:
|
||||||
destr: 2.0.1
|
destr: 2.0.1
|
||||||
node-fetch-native: 1.2.0
|
node-fetch-native: 1.4.1
|
||||||
ufo: 1.2.0
|
ufo: 1.3.1
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/on-exit-leak-free@2.1.0:
|
/on-exit-leak-free@2.1.0:
|
||||||
@ -15019,6 +15104,15 @@ packages:
|
|||||||
matchit: 1.1.0
|
matchit: 1.1.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/ts-api-utils@1.0.3(typescript@5.1.3):
|
||||||
|
resolution: {integrity: sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==}
|
||||||
|
engines: {node: '>=16.13.0'}
|
||||||
|
peerDependencies:
|
||||||
|
typescript: '>=4.2.0'
|
||||||
|
dependencies:
|
||||||
|
typescript: 5.1.3
|
||||||
|
dev: true
|
||||||
|
|
||||||
/ts-dedent@2.2.0:
|
/ts-dedent@2.2.0:
|
||||||
resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==}
|
resolution: {integrity: sha512-q5W7tVM71e2xjHZTlgfTDoPF/SmqKG5hddq9SzR49CH2hayqRKJtQ4mtRlSxKaJlR/+9rEM+mnBHf7I2/BQcpQ==}
|
||||||
engines: {node: '>=6.10'}
|
engines: {node: '>=6.10'}
|
||||||
@ -15278,6 +15372,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-RsPyTbqORDNDxqAdQPQBpgqhWle1VcTSou/FraClYlHf6TZnQcGslpLcAphNR+sQW4q5lLWLbOsRlh9j24baQg==}
|
resolution: {integrity: sha512-RsPyTbqORDNDxqAdQPQBpgqhWle1VcTSou/FraClYlHf6TZnQcGslpLcAphNR+sQW4q5lLWLbOsRlh9j24baQg==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/ufo@1.3.1:
|
||||||
|
resolution: {integrity: sha512-uY/99gMLIOlJPwATcMVYfqDSxUR9//AUcgZMzwfSTJPDKzA1S8mX4VLqa+fiAtveraQUBCz4FFcwVZBGbwBXIw==}
|
||||||
|
dev: true
|
||||||
|
|
||||||
/uglify-js@3.17.4:
|
/uglify-js@3.17.4:
|
||||||
resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==}
|
resolution: {integrity: sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==}
|
||||||
engines: {node: '>=0.8.0'}
|
engines: {node: '>=0.8.0'}
|
||||||
@ -15405,11 +15503,11 @@ packages:
|
|||||||
engines: {node: '>= 10.0.0'}
|
engines: {node: '>= 10.0.0'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/unocss@0.55.2(postcss@8.4.28)(rollup@2.79.1)(vite@4.3.9):
|
/unocss@0.56.5(postcss@8.4.28)(rollup@2.79.1)(vite@4.3.9):
|
||||||
resolution: {integrity: sha512-+C8tFUFIEv40DpEhjA/Yv+RB5HZumkWiON2OlPyrbzapQ8x60F9TUwUS3pw7MlpxI6GfTCYwXKEE6DTGCm1SLA==}
|
resolution: {integrity: sha512-tO+9St4CntSjHpLXZqBo0/etS06MtvFF1NEny/qFJCL9sCopWwmDKuzW6/LIb4wfqZLdMpVFoEACMNv8nP849A==}
|
||||||
engines: {node: '>=14'}
|
engines: {node: '>=14'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
'@unocss/webpack': 0.55.2
|
'@unocss/webpack': 0.56.5
|
||||||
vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0
|
vite: ^2.9.0 || ^3.0.0-0 || ^4.0.0
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
'@unocss/webpack':
|
'@unocss/webpack':
|
||||||
@ -15417,26 +15515,26 @@ packages:
|
|||||||
vite:
|
vite:
|
||||||
optional: true
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@unocss/astro': 0.55.2(rollup@2.79.1)(vite@4.3.9)
|
'@unocss/astro': 0.56.5(rollup@2.79.1)(vite@4.3.9)
|
||||||
'@unocss/cli': 0.55.2(rollup@2.79.1)
|
'@unocss/cli': 0.56.5(rollup@2.79.1)
|
||||||
'@unocss/core': 0.55.2
|
'@unocss/core': 0.56.5
|
||||||
'@unocss/extractor-arbitrary-variants': 0.55.2
|
'@unocss/extractor-arbitrary-variants': 0.56.5
|
||||||
'@unocss/postcss': 0.55.2(postcss@8.4.28)
|
'@unocss/postcss': 0.56.5(postcss@8.4.28)
|
||||||
'@unocss/preset-attributify': 0.55.2
|
'@unocss/preset-attributify': 0.56.5
|
||||||
'@unocss/preset-icons': 0.55.2
|
'@unocss/preset-icons': 0.56.5
|
||||||
'@unocss/preset-mini': 0.55.2
|
'@unocss/preset-mini': 0.56.5
|
||||||
'@unocss/preset-tagify': 0.55.2
|
'@unocss/preset-tagify': 0.56.5
|
||||||
'@unocss/preset-typography': 0.55.2
|
'@unocss/preset-typography': 0.56.5
|
||||||
'@unocss/preset-uno': 0.55.2
|
'@unocss/preset-uno': 0.56.5
|
||||||
'@unocss/preset-web-fonts': 0.55.2
|
'@unocss/preset-web-fonts': 0.56.5
|
||||||
'@unocss/preset-wind': 0.55.2
|
'@unocss/preset-wind': 0.56.5
|
||||||
'@unocss/reset': 0.55.2
|
'@unocss/reset': 0.56.5
|
||||||
'@unocss/transformer-attributify-jsx': 0.55.2
|
'@unocss/transformer-attributify-jsx': 0.56.5
|
||||||
'@unocss/transformer-attributify-jsx-babel': 0.55.2
|
'@unocss/transformer-attributify-jsx-babel': 0.56.5
|
||||||
'@unocss/transformer-compile-class': 0.55.2
|
'@unocss/transformer-compile-class': 0.56.5
|
||||||
'@unocss/transformer-directives': 0.55.2
|
'@unocss/transformer-directives': 0.56.5
|
||||||
'@unocss/transformer-variant-group': 0.55.2
|
'@unocss/transformer-variant-group': 0.56.5
|
||||||
'@unocss/vite': 0.55.2(rollup@2.79.1)(vite@4.3.9)
|
'@unocss/vite': 0.56.5(rollup@2.79.1)(vite@4.3.9)
|
||||||
vite: 4.3.9(@types/node@18.16.0)
|
vite: 4.3.9(@types/node@18.16.0)
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- postcss
|
- postcss
|
||||||
@ -15780,23 +15878,28 @@ packages:
|
|||||||
- universal-cookie
|
- universal-cookie
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/vitepress@1.0.0-rc.14(@algolia/client-search@4.19.1)(@types/node@18.16.0)(search-insights@2.7.0):
|
/vitepress@1.0.0-rc.20(@algolia/client-search@4.19.1)(@types/node@18.16.0)(postcss@8.4.28)(search-insights@2.7.0):
|
||||||
resolution: {integrity: sha512-yChIeXOAcNvVnSVjhziH1vte0uhKb00PuZf7KdIMfx3ixTMAz73Nn+6gREvCv0SdH+anteGUKz5eljv0ygcgGQ==}
|
resolution: {integrity: sha512-CykMUJ8JLxLcGWek0ew3wln4RYbsOd1+0YzXITTpajggpynm2S331TNkJVOkHrMRc6GYe3y4pS40GfgcW0ZwAw==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
markdown-it-mathjax3: ^4.3.2
|
markdown-it-mathjax3: ^4.3.2
|
||||||
|
postcss: ^8.4.30
|
||||||
peerDependenciesMeta:
|
peerDependenciesMeta:
|
||||||
markdown-it-mathjax3:
|
markdown-it-mathjax3:
|
||||||
optional: true
|
optional: true
|
||||||
|
postcss:
|
||||||
|
optional: true
|
||||||
dependencies:
|
dependencies:
|
||||||
'@docsearch/css': 3.5.2
|
'@docsearch/css': 3.5.2
|
||||||
'@docsearch/js': 3.5.2(@algolia/client-search@4.19.1)(search-insights@2.7.0)
|
'@docsearch/js': 3.5.2(@algolia/client-search@4.19.1)(search-insights@2.7.0)
|
||||||
|
'@types/markdown-it': 13.0.5
|
||||||
'@vue/devtools-api': 6.5.0
|
'@vue/devtools-api': 6.5.0
|
||||||
'@vueuse/core': 10.4.1(vue@3.3.4)
|
'@vueuse/core': 10.4.1(vue@3.3.4)
|
||||||
'@vueuse/integrations': 10.4.1(focus-trap@7.5.2)(vue@3.3.4)
|
'@vueuse/integrations': 10.4.1(focus-trap@7.5.2)(vue@3.3.4)
|
||||||
focus-trap: 7.5.2
|
focus-trap: 7.5.2
|
||||||
mark.js: 8.11.1
|
mark.js: 8.11.1
|
||||||
minisearch: 6.1.0
|
minisearch: 6.1.0
|
||||||
|
postcss: 8.4.28
|
||||||
shiki: 0.14.4
|
shiki: 0.14.4
|
||||||
vite: 4.4.9(@types/node@18.16.0)
|
vite: 4.4.9(@types/node@18.16.0)
|
||||||
vue: 3.3.4
|
vue: 3.3.4
|
||||||
|
@ -6,8 +6,15 @@ set -euxo pipefail
|
|||||||
# Increase heap size
|
# Increase heap size
|
||||||
export NODE_OPTIONS="--max_old_space_size=4096"
|
export NODE_OPTIONS="--max_old_space_size=4096"
|
||||||
|
|
||||||
# Build mermaid
|
pushd packages/mermaid
|
||||||
pnpm build
|
# 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
|
# Clone the Mermaid Live Editor repository
|
||||||
rm -rf mermaid-live-editor
|
rm -rf mermaid-live-editor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user