Ibrahim Wassouf
58b2b0993a
Give STR token higher precedence
2023-07-08 13:29:48 -03:00
Ibrahim Wassouf
d05d249080
Undo state changes
2023-07-08 13:28:45 -03:00
Ibrahim Wassouf
1e781c0c90
Refactor unit tests
2023-07-08 13:23:46 -03:00
Sidharth Vinod
eca2efa46d
Update packages/mermaid/src/rendering-util/splitText.spec.ts
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-07-08 19:01:45 +05:30
Ibrahim Wassouf
23f27d151a
Remove redundancy in unit tests
2023-07-07 22:44:34 -03:00
Ibrahim Wassouf
cd118ad5cb
Update erDiagram to make entity names in singular form
2023-07-07 19:59:52 -03:00
Ibrahim Wassouf
cf0a9c3016
Merge branch 'develop' into enhancement/4158_Add_primary_key_beginning_with_asterisk
2023-07-07 14:31:45 -04:00
Sidharth Vinod
0cdf801884
Fix import file extension
2023-07-07 17:21:18 +05:30
Sidharth Vinod
07df9eeb60
Rename docs.cli.mts
2023-07-07 15:57:05 +05:30
Sidharth Vinod
962ff73fc3
Batch by commit
2023-07-07 15:56:30 +05:30
Yokozuna59
f0bf6bf574
Merge branch 'develop' into convert-cypress-util-to-ts
2023-07-07 11:17:22 +02:00
Sidharth Vinod
79d38cef4b
Run docs:release-version
in CI
2023-07-07 11:32:00 +05:30
Sidharth Vinod
88856a721f
Support MERMAID_RELEASE_VERSION in docs
2023-07-07 11:28:04 +05:30
Sidharth Vinod
60c2d494a1
Merge pull request #4607 from mermaid-js/fix/prLabeler
...
Run PR-labeler-config-validator only if config changes
2023-07-07 05:15:14 +00:00
Sidharth Vinod
0f4af09398
Add Area: Documentation
to labeler
2023-07-07 10:32:13 +05:30
Sidharth Vinod
052e9db16a
Remove filter action
2023-07-07 10:30:59 +05:30
Sidharth Vinod
4648532814
Update .github/workflows/pr-labeler-config-validator.yml
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-07-07 10:29:58 +05:30
Sidharth Vinod
9263f75e5b
Update .github/pr-labeler.yml
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-07-07 10:27:56 +05:30
Sidharth Vinod
8348a2f2d8
Merge pull request #4610 from aloisklink/test/remove-old-default-config-test
...
Remove the test checking whether the JSON Schema default config matched the old default config
2023-07-07 04:41:00 +00:00
Sidharth Vinod
28406fc9c4
Add comments
2023-07-07 10:05:05 +05:30
Sidharth Vinod
d58c41dbc0
Add tests without Intl.Segmenter
2023-07-07 10:02:04 +05:30
Ibrahim Wassouf
5d76c033f0
Merge branch 'develop' into enhancement/4158_Add_primary_key_beginning_with_asterisk
2023-07-06 21:18:38 -04:00
Ibrahim Wassouf
fad11bce95
Correct one unit test and add another
2023-07-06 22:17:33 -03:00
Ibrahim Wassouf
42da53f58a
Add imgSnapshotTest
2023-07-06 22:15:18 -03:00
Alois Klink
8167f8c1df
Revert "test(config): add temp test for defaultConfig"
...
This reverts commit 063cb124cd64a64c068aea8c417628a3e4058307.
This file was originally added to test whether the new implementation
of the default config in
`packages/mermaid/src/schemas/config.schema.yaml` matched the old
existing default config in `packages/mermaid/src/oldDefaultConfig.ts`,
and this test is no longer needed.
2023-07-07 02:05:43 +01:00
Alois Klink
2b53e02153
test: fix 'new default config' test
...
This test was accidentally removed by a bad merge commit, see
29291c89 (Merge branch 'develop' into pr/aloisklink/4112, 2023-07-06).
This test checks whether the default config defined in the
`config.schema.yaml` file matches the old default config defined in
`oldDefaultConfig.ts`.
Fixes: 29291c8901fe9d8b316f17fe4e84d1ce8ca05002
2023-07-07 02:01:03 +01:00
Ibrahim Wassouf
4af2fca339
Add documentation for feature
2023-07-06 19:40:54 -03:00
Sidharth Vinod
b14bcda12a
Merge branch 'develop' into sidv/splitUnicode
2023-07-06 22:08:51 +05:30
Sidharth Vinod
1682fa1e53
Update PR Labeler config
2023-07-06 22:05:58 +05:30
Sidharth Vinod
355586f297
Run PR-labeler-config-validator only if config changes
2023-07-06 22:03:48 +05:30
Sidharth Vinod
7d996c3d33
Cleanup
2023-07-06 21:48:18 +05:30
Sidharth Vinod
194ef202ac
Merge pull request #4603 from mermaid-js/sidv/optimiseDocs
...
Avoid downloading avtars everytime on docs:dev
2023-07-06 16:10:53 +00:00
Sidharth Vinod
bcffff3b7b
Terminate build in CI if download fails
2023-07-06 21:36:10 +05:30
Sidharth Vinod
d4281d365d
Add Yokozuna59 & nirname
2023-07-06 21:29:40 +05:30
Sidharth Vinod
5ac70bbc00
Fix flowchart failure
2023-07-06 21:22:28 +05:30
Sidharth Vinod
60a93f7377
Handle proper formatting for markdown strings
2023-07-06 20:34:17 +05:30
Sidharth Vinod
f5484636aa
createText to TS
2023-07-06 16:12:09 +05:30
Sidharth Vinod
b0a104e3da
Merge branch 'develop' into sidv/splitUnicode
...
* develop: (293 commits)
chore: Remove lint warnings in example-diagram
chore: Reduce codecov pushes
Turn off codecov project status check
build(docs): fix links to `config.schema.json`
ci(lint): check if MermaidConfig types are in sync
docs: add link to mermaid config docs in sidebar
test(config): add temp test for defaultConfig
build(types): create types from config JSON Schema
build(types): add script to generate Config types
build(docs): build JSON Schema docs
build: use vite to get default mermaid config
feat: add Mermaid Config in JSON Schema format
docs: add support for ```regexp``` code blocks
test: test partial QuadrantChartConfig options
test: fix types in `config.spec.ts`
style: fix lint issues in src/config.spec.ts
test: rename src/config.spec.js to config.spec.ts
fix(quadrant): make quadrant options optional
fix lint
update homepage community link
...
2023-07-06 16:00:11 +05:30
Sidharth Vinod
48050333a0
Merge branch 'develop' into sidv/optimiseDocs
2023-07-06 15:57:01 +05:30
Sidharth Vinod
c17dc15c57
chore: Rename to teamMembers
2023-07-06 15:54:27 +05:30
Sidharth Vinod
34abbcadae
Merge pull request #4604 from mermaid-js/sidv/fixCodecov
...
chore: Reduce codecov pushes
2023-07-06 10:20:26 +00:00
Sidharth Vinod
2b5da79cdf
Merge pull request #4112 from aloisklink/add-jsonschema-schema-for-config
...
Use JSON Schema to define and document `MermaidConfig`
2023-07-06 10:03:55 +00:00
Sidharth Vinod
2366ca85b3
Merge branch 'develop' into sidv/fixCodecov
2023-07-06 11:59:44 +05:30
Sidharth Vinod
aaec16ed6c
chore: Remove lint warnings in example-diagram
2023-07-06 11:58:55 +05:30
Sidharth Vinod
a3d95ceec4
Bump zenuml package version
2023-07-06 11:36:16 +05:30
Sidharth Vinod
4d0c461fa3
chore: Reduce codecov pushes
...
pushes to non-develop branches will not send coverage reports.
This might reduce the coverage variability issue we're having.
2023-07-06 11:32:37 +05:30
Sidharth Vinod
db30f21ac5
Turn off codecov project status check
2023-07-06 11:16:41 +05:30
Sidharth Vinod
d2e62022f1
Avoid downloading avtars everytime on docs:dev
2023-07-06 11:09:09 +05:30
Sidharth Vinod
29291c8901
Merge branch 'develop' into pr/aloisklink/4112
...
* develop:
test: test partial QuadrantChartConfig options
test: fix types in `config.spec.ts`
style: fix lint issues in src/config.spec.ts
test: rename src/config.spec.js to config.spec.ts
fix lint
update homepage community link
docs(flowchart): add documentation on multiple nodes style
Add docker-specific command, leave commonly used command intact
Support docs:dev in docker
Fix lint.
Update docs
add ChatGPT plugin blog post
Fix flowchart tooltip typing
2023-07-06 10:42:13 +05:30
Sidharth Vinod
1a4e5d9c5a
Merge pull request #4562 from lishid/patch-3
...
Fix flowchart tooltip typing bug
2023-07-06 04:19:08 +00:00