484 Commits

Author SHA1 Message Date
Sidharth Vinod
ba46747cb0
Merge branch 'develop' into next
* develop: (35 commits)
  docs: fix lint
  docs: move community to Discord
  Swap condition blocks to avoid using negation
  Reposition const declaration to ideal place
  Change repetitive values into consts
  docs: fix swimm link
  Fix Update Browserslist
  Use pnpm/action-setup@v2
  Fix lint
  Delete docs/syntax/gantt.html
  Add more detailed docs for Gantt tasks
  Update docs
  Update packages/mermaid/src/docs/syntax/flowchart.md
  Update flowchart.md #5195
  Add tests for gitgraphs with unconnected branches
  Include logic for gitgraph with unconnected branches
  Include undefined on findClosestParent return types and update the function
  Remove unnecessary argument on findClosestParent call
  Use already defined const instead of method call
  Fix pnpm-lock by resetting it, sorry!
  ...
2024-01-23 20:01:40 +05:30
Sidharth Vinod
17066aab97
Merge branch 'master' of github.com:mermaid-js/mermaid into develop
* 'master' of github.com:mermaid-js/mermaid:
  docs: fix lint
  docs: move community to Discord
  Delete docs/syntax/gantt.html
  Add more detailed docs for Gantt tasks
  Update docs
  Update packages/mermaid/src/docs/syntax/flowchart.md
  Update flowchart.md #5195
2024-01-23 19:55:53 +05:30
Oleg A
8fad1f55e2
docs: move community to Discord 2024-01-23 19:53:41 +05:30
Sidharth Vinod
84a18a1858
Fix Update Browserslist 2024-01-19 23:47:07 +05:30
Sidharth Vinod
832e3f5d49
Merge branch 'develop' into next 2024-01-19 23:24:37 +05:30
Sidharth Vinod
d0224b23b0
Cleanup e2e.yml 2024-01-19 19:47:42 +05:30
Sidharth Vinod
aadf32ab3e
Ignore push events on merge queue 2024-01-19 19:45:55 +05:30
Sidharth Vinod
8bfb269b37
Remove :: 2024-01-19 19:33:59 +05:30
Sidharth Vinod
3935f6b389
Remove :: 2024-01-19 19:31:25 +05:30
Sidharth Vinod
f5dd24bce4
Remove :: 2024-01-19 19:29:45 +05:30
Sidharth Vinod
279e31bc55
Debug 2024-01-19 19:23:13 +05:30
Sidharth Vinod
f1fc874da8
Debug 2024-01-19 19:20:39 +05:30
Sidharth Vinod
a871a68f3c
Remove spec selector 2024-01-19 19:05:06 +05:30
Sidharth Vinod
a964af67ec
Handle edge cases in E2E 2024-01-19 19:04:25 +05:30
Sidharth Vinod
6f205f89b2
Always run combineArtifacts 2024-01-19 16:58:19 +05:30
Sidharth Vinod
35b3192c2b
Fix error message 2024-01-19 16:58:19 +05:30
Sidharth Vinod
be4721b24d
Fix cache save 2024-01-19 16:58:19 +05:30
Sidharth Vinod
a9a8a208a6
Update cache key 2024-01-19 16:58:19 +05:30
Sidharth Vinod
f58a86d747
Notify users 2024-01-19 16:58:19 +05:30
Sidharth Vinod
4ce5d07125
Flatten uploaded images 2024-01-19 16:58:18 +05:30
Sidharth Vinod
658af081ee
Flatten uploaded images 2024-01-19 14:42:51 +05:30
Sidharth Vinod
58b6cf0174
Merge branch 'develop' into next
* develop: (50 commits)
  Use pixelmatch for image comparison
  Run all tests
  Fix lint
  Update lockfile
  E2E test
  Use cache to store snapshots
  chore(deps): update all patch dependencies
  Change string concatenation to template literal
  Revert "Revert 5041 feature/4935 subgraph title margin config option"
  build(deps-dev): bump follow-redirects from 1.15.2 to 1.15.5
  Run dev docs without npx
  Remove npx completely from run script
  Update docs
  Fix linters
  Removed volta requirement, leave pnpm only
  Fixed dead link
  build
  Update docs
  Updated contributing docs after review, minor fixes
  Updated gantt chart docs to show all config options
  ...
2024-01-19 13:46:10 +05:30
Sidharth Vinod
d6e738ac4c
Run all tests 2024-01-19 12:21:51 +05:30
Sidharth Vinod
448756ab54
Fix lint 2024-01-19 12:17:20 +05:30
Sidharth Vinod
d2c82c1802
Use cache to store snapshots 2024-01-19 12:06:53 +05:30
Sidharth Vinod
aab7631a9f
Merge branch 'develop' into next
* develop: (62 commits)
  Draft release on master
  docs: Add release version
  Revert "fix: render the participants in same order as they are created"
  Revert "Feature/4935 subgraph title margin config option"
  Fix typo
  add inadvertent tracking removal
  update announcement bar
  Update integrations-community.md (Add Codemia to the list of productivity tools using Mermaid.)
  v10.7.0
  10.6.2-rc.3
  docs: Remove broken integration
  chore: Minor cleanup of imperativeState
  chore(deps): update all minor dependencies
  adds corresponding change in docs/ecosystem
  Adds Unison programming language to community integrations list
  update verbiage
  update verbiage
  add jetbrains blog post
  additional updates
  Fixed parser/tests
  ...
