forked from mermaid-js/mermaid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop' into develop
* upstream/develop: (202 commits) Added commit types in renderer Added sanitization for gitGraph Removing random label for merge commits Updated rendering test with fixed id Finalizing GitGraph with directives, theming & docs Autofix Test updates when switching to cypress-image-snapshoits chore: replacing percy with cypress-image-snapshots chore: excluding image snapshots Update configuration.md feat: adding more accessibility tooling Switch to gender neutral terms chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.31 to 0.3.33 (mermaid-js#2865) chore(deps-dev): bump babel-loader from 8.2.3 to 8.2.4 (mermaid-js#2862) chore(deps-dev): bump eslint-plugin-jest from 26.1.2 to 26.1.3 (mermaid-js#2864) chore(deps-dev): bump eslint-plugin-jsdoc from 38.0.6 to 38.1.1 (mermaid-js#2863) chore(deps-dev): bump prettier from 2.6.0 to 2.6.1 (mermaid-js#2866) chore(deps-dev): bump eslint from 8.11.0 to 8.12.0 (mermaid-js#2867) chore(deps): bump minimist from 1.2.5 to 1.2.6 (mermaid-js#2868) chore: update browsers list ...
- Loading branch information
Showing
161 changed files
with
170,845 additions
and
5,524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
--ignore-dir=dist | ||
--ignore-file=match:/^yarn\.lock$/ | ||
--ignore-file=match:/^yarn-error\.log$/ | ||
--ignore-dir=coverage | ||
--ignore-dir=dist | ||
--ignore-file=match:/^yarn\.lock$/ | ||
--ignore-file=match:/^yarn-error\.log$/ | ||
--ignore-dir=coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
indent_size = 4 | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# These are supported funding model platforms | ||
|
||
github: [knsv] | ||
#patreon: # Replace with a single Patreon username | ||
#open_collective: # Replace with a single Open Collective username | ||
#ko_fi: # Replace with a single Ko-fi username | ||
#tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
#community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
#liberapay: # Replace with a single Liberapay username | ||
#issuehunt: # Replace with a single IssueHunt username | ||
#otechie: # Replace with a single Otechie username | ||
#custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] | ||
# These are supported funding model platforms | ||
|
||
github: [knsv] | ||
#patreon: # Replace with a single Patreon username | ||
#open_collective: # Replace with a single Open Collective username | ||
#ko_fi: # Replace with a single Ko-fi username | ||
#tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
#community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
#liberapay: # Replace with a single Liberapay username | ||
#issuehunt: # Replace with a single IssueHunt username | ||
#otechie: # Replace with a single Otechie username | ||
#custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: 'Status: Triage, Type: Enhancement' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: 'Status: Triage, Type: Enhancement' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
--- | ||
name: Question | ||
about: Get some help from the community. | ||
title: '' | ||
labels: 'Help wanted!, Type: Other' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Help us help you! | ||
You want an answer. Here are some ways to get it quicker: | ||
* Use a clear and concise title. | ||
* Try to pose a clear and concise question. | ||
* Include as much, or as little, code as necessary. | ||
* Don't be shy to give us some screenshots, if it helps! | ||
--- | ||
name: Question | ||
about: Get some help from the community. | ||
title: '' | ||
labels: 'Help wanted!, Type: Other' | ||
assignees: '' | ||
|
||
--- | ||
|
||
## Help us help you! | ||
You want an answer. Here are some ways to get it quicker: | ||
* Use a clear and concise title. | ||
* Try to pose a clear and concise question. | ||
* Include as much, or as little, code as necessary. | ||
* Don't be shy to give us some screenshots, if it helps! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
## :bookmark_tabs: Summary | ||
Brief description about the content of your PR. | ||
|
||
Resolves #<your issue id here> | ||
|
||
## :straight_ruler: Design Decisions | ||
Describe the way your implementation works or what design decisions you made if applicable. | ||
|
||
### :clipboard: Tasks | ||
Make sure you | ||
- [ ] :book: have read the [contribution guidelines](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md) | ||
- [ ] :computer: have added unit/e2e tests (if appropriate) | ||
- [ ] :bookmark: targeted `develop` branch | ||
## :bookmark_tabs: Summary | ||
Brief description about the content of your PR. | ||
|
||
Resolves #<your issue id here> | ||
|
||
## :straight_ruler: Design Decisions | ||
Describe the way your implementation works or what design decisions you made if applicable. | ||
|
||
### :clipboard: Tasks | ||
Make sure you | ||
- [ ] :book: have read the [contribution guidelines](https://github.com/mermaid-js/mermaid/blob/develop/CONTRIBUTING.md) | ||
- [ ] :computer: have added unit/e2e tests (if appropriate) | ||
- [ ] :bookmark: targeted `develop` branch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
name-template: '$NEXT_PATCH_VERSION' | ||
tag-template: '$NEXT_PATCH_VERSION' | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'Type: Enhancement' | ||
- title: '🐛 Bug Fixes' | ||
labels: | ||
- 'Type: Bug / Error' | ||
- title: '🧰 Maintenance' | ||
label: 'Type: Other' | ||
change-template: '- $TITLE (#$NUMBER) @$AUTHOR' | ||
sort-by: title | ||
sort-direction: ascending | ||
branches: | ||
- develop | ||
exclude-labels: | ||
- 'Skip changelog' | ||
no-changes-template: 'This release contains minor changes and bugfixes.' | ||
template: | | ||
# Release Notes | ||
$CHANGES | ||
🎉 **Thanks to all contributors helping with this release!** 🎉 | ||
name-template: '$NEXT_PATCH_VERSION' | ||
tag-template: '$NEXT_PATCH_VERSION' | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'Type: Enhancement' | ||
- title: '🐛 Bug Fixes' | ||
labels: | ||
- 'Type: Bug / Error' | ||
- title: '🧰 Maintenance' | ||
label: 'Type: Other' | ||
change-template: '- $TITLE (#$NUMBER) @$AUTHOR' | ||
sort-by: title | ||
sort-direction: ascending | ||
branches: | ||
- develop | ||
exclude-labels: | ||
- 'Skip changelog' | ||
no-changes-template: 'This release contains minor changes and bugfixes.' | ||
template: | | ||
# Release Notes | ||
$CHANGES | ||
🎉 **Thanks to all contributors helping with this release!** 🎉 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 60 | ||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 14 | ||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- Retained | ||
# Label to use when marking an issue as stale | ||
staleLabel: Inactive | ||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
If you are still interested in this issue and it is still relevant you can comment to revive it. | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: > | ||
This issue has been been automatically closed due to a lack of activity. | ||
This is done to maintain a clean list of issues that the community is interested in developing. | ||
# Number of days of inactivity before an issue becomes stale | ||
daysUntilStale: 60 | ||
# Number of days of inactivity before a stale issue is closed | ||
daysUntilClose: 14 | ||
# Issues with these labels will never be considered stale | ||
exemptLabels: | ||
- Retained | ||
# Label to use when marking an issue as stale | ||
staleLabel: Inactive | ||
# Comment to post when marking an issue as stale. Set to `false` to disable | ||
markComment: > | ||
This issue has been automatically marked as stale because it has not had | ||
recent activity. It will be closed if no further activity occurs. Thank you | ||
for your contributions. | ||
If you are still interested in this issue and it is still relevant you can comment to revive it. | ||
# Comment to post when closing a stale issue. Set to `false` to disable | ||
closeComment: > | ||
This issue has been been automatically closed due to a lack of activity. | ||
This is done to maintain a clean list of issues that the community is interested in developing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Reference: https://github.com/Yash-Singh1/eslint-plugin-userscripts/blob/main/.github/workflows/readme-in-sync.yml | ||
|
||
name: Check if README and docs/README are in sync | ||
|
||
on: | ||
push: | ||
branches: | ||
- gh-pages | ||
pull_request: | ||
branches: | ||
- gh-pages | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Check for difference in README.md and docs/README.md | ||
run: | | ||
if [ -z "$(diff README.md docs/README.md --brief)" ] | ||
then | ||
echo "README.md and docs/README.md are in sync" | ||
else | ||
echo "Make sure that README.md and docs/README.md are in sync" | ||
echo | ||
echo "Difference:" | ||
echo | ||
diff README.md docs/README.md -u | ||
exit 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
on: [push] | ||
|
||
name: Static analysis | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: check tests | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: testomatio/check-tests@stable | ||
with: | ||
framework: cypress | ||
tests: "./cypress/integration/**/**.spec.js" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
has-tests-label: true | ||
|
||
on: [push] | ||
name: Static analysis | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
name: check tests | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: testomatio/check-tests@stable | ||
with: | ||
framework: cypress | ||
tests: "./cypress/integration/**/**.spec.js" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
has-tests-label: true | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.