Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] develop from mermaid-js:develop #134

Open
wants to merge 2,223 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2223 commits
Select commit Hold shift + click to select a range
9fb2c6f
Merge pull request #1388 from Abrifq/develop
sidharthv96 Feb 3, 2024
7714c8f
Merge branch 'develop' into mermaid/10.8.0
sidharthv96 Feb 3, 2024
8c3e208
Merge pull request #1391 from mermaid-js/mermaid/10.8.0
sidharthv96 Feb 3, 2024
756c8ae
Merge pull request #1389 from mermaid-js/browserslist-update
sidharthv96 Feb 3, 2024
0abf806
Merge branch 'master' into release-promotion
sidharthv96 Feb 3, 2024
2e25c84
Merge pull request #1392 from mermaid-js/release-promotion
sidharthv96 Feb 3, 2024
b3955bd
Add block sample
sidharthv96 Feb 3, 2024
351d46c
Updated block diagram example
knsv Feb 5, 2024
b5e6fb2
Merge pull request #1393 from mermaid-js/mermaid/10.8.0
sidharthv96 Feb 5, 2024
2fb1ce7
chore(deps): update all non-major dependencies
renovate[bot] Feb 6, 2024
3f95ce2
Merge pull request #1394 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Feb 6, 2024
552df74
Merge pull request #1395 from mermaid-js/release-promotion
sidharthv96 Feb 8, 2024
ab7aed0
feat: Add privacy modal
sidharthv96 Feb 9, 2024
4f66f40
Merge pull request #1397 from mermaid-js/release-promotion
sidharthv96 Feb 9, 2024
b7ccfff
Hide overflow for body
sidharthv96 Feb 12, 2024
c0101cd
Merge pull request #1400 from mermaid-js/release-promotion
sidharthv96 Feb 12, 2024
9d2c8ea
Fix broken link to the tutorial page
BaumiCoder Feb 16, 2024
c005cf4
Fix Link to contribution guidelines
BaumiCoder Feb 16, 2024
a501827
Merge pull request #1405 from BaumiCoder/fixLinkToContributionGuidelines
sidharthv96 Feb 19, 2024
e6dd0fa
Merge pull request #1404 from BaumiCoder/fixLinkToTutorial
sidharthv96 Feb 19, 2024
3e52f07
Update node
sidharthv96 Feb 26, 2024
a14970d
Bump node version
sidharthv96 Feb 26, 2024
611fda5
update link
huynhicode Feb 29, 2024
edc8af2
build: update Browserslist db
actions-user Feb 15, 2024
05a941e
build: update Browserslist db
actions-user Mar 1, 2024
d439963
Vendor Font-Awesome
maxstanley Mar 2, 2024
e5e6045
Fix indentation
maxstanley Mar 2, 2024
fe3e283
Move FA CSS to app.postcss
maxstanley Mar 2, 2024
74be138
Add #681 TODO
maxstanley Mar 2, 2024
5a74e15
Remove whitespace
maxstanley Mar 2, 2024
ab2a024
Formatting
maxstanley Mar 2, 2024
2d3f233
Include FA Stylesheet in SVG
maxstanley Mar 2, 2024
ef34b4c
Merge pull request #1402 from mermaid-js/browserslist-update
sidharthv96 Mar 5, 2024
2d6e74a
chore(deps): update all non-major dependencies
renovate[bot] Mar 5, 2024
89d6d35
mermaid v10.9.0
sidharthv96 Mar 5, 2024
f7ae8d1
Merge pull request #1409 from mermaid-js/update-announcement-bar
sidharthv96 Mar 5, 2024
c06d98c
Fix prettier
sidharthv96 Mar 5, 2024
873481e
Merge pull request #1398 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Mar 5, 2024
6428d69
Merge branch 'develop' into sidv/10.9.0
sidharthv96 Mar 5, 2024
301d39d
Merge pull request #1413 from mermaid-js/sidv/10.9.0
sidharthv96 Mar 5, 2024
6de7cbc
Merge pull request #1407 from mermaid-js/release-promotion
sidharthv96 Mar 5, 2024
e95ccb4
chore(deps): update all non-major dependencies
renovate[bot] Mar 11, 2024
ef1390f
Merge pull request #1416 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Mar 11, 2024
41e6daf
chore(deps): update all non-major dependencies
renovate[bot] Mar 11, 2024
1e3248c
Merge pull request #1399 from mermaid-js/renovate/all-minor-patch
sidharthv96 Mar 12, 2024
e74828b
1. Add @mermaid-js/mermaid-zenuml dependency and register external di…
dontry Jan 23, 2024
19702f8
Update dependencies and error handling in mermaid.ts
dontry Feb 29, 2024
50b0d12
Replace zenuml example with a more sophisticated one
dontry Mar 5, 2024
7eee9b7
Bump version
sidharthv96 Mar 5, 2024
664d81f
Refactor diagram registration without top-level promise
dontry Mar 12, 2024
5276972
chore(deps): update all non-major dependencies
renovate[bot] Mar 21, 2024
44eeceb
Merge pull request #1420 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Mar 23, 2024
3613b41
fix: subscripts in corner safari, resolves #1423
Yash-Singh1 Mar 24, 2024
6175a02
Merge branch 'mermaid-js:develop' into feature/zenuml
dontry Mar 24, 2024
cfd8484
Remove pnpm-lock.yaml
sidharthv96 Mar 24, 2024
329839a
Fix clicking issue in diagramUpdate.spec.ts
dontry Mar 24, 2024
f89b2f5
build(deps): bump katex from 0.16.9 to 0.16.10
dependabot[bot] Mar 25, 2024
618ac91
Merge pull request #1383 from dontry/feature/zenuml
sidharthv96 Mar 27, 2024
bc9e8c3
chore(deps): update all non-major dependencies
renovate[bot] Mar 29, 2024
d2f5dd1
chore(deps): update all non-major dependencies
renovate[bot] Mar 31, 2024
36390c2
Merge pull request #1425 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Apr 2, 2024
e635b23
Merge pull request #1421 from mermaid-js/renovate/all-minor-patch
sidharthv96 Apr 2, 2024
8fd1c15
Merge pull request #1417 from mermaid-js/release-promotion
sidharthv96 Apr 2, 2024
57eef9d
fix(#1401): Handle error when loading gist
sidharthv96 Apr 5, 2024
0e6c022
Merge pull request #1429 from mermaid-js/1401_LoadGist
sidharthv96 Apr 5, 2024
29b9188
Merge branch 'develop' into fix/1423
sidharthv96 Apr 5, 2024
fdd2581
Merge pull request #1430 from mermaid-js/release-promotion
sidharthv96 Apr 5, 2024
df66e43
Update README.md
kerwin612 Apr 9, 2024
c5d3eb3
chore(deps): update all non-major dependencies
renovate[bot] Apr 11, 2024
f862d29
Merge pull request #1424 from mermaid-js/fix/1423
sidharthv96 Apr 13, 2024
6d5a9ac
Merge pull request #1432 from mermaid-js/renovate/all-minor-patch
sidharthv96 Apr 13, 2024
4eb2318
chore(deps): update all non-major dependencies
renovate[bot] Apr 13, 2024
68157f7
Merge pull request #1431 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Apr 13, 2024
93b75ef
build: update Browserslist db
actions-user Apr 15, 2024
39e0293
Merge pull request #1440 from mermaid-js/browserslist-update
sidharthv96 Apr 16, 2024
dcff346
build: update Browserslist db
actions-user May 1, 2024
cc227ea
chore(deps): update all non-major dependencies
renovate[bot] May 1, 2024
580e2f7
chore(deps): update all non-major dependencies
renovate[bot] May 2, 2024
3dad6eb
Merge pull request #1439 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 May 3, 2024
86a7909
Merge branch 'develop' into renovate/all-minor-patch
sidharthv96 May 3, 2024
dc72838
Merge pull request #1442 from mermaid-js/renovate/all-minor-patch
sidharthv96 May 3, 2024
61a9ecf
chore(deps): update all non-major dependencies
renovate[bot] May 10, 2024
8e7758a
Merge pull request #1445 from mermaid-js/renovate/all-minor-patch
sidharthv96 May 12, 2024
528d2f0
Merge pull request #1444 from mermaid-js/browserslist-update
sidharthv96 May 12, 2024
f7046c2
Merge pull request #1437 from mermaid-js/release-promotion
sidharthv96 May 12, 2024
386a197
chore(deps): update dependency svelte to v4.2.16
renovate[bot] May 13, 2024
34a6d3c
Merge pull request #1434 from kerwin612/patch-1
sidharthv96 May 13, 2024
116a84e
Merge pull request #1447 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 May 13, 2024
7b80de3
build: update Browserslist db
actions-user May 15, 2024
c9db1b9
chore(deps): update all non-major dependencies
renovate[bot] May 20, 2024
c914343
Merge pull request #1454 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 May 21, 2024
b51ab51
fix(deps): update dependency mermaid to v10.9.1
renovate[bot] May 21, 2024
1e52482
Merge pull request #1455 from mermaid-js/renovate/patch-mermaid-packages
sidharthv96 May 21, 2024
eb3b2d5
Merge pull request #1450 from mermaid-js/browserslist-update
sidharthv96 May 21, 2024
994a87b
Merge branch 'master' into release-promotion
sidharthv96 May 21, 2024
8b67365
Merge pull request #1448 from mermaid-js/release-promotion
sidharthv96 May 21, 2024
cba9a67
feat: Add rough mode
sidharthv96 May 23, 2024
20b4ecc
Update snapshots
sidharthv96 May 23, 2024
4525e04
chore: Add isRough to stats
sidharthv96 May 23, 2024
ca03a85
Merge pull request #1457 from mermaid-js/sidv/rough
sidharthv96 May 23, 2024
ea05533
Merge pull request #1458 from mermaid-js/release-promotion
sidharthv96 May 23, 2024
fa5bc5a
build: update Browserslist db
actions-user Jun 1, 2024
a09f5ee
build: update Browserslist db
actions-user Jun 15, 2024
7ce93ea
Merge branch 'develop' into pr/maxstanley/1412
sidharthv96 Jun 16, 2024
81cc401
Remove stalebot
sidharthv96 Jun 16, 2024
238557b
chore(deps): update all non-major dependencies
renovate[bot] Jun 16, 2024
6fbc5da
Merge pull request #1412 from maxstanley/vendor-fa
sidharthv96 Jun 16, 2024
77aa7d8
Merge pull request #1463 from mermaid-js/browserslist-update
sidharthv96 Jun 16, 2024
262d9e9
Merge pull request #1462 from mermaid-js/renovate/all-minor-patch
sidharthv96 Jun 16, 2024
915b899
chore(deps): update all non-major dependencies
renovate[bot] Jun 16, 2024
71f4a9b
Merge pull request #1461 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Jun 16, 2024
beca75b
Merge branch 'develop' into dependabot/npm_and_yarn/katex-0.16.10
sidharthv96 Jun 16, 2024
49edf2e
Merge branch 'develop' into sidv/errorDialogue
sidharthv96 Jun 16, 2024
3baba33
Remove error lines from View
sidharthv96 Jun 16, 2024
9695512
Merge pull request #1299 from mermaid-js/sidv/errorDialogue
sidharthv96 Jun 17, 2024
368e741
Merge pull request #1426 from mermaid-js/dependabot/npm_and_yarn/kate…
sidharthv96 Jun 17, 2024
aca7f07
Merge branch 'develop' into sidv/errorHighlight
sidharthv96 Jun 17, 2024
6d67f0c
Merge pull request #1300 from mermaid-js/sidv/errorHighlight
sidharthv96 Jun 17, 2024
582c966
Merge pull request #1468 from mermaid-js/release-promotion
sidharthv96 Jun 17, 2024
e703aec
update endDate on promo
huynhicode Jun 19, 2024
e9a0378
Merge pull request #1470 from mermaid-js/promo-bar
sidharthv96 Jun 19, 2024
8a2bfcf
chore(deps): update all non-major dependencies
renovate[bot] Jun 24, 2024
2a4a700
build(deps): bump @zenuml/core from 3.17.3 to 3.23.26
dependabot[bot] Jun 26, 2024
62906cb
add product hunt badge to navbar
huynhicode Jun 27, 2024
8909b9e
Merge pull request #1476 from mermaid-js/add-product-hunt-badge
sidharthv96 Jun 27, 2024
ea2d8e8
Merge pull request #1472 from mermaid-js/renovate/all-minor-patch
sidharthv96 Jun 27, 2024
3b8209b
Merge pull request #1475 from mermaid-js/dependabot/npm_and_yarn/zenu…
sidharthv96 Jun 27, 2024
d1da3ac
build(deps): bump ws from 8.16.0 to 8.17.1
dependabot[bot] Jun 27, 2024
903106d
build: update Browserslist db
actions-user Jul 1, 2024
e66630f
Update manifest.json to align the URL with the PWA scope, fix #1480
allxiao Jul 9, 2024
c4b848e
chore(deps): update all non-major dependencies
renovate[bot] Jul 13, 2024
6db6b6d
Merge pull request #1481 from allxiao/patch-1
sidharthv96 Jul 14, 2024
3942063
Merge pull request #1478 from mermaid-js/browserslist-update
sidharthv96 Jul 14, 2024
0c5002b
Merge pull request #1471 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Jul 14, 2024
e9c11a9
Merge pull request #1469 from mermaid-js/dependabot/npm_and_yarn/ws-8…
sidharthv96 Jul 14, 2024
32a90da
Merge pull request #1477 from mermaid-js/release-promotion
sidharthv96 Jul 14, 2024
a782f60
Merge pull request #1484 from mermaid-js/master
sidharthv96 Jul 14, 2024
34ae0ab
build: update Browserslist db
actions-user Jul 15, 2024
2133625
chore(deps): update all non-major dependencies
renovate[bot] Jul 16, 2024
84d666f
Merge pull request #1487 from mermaid-js/browserslist-update
sidharthv96 Jul 17, 2024
3a3641b
Merge pull request #1486 from mermaid-js/renovate/all-minor-patch
sidharthv96 Jul 17, 2024
d460288
chore(deps): update dependency eslint-plugin-svelte to v2.43.0
renovate[bot] Jul 22, 2024
5621afc
fix(deps): update all non-major dependencies
renovate[bot] Jul 22, 2024
1da5938
update product hunt content
huynhicode Jul 23, 2024
cbeb633
Merge pull request #1492 from mermaid-js/update-product-hunt-content
sidharthv96 Jul 24, 2024
4615494
Merge pull request #1489 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Jul 24, 2024
eb62ba0
Merge pull request #1490 from mermaid-js/renovate/all-minor-patch
sidharthv96 Jul 24, 2024
5b1979d
Merge pull request #1485 from mermaid-js/release-promotion
sidharthv96 Jul 24, 2024
996a20d
feat: Sanitize error message
sidharthv96 Jul 24, 2024
28ef0e0
Merge pull request #1494 from mermaid-js/sidv/sanitizeError
sidharthv96 Jul 25, 2024
ff092df
Merge pull request #1495 from mermaid-js/release-promotion
sidharthv96 Jul 25, 2024
6e16716
remove product hunt text and badge
huynhicode Jul 29, 2024
29d0fea
Merge pull request #1501 from mermaid-js/product-hunt-updates
sidharthv96 Jul 31, 2024
a01fe0b
build: update Browserslist db
actions-user Aug 1, 2024
36f9cfb
chore(deps): update all non-major dependencies
renovate[bot] Aug 1, 2024
96b20fc
Merge pull request #1498 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Aug 2, 2024
2815f35
Merge pull request #1503 from mermaid-js/browserslist-update
sidharthv96 Aug 2, 2024
4aad530
chore(deps): update all non-major dependencies
renovate[bot] Aug 6, 2024
9dc4f57
update promo bar
huynhicode Aug 6, 2024
910fdd7
Merge pull request #1505 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Aug 6, 2024
d529226
chore(deps): update all non-major dependencies
renovate[bot] Aug 6, 2024
2916eae
chore: Simplify promotion
sidharthv96 Aug 7, 2024
f736e15
Merge pull request #1506 from mermaid-js/update-promo-bar
sidharthv96 Aug 7, 2024
c3fae58
Merge pull request #1499 from mermaid-js/renovate/all-minor-patch
sidharthv96 Aug 7, 2024
c40d83d
Merge pull request #1504 from mermaid-js/release-promotion
sidharthv96 Aug 7, 2024
7965159
build: update Browserslist db
actions-user Aug 15, 2024
c77ccfe
chore: Release mermaid v11
sidharthv96 Aug 24, 2024
634921d
Merge pull request #1510 from mermaid-js/browserslist-update
sidharthv96 Aug 24, 2024
15bb56b
chore(deps): update all non-major dependencies
renovate[bot] Aug 24, 2024
34207c7
Merge branch 'develop' into sidv/MermaidV11
sidharthv96 Aug 24, 2024
dd7ff49
Update lockfile
sidharthv96 Aug 24, 2024
48333ca
Merge pull request #1509 from mermaid-js/renovate/all-minor-patch
sidharthv96 Aug 24, 2024
2cdc8ed
Merge branch 'develop' into sidv/MermaidV11
sidharthv96 Aug 24, 2024
3fbe4a8
Merge pull request #1512 from mermaid-js/sidv/MermaidV11
sidharthv96 Aug 24, 2024
571c58e
Merge pull request #1513 from mermaid-js/release-promotion
sidharthv96 Aug 24, 2024
d023a11
feat: Add layout-elk
sidharthv96 Aug 28, 2024
eaf8eb4
Merge pull request #1518 from mermaid-js/sidv/elkLoader
ashishjain0512 Aug 28, 2024
4d4dde0
Merge pull request #1519 from mermaid-js/release-promotion
sidharthv96 Aug 28, 2024
21ba23d
build: update Browserslist db
actions-user Sep 1, 2024
762f8f0
fix(deps): update all non-major dependencies
renovate[bot] Sep 4, 2024
fbf2bcb
update promo bar styling
huynhicode Sep 5, 2024
b3a3a0e
Merge pull request #1525 from mermaid-js/update-promo-bar-button-style
sidharthv96 Sep 5, 2024
e88bb8b
Merge pull request #1508 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Sep 5, 2024
370a03f
Merge pull request #1524 from mermaid-js/browserslist-update
sidharthv96 Sep 5, 2024
07595b5
Merge pull request #1526 from mermaid-js/release-promotion
sidharthv96 Sep 5, 2024
806699d
add product hunt badge to navbar
huynhicode Sep 6, 2024
4a08f6d
Merge pull request #1527 from mermaid-js/add-product-hunt-badge
sidharthv96 Sep 9, 2024
4781d46
update dependencies
nnmrts Sep 9, 2024
2077d37
build: update Browserslist db
actions-user Sep 15, 2024
bc72088
chore: Fix test
sidharthv96 Sep 16, 2024
8875453
Merge pull request #1534 from nnmrts/develop
sidharthv96 Sep 16, 2024
8fdd959
Merge pull request #1538 from mermaid-js/browserslist-update
sidharthv96 Sep 16, 2024
9ffa715
Merge pull request #1540 from mermaid-js/release-promotion
sidharthv96 Sep 16, 2024
e4092a6
chore: Update mermaid to 11.2.1
sidharthv96 Sep 16, 2024
c06828d
Merge pull request #1541 from mermaid-js/release-promotion
sidharthv96 Sep 16, 2024
f663318
Disable buttons/links to share data with other websites depending on …
bluprince13 Sep 28, 2024
7bae587
Update src/routes/edit/+page.svelte
bluprince13 Sep 28, 2024
8fb2114
Update src/lib/util/promos/promo.ts
bluprince13 Sep 28, 2024
267c616
chore: Remove unused destructuring
sidharthv96 Sep 29, 2024
6e262b3
build: update Browserslist db
actions-user Oct 1, 2024
3b0fae3
add and update product hunt promo for whiteboard
huynhicode Oct 3, 2024
f59a2dc
Merge pull request #1552 from mermaid-js/promo-whiteboard
sidharthv96 Oct 3, 2024
1c04d7d
Merge pull request #1551 from mermaid-js/browserslist-update
sidharthv96 Oct 3, 2024
60e2b30
Bump [email protected]
sidharthv96 Oct 3, 2024
d5123c6
Merge pull request #1553 from mermaid-js/release-promotion
sidharthv96 Oct 3, 2024
4415849
Merge branch 'develop' into feature/1511_ability-to-disable-data-shar…
sidharthv96 Oct 4, 2024
8190a94
Merge pull request #1528 from bluprince13/feature/1511_ability-to-dis…
sidharthv96 Oct 4, 2024
cc963db
Merge pull request #1554 from mermaid-js/release-promotion
sidharthv96 Oct 5, 2024
4c06db6
build: update Browserslist db
actions-user Oct 15, 2024
6bdabf9
remove product hunt promo
huynhicode Oct 22, 2024
98cbcf1
update taglines
huynhicode Oct 22, 2024
76c937a
update dates
huynhicode Oct 22, 2024
659e82e
remove august promo
huynhicode Oct 22, 2024
2fe3df5
Merge pull request #1559 from mermaid-js/promo-updates
sidharthv96 Oct 22, 2024
5ba65bc
Merge pull request #1557 from mermaid-js/browserslist-update
sidharthv96 Oct 29, 2024
8cf4ac4
Allow props
sidharthv96 Oct 29, 2024
cfdb4fb
update whiteboard tagline
huynhicode Oct 30, 2024
190bac8
Svelte 5 migration
sidharthv96 Oct 30, 2024
6517053
build: update Browserslist db
actions-user Nov 1, 2024
ecc34aa
fix(deps): update dependency mermaid to v11.4.0
renovate[bot] Nov 4, 2024
765c352
Merge pull request #1564 from mermaid-js/update-whiteboard-tagline
sidharthv96 Nov 6, 2024
c67b84a
test: increase file size limit
sidharthv96 Nov 8, 2024
95c8589
Merge pull request #1568 from mermaid-js/renovate/mermaid-packages
sidharthv96 Nov 8, 2024
6816bd9
Merge pull request #1567 from mermaid-js/browserslist-update
sidharthv96 Nov 8, 2024
d8401a8
Merge pull request #1563 from mermaid-js/release-promotion
sidharthv96 Nov 8, 2024
84db2c7
fix(deps): update all non-major dependencies
renovate[bot] Nov 8, 2024
98f7b1b
Merge pull request #1546 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Nov 8, 2024
75697b7
chore(deps): update dependency vite to v5.4.6 [security]
renovate[bot] Nov 8, 2024
aa9e9c8
chore(deps): update all non-major dependencies
renovate[bot] Nov 8, 2024
e80f086
Merge pull request #1539 from mermaid-js/renovate/all-minor-patch
sidharthv96 Nov 8, 2024
ee156c7
Merge pull request #1543 from mermaid-js/renovate/npm-vite-vulnerability
sidharthv96 Nov 8, 2024
118f033
Merge branch 'develop' into sidv/svelte5
sidharthv96 Nov 8, 2024
09616ed
chore: Fix unit test
sidharthv96 Nov 8, 2024
e2d7fd4
chore: Update action versions
sidharthv96 Nov 8, 2024
8fd9656
Merge pull request #1565 from mermaid-js/sidv/svelte5
sidharthv96 Nov 8, 2024
4c24b52
feat: Add mermaidchart playground toggle
sidharthv96 Nov 8, 2024
5acd3fa
fix: Add fallback for state
sidharthv96 Nov 8, 2024
f7f3e35
feat: Add dropdown navbar items
sidharthv96 Nov 10, 2024
8c1c348
chore: Cleanup
sidharthv96 Nov 10, 2024
3e3a016
fix: Add fallback for state
sidharthv96 Nov 8, 2024
83f3c07
Merge branch 'master' into develop
sidharthv96 Nov 11, 2024
09e705c
Merge branch 'develop' into playground
sidharthv96 Nov 11, 2024
f954dfa
feat: Retain toggle label positions
sidharthv96 Nov 13, 2024
90716ef
chore: Update labels
sidharthv96 Nov 14, 2024
dc114d5
fix: Unit test
sidharthv96 Nov 14, 2024
b658cee
chore: Update URL
sidharthv96 Nov 14, 2024
5b103ac
chore: Update snapshots
sidharthv96 Nov 14, 2024
ba1c0da
Merge pull request #1573 from mermaid-js/playground
sidharthv96 Nov 14, 2024
1e6e994
chore(deps): update all non-major dependencies
renovate[bot] Nov 14, 2024
939ef8b
Merge pull request #1572 from mermaid-js/renovate/patch-all-minor-patch
sidharthv96 Nov 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
**/node_modules
**/.git
**/.svelte-kit
**/dist
**/docs

**/.github
**/.husky
**/.vscode

Dockerfile
.dockerignore
docker-compose.yml
README.md
7 changes: 7 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
MERMAID_DOMAIN=''
MERMAID_ANALYTICS_URL=''
MERMAID_RENDERER_URL='https://mermaid.ink'
MERMAID_KROKI_RENDERER='https://kroki.io'
MERMAID_IS_ENABLED_MERMAID_CHART_LINKS=''

# cp .env .env.local to make local changes
8 changes: 8 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
docs/**
.svelte-kit/**
static/**
build/**
node_modules/**
coverage/**
__snapshots__/**
snapshots.js
134 changes: 98 additions & 36 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,38 +1,100 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
// 'plugin:@typescript-eslint/recommended-requiring-type-checking',
'prettier'
],
plugins: ['svelte3', 'tailwindcss', '@typescript-eslint'],
ignorePatterns: ['docs/*', '*.cjs', '*.md', 'snapshots.js', 'svelte.config.js', 'package.json'],
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
settings: {
'svelte3/typescript': () => require('typescript')
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 2019,
tsconfigRootDir: __dirname,
project: ['./tsconfig.json'],
extraFileExtensions: ['.svelte']
},
env: {
browser: true,
es2017: true,
node: true
},
rules: {
'@typescript-eslint/ban-ts-comment': [
'error',
{
'ts-ignore': 'allow-with-description'
}
],
'@typescript-eslint/no-unsafe-member-access': 'warn',
'@typescript-eslint/no-unsafe-assignment': 'warn'
}
root: true,
parser: '@typescript-eslint/parser',
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
// 'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:@typescript-eslint/strict',
'plugin:unicorn/recommended',
'plugin:svelte/recommended',
'plugin:svelte/prettier',
'prettier'
],
plugins: ['tailwindcss', '@typescript-eslint', 'es', 'vitest', 'no-only-tests', 'unicorn'],
ignorePatterns: [
'docs/*',
'*.cjs',
'*.js',
'*.md',
'snapshots.js',
'svelte.config.js',
'renovate.json',
'package.json',
'tsconfig.json'
],
overrides: [
{
files: ['*.svelte'],
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser'
}
},
{
files: ['*.ts'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'plugin:@typescript-eslint/strict',
'prettier'
]
}
],
parserOptions: {
sourceType: 'module',
ecmaVersion: 2020,
tsconfigRootDir: __dirname,
project: './tsconfig.json',
extraFileExtensions: ['.svelte']
},
env: {
browser: true,
es2020: true
},
rules: {
'@typescript-eslint/ban-ts-comment': [
'error',
{
'ts-ignore': 'allow-with-description'
}
],
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'es/no-regexp-lookbehind-assertions': 'error',
curly: ['error', 'all'],
'no-only-tests/no-only-tests': 'error',
'unicorn/no-null': 'off',
'unicorn/filename-case': [
'error',
{
case: 'camelCase'
}
],
'unicorn/filename-case': 'off',
'unicorn/prevent-abbreviations': [
'error',
{
allowList: {
ctx: true,
db: true,
doc: true,
env: true,
fn: true,
i: true,
j: true,
k: true,
param: true,
Props: true,
req: true,
res: true,
str: true,
searchParams: true,
temp: true,
ImportMetaEnv: true
}
}
]
}
};
5 changes: 5 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# .git-blame-ignore-revs
# Prettier Pass
6fde9e22a3ba0b80879a1909fb233367ef20b738
# Tabs -> Spaces
0ac606b8fbf6f94215cbda1d4511e2dcd30e4655
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: [sidharthv96, knsv]
23 changes: 23 additions & 0 deletions .github/dependabot.disabled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 2
updates:
- package-ecosystem: docker
directory: /
target-branch: develop
schedule:
interval: weekly
day: friday
time: '07:00'
- package-ecosystem: github-actions
directory: /
target-branch: develop
schedule:
interval: weekly
day: friday
time: '07:00'
- package-ecosystem: npm
directory: /
target-branch: develop
schedule:
interval: weekly
day: friday
time: '07:00'
8 changes: 0 additions & 8 deletions .github/dependabot.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ Describe the way your implementation works or what design decisions you made if

Make sure you

- [ ] :book: have read the [contribution guidelines](https://github.com/mermaid-js/mermaid/blob/master/CONTRIBUTING.md)
- [ ] :book: have read the [contribution guidelines](https://mermaid.js.org/community/contributing.html)
- [ ] :computer: have added unit/e2e tests (if appropriate)
- [ ] :bookmark: targeted `develop` branch
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
config-file: ./.github/codeql/config.yml
languages: ${{ matrix.language }}
Expand All @@ -65,4 +65,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
30 changes: 13 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,42 +6,38 @@ on:
pull_request:
branches:
- master
- develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '14'

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- uses: actions/cache@v2
id: yarn-and-build-cache
- uses: actions/setup-node@v3
with:
path: |
node_modules
key: ${{ runner.os }}-node_modules-build-deploy-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node_modules-build-deploy-
node-version: 18
cache: yarn

- name: Build & Deploy
env:
MERMAID_DOMAIN: 'mermaid.live'
MERMAID_ANALYTICS_URL: 'https://p.mermaid.live'
MERMAID_RENDERER_URL: 'https://mermaid.ink'
MERMAID_KROKI_RENDERER_URL: 'https://kroki.io'
MERMAID_IS_ENABLED_MERMAID_CHART_LINKS: 'true'
run: |
npm i -g yarn
export DEPLOY=true
[ "$GITHUB_EVENT_NAME" == "pull_request" ] && export BETA=true && rm -rf docs/beta/
[ "$GITHUB_EVENT_NAME" != "pull_request" ] && rm -rf docs/_app/
yarn install
# yarn run lint
version=$(yarn version --patch --no-git-tag-version | grep "New version" | cut -d':' -f 2)
yarn build
cd bin
./fix-path
yarn run lint
cd ..

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Docker

on:
push:
branches:
# Publish `master` as Docker `latest` image.
- master
# Publish `develop` as Docker `nightly` image.
- develop

# Run tests for all PRs to master and develop.
pull_request:
branches:
- master
- develop

jobs:
docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Get release version
run: |
RELEASE_VERSION=$([ "${{ github.ref_name }}" = "master" ] && echo "latest" || echo "nightly")
echo "RELEASE_VERSION=${RELEASE_VERSION}" >> "${GITHUB_ENV}"
- uses: docker/metadata-action@v5
id: meta
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,value=${{ env.RELEASE_VERSION }}
- uses: docker/build-push-action@v5
with:
context: .
target: mermaid
push: ${{ github.event_name == 'push' }}
pull: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
21 changes: 21 additions & 0 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Create release pull request
on:
push:
branches:
- develop
jobs:
productionPromotion:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: master
- name: Reset promotion branch
run: |
git fetch origin develop:develop
git reset --hard develop
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
branch: release-promotion
title: Release live editor
17 changes: 0 additions & 17 deletions .github/workflows/stale.yml

This file was deleted.

Loading