Commit Graph

12 Commits

Author SHA1 Message Date
Sidharth Vinod 55ce05fc75
chore: Add tests for calculateDeltaAndAngle 2023-11-24 10:25:50 +05:30
Alois Klink 52a1243da5 build: use vite to get default mermaid config
Adds a vitepress JsonSchema plugin that automatically loads
the Mermaid Config JSON Schema from a .schema.yaml file and
gets the default values from it.
2023-07-06 03:53:40 +01:00
Sidharth Vinod 0d833fb4ce
Use v8 coverage 2023-06-28 23:28:23 +05:30
Sidharth Vinod 299b423e6b
chore: add excludes 2023-06-17 16:52:03 +05:30
Sidharth Vinod 8a0a874d1c
Merge coverages 2023-06-17 01:24:15 +05:30
Sidharth Vinod 7434031003
Add coverage paths 2023-06-16 23:54:02 +05:30
Remco Haszing fc80ba66d2
Fix import extensions 2023-03-11 15:27:16 +01:00
Remco Haszing b7d31adda4
Support node16 module resolution
The `node16` module resolution requires imports to use the `.js` file
extension in type definitions.

`@rollup/plugin-typescript` is needed to make this work with the Vite
setup used by Mermaid.

The module option for Mermaid internally is set to `nodenext`. This is
needed to support `.json` imports. Note that setting `module` to
`node16` or `nodenext` implies a matching `moduleResolution` value.
2023-03-11 14:54:21 +01:00
Knut Sveidqvist c05c98c082 WIP 2022-10-05 13:14:05 +02:00
Alois Klink 535f555b13 test: fix unit tests in new mono-repo 2022-09-25 19:18:16 +01:00
Sidharth Vinod 1c4eeb2d53
Fix unit test coverage 2022-09-22 15:45:44 +05:30
Sidharth Vinod aeb31fe1ae
Use vite for build 2022-09-22 15:35:22 +05:30