-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into pr/iwestlin/4288
* develop: (596 commits) chore(deps): update all minor dependencies chore(deps): update all patch dependencies fix: flowchart image without text fix Types chore: Update pnpm-lock chore: Add tests for calculateDeltaAndAngle fix: #5064 Handle case when line has only one point reset the testTimeout to 5 seconds and change it directly in the test update testTimeout from 5 seconds to 10 seconds Update all patch dependencies fix broken link add latest blog post Update all minor dependencies Update all patch dependencies Fix docs Update packages/mermaid/src/docs/community/questions-and-suggestions.md Update packages/mermaid/src/diagrams/class/classRenderer-v2.ts update edge ids draw top actors with lines first followed by messages Bump GitHub workflow actions to latest versions ...
- Loading branch information
Showing
376 changed files
with
17,211 additions
and
9,690 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
############################# Display ############################# | ||
|
||
# Verbose program output | ||
# Accepts log level: "error", "warn", "info", "debug", "trace" | ||
verbose = "debug" | ||
|
||
# Don't show interactive progress bar while checking links. | ||
no_progress = true | ||
|
||
############################# Cache ############################### | ||
|
||
# Enable link caching. This can be helpful to avoid checking the same links on | ||
# multiple runs. | ||
cache = true | ||
|
||
# Discard all cached requests older than this duration. | ||
max_cache_age = "1d" | ||
|
||
############################# Requests ############################ | ||
|
||
# Comma-separated list of accepted status codes for valid links. | ||
accept = [200, 429] | ||
|
||
############################# Exclusions ########################## | ||
|
||
# Exclude URLs and mail addresses from checking (supports regex). | ||
exclude = [ | ||
# Network error: Forbidden | ||
"https://codepen.io", | ||
|
||
# Timeout error, maybe Twitter has anti-bot defenses against GitHub's CI servers? | ||
"https://twitter.com/mermaidjs_", | ||
|
||
# Don't check files that are generated during the build via `pnpm docs:code` | ||
'packages/mermaid/src/docs/config/setup/*', | ||
|
||
# Ignore slack invite | ||
"https://join.slack.com/" | ||
] | ||
|
||
# Exclude all private IPs from checking. | ||
# Equivalent to setting `exclude_private`, `exclude_link_local`, and | ||
# `exclude_loopback` to true. | ||
exclude_all_private = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,22 @@ | ||
'Type: Bug / Error': ['bug/*', fix/*] | ||
'Type: Enhancement': ['feature/*', 'feat/*'] | ||
'Type: Other': ['other/*', 'chore/*', 'test/*', 'refactor/*'] | ||
'Area: Documentation': ['docs/*'] | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/release-drafter/release-drafter/master/schema.json | ||
autolabeler: | ||
- label: 'Type: Bug / Error' | ||
branch: | ||
- '/bug\/.+/' | ||
- '/fix\/.+/' | ||
- label: 'Type: Enhancement' | ||
branch: | ||
- '/feature\/.+/' | ||
- '/feat\/.+/' | ||
- label: 'Type: Other' | ||
branch: | ||
- '/other\/.+/' | ||
- '/chore\/.+/' | ||
- '/test\/.+/' | ||
- '/refactor\/.+/' | ||
- label: 'Area: Documentation' | ||
branch: | ||
- '/docs\/.+/' | ||
|
||
template: | | ||
This field is unused, as we only use this config file for labeling PRs. |
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
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
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 |
---|---|---|
|
@@ -20,13 +20,13 @@ on: | |
- cron: '30 8 * * *' | ||
|
||
jobs: | ||
linkChecker: | ||
link-checker: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
# lychee only uses the GITHUB_TOKEN to avoid rate-limiting | ||
contents: read | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Restore lychee cache | ||
uses: actions/cache@v3 | ||
|
@@ -39,10 +39,7 @@ jobs: | |
uses: lycheeverse/[email protected] | ||
with: | ||
args: >- | ||
--verbose | ||
--no-progress | ||
--cache | ||
--max-cache-age 1d | ||
--config .github/lychee.toml | ||
packages/mermaid/src/docs/**/*.md | ||
README.md | ||
README.zh-CN.md | ||
|
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 was deleted.
Oops, something went wrong.
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,31 @@ | ||
name: Apply labels to PR | ||
on: | ||
pull_request_target: | ||
types: [opened] | ||
# required for pr-labeler to support PRs from forks | ||
# ===================== ⛔ ☢️ 🚫 ⚠️ Warning ⚠️ 🚫 ☢️ ⛔ ======================= | ||
# Be very careful what you put in this GitHub Action workflow file to avoid | ||
# malicious PRs from getting access to the Mermaid-js repo. | ||
# | ||
# Please read the following first before reviewing/merging: | ||
# - https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target | ||
# - https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ | ||
types: [opened, reopened, synchronize] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
pr-labeler: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read # read permission is required to read config file | ||
pull-requests: write # write permission is required to label PRs | ||
steps: | ||
- name: Label PR | ||
uses: TimonVS/pr-labeler-action@v4 | ||
uses: release-drafter/release-drafter@v5 | ||
with: | ||
config-name: pr-labeler.yml | ||
disable-autolabeler: false | ||
disable-releaser: true | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Oops, something went wrong.