2024-01-16 19:15:33 +05:30
Nikolay Rozhkov
36fdff8378 Merge branch 'develop' into docs/2910_update-contributing-guidelines 2024-01-15 13:17:47 +03:00
Sidharth Vinod
dc857f804e
Draft release on master 2024-01-15 14:47:03 +05:30
Sidharth Vinod
0e105afbf9
Fix typo 2024-01-15 12:55:28 +05:30
Nikolay Rozhkov
21ecc28b40 Merge branch 'develop' into docs/2910_update-contributing-guidelines 2024-01-12 01:41:00 +03:00
renovate[bot]
8383b1b9bc
chore(deps): update all minor dependencies 2024-01-10 15:44:22 +00:00
Nikolay Rozhkov
17312a0232 Cleanup 2024-01-05 17:37:34 +03:00
Nikolay Rozhkov
3bc39409e5 Formatting 2023-12-19 02:55:20 +03:00
Sidharth Vinod
5eb116059b
Turn off patch coverage 2023-11-24 11:04:11 +05:30
Sidharth Vinod
862d20ce9d
Merge branch 'develop' into other/remove-pr-labeler-action
* develop: (164 commits)
  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
  Update docs
  Documentation: clarify sentence
  Fix lint
  Fix typo
  fix typo
  Add new Atlassian integrations
  chore(deps): update all patch dependencies
  Update demos/sequence.html
  chore: release v10.6.1
  fix
  fix
  fix: render the participants in same order as they are created
  fix(flow): fix invalid ellipseText regex
  ...
2023-11-15 07:58:48 +05:30
Andreas Deininger
6fb5641afc Bump GitHub workflow actions to latest versions 2023-11-09 12:56:57 +01:00
SADIK KUZU
672a0edc59
Fix typo in build-docs.yml 2023-10-27 12:22:14 +03:00
Alois Klink
99beeba261 ci(pr-labeler): add required template option
This value is unused, but it's required, so we have to add it.

Fixes: a1673d3aca6a43500a1c469c07d65bc54edd647b
2023-09-25 18:20:54 +01:00
Alois Klink
a1673d3aca ci(pr-labeler): replace TimonVS/pr-labeler-action
Replace the `TimonVS/pr-labeler-action` with
`release-drafter/release-drafter` as it has an [`autolabeler`][1]
option that can autolabel PRs for us.

This should fix labeling PRs from forks,
see https://github.com/TimonVS/pr-labeler-action/issues/25.

I've kept the `.github/pr-labeler.yml` configuration file, so that
links to it from the https://mermaid.js.org website continue to work.

I've also kept everything in the same
`.github/workflows/pr-labeler.yml` GitHub Actions workflow to make the
`git diff` easier to review, and to keep the GitHub Actions permissions
the same.

[1]: ff929b5ceb/README.md (autolabeler)
2023-09-24 19:18:56 +01:00
Alois Klink
672a289909 style(pr-labeler): format .github/pr-labeler.yml
Change the formatting of .github/pr-labeler.yml to make `git diff`'s
easier to understand in a future commit.
2023-09-24 19:18:01 +01:00
Alois Klink
dc22189eef docs(ci/pr-labeler): warn about security issues
Using `pull_request_target` is pretty dangerous, since it heavily
increases the risk of malicious PRs getting access to the mermaid-js
repo.

What we're doing currently is safe, but we should add a warning
message just to ensure that we're very careful when we make changes.

See: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
See: https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
2023-09-24 19:17:03 +01:00
Alois Klink
5f740312fe ci(release-draft): handle new release-drafter name
https://github.com/toolmantim/release-drafter has been renamed to
https://github.com/release-drafter/release-drafter.
2023-09-24 19:16:57 +01:00
Alois Klink
123d53c265 ci(release-drafter): remove unused branch config
`branch` is not a valid configuration option for release-drafter,
see
https://github.com/release-drafter/release-drafter#configuration-options

There's is a similar [`references` option][1], but it does nothing when
using GitHub Actions (it's only there for GitHub apps).

There's also `commitish`, but it defaults to the target/branch the
GitHub Action job runs on, so we don't need to set that.

[1]: https://github.com/release-drafter/release-drafter#references
2023-09-24 19:16:51 +01:00
Alois Klink
b928e60d8b ci(pr-labeler): limit GITHUB_TOKEN permissions
Limit the `GITHUB_TOKEN` permissions for `TimonVS/pr-labeler-action`
to the minimum required permissions.
2023-09-24 19:16:38 +01:00
Alois Klink
9688269027 ci(release-draft): limit GITHUB_TOKEN permissions
Limit the `GITHUB_TOKEN` permissions for `toolmantim/release-drafter`
to the minimum required permissions.
2023-09-24 19:16:33 +01:00
Sidharth Vinod
095394dbef
docs: Correct words
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-09-24 11:13:50 +05:30
Sidharth Vinod
ab7fcb26d7
Update URLs. 2023-09-22 10:20:16 +05:30
Sidharth Vinod
c64e2106cf
docs: Add LiveEditor Beta 2023-09-15 13:53:07 +05:30
Sidharth Vinod
52f05552a1
chore: Remove duplicate CI action 2023-08-22 11:42:12 +05:30
Sidharth Vinod
bb01b3972d
chore: Add circular dependency check in CI 2023-08-22 11:38:55 +05:30