6299 Commits

Author SHA1 Message Date
Sidharth Vinod
0d8f09cec5
Merge pull request #3755 from mermaid-js/sidv/docsDev
Live edits for Docs
2022-11-07 21:22:25 +05:30
Sidharth Vinod
75d276e19e
Merge branch 'release_9.2.1_bugfixes' into sidv/webpackTest
* release_9.2.1_bugfixes:
  fix(mermaid): default mermaid back to CommonJS
  fix(mermaid): fix mermaid.render types
2022-11-07 14:32:35 +05:30
Sidharth Vinod
2243af1871
Merge pull request #3767 from aloisklink/fix/convert-package-back-to-commonjs
[9.2] fix(mermaid): default mermaid back to CommonJS
2022-11-07 14:31:45 +05:30
Sidharth Vinod
91bbab9e2d
Lint 2022-11-07 14:30:20 +05:30
Sidharth Vinod
c6287b640d
Merge remote-tracking branch 'origin/develop' into sidv/docsDev
* origin/develop:
  chore(deps): update all non-major dependencies
  chore(deps): update all non-major dependencies
  docs: Fix relative links to documentation files
  docs: Update references to default config in directives page
  Fixing applitools batches
  chore: Sync docs
  Fix link to CSS classes
2022-11-07 14:11:06 +05:30
Knut Sveidqvist
c5fe23c26f
Merge pull request #3753 from mermaid-js/sidv/cspell
Fix CSpell
2022-11-07 09:40:23 +01:00
Sidharth Vinod
1304e8b00b
chore: Move from bin to scripts. 2022-11-07 14:06:35 +05:30
Sidharth Vinod
41dbf0fa96
Merge pull request #3768 from aloisklink/fix/fix-mermaid.render-types
[9.2] fix(mermaid): fix `mermaid.render` types
2022-11-07 14:01:37 +05:30
renovate[bot]
603b537ee1 chore(deps): update all non-major dependencies 2022-11-07 07:48:40 +00:00
renovate[bot]
2a45d71efd chore(deps): update all non-major dependencies 2022-11-07 05:36:39 +00:00
Alois Klink
1a5e7315c0 fix(mermaid): default mermaid back to CommonJS
Default mermaid back to being a CommonJS module.

Improrting Mermaid as CommonJS (e.g. using `require("mermaid")`)
is normally broken (since v8), due to it's dependency on d3,
which is now ESM only.

However, it looks like some software
(e.g. TypeScript, in the docusaurus project)
could still handle the CommonJS version of Mermaid.

This commit now means that older versions of Node/build-tools
should now default to using the CommonJS version of Mermaid.

Newer tools should still see that the `"module"` field points to ESM,
or use the `exports["."]["import"]` field to load ESM.
2022-11-06 23:41:09 +00:00
Alois Klink
da6bb9498a fix(mermaid): fix mermaid.render types
The cb param of mermaid.render should be optional,
and mermaid.render returns an SVG string instead of `void`.
2022-11-06 22:46:57 +00:00
Alois Klink
f3d8ada0ca
Merge pull request #3760 from spier/patch-1
Fix link relative links to documentation files
2022-11-06 16:28:02 +00:00
Sebastian Spier
705d88360e docs: Fix relative links to documentation files
I noticed that the link to `Tutorials.md` was broken in this README.
While fixing this I found some other broken links in the same section
of the README, that I tried to fix as well.
(I suspect these files were moved at some point)
2022-11-06 16:21:23 +00:00
Sidharth Vinod
3aa2885692
Merge pull request #3738 from raptor0929/patch-1
docs: Update references to default config in directives page
2022-11-04 23:19:27 +05:30
flaura
c56854941e docs: Update references to default config in directives page 2022-11-04 12:54:29 -04:00
Knut Sveidqvist
357a928cce Fixing applitools batches 2022-11-04 13:05:46 +01:00
Sidharth Vinod
d4cc366e86
chore: fix lint 2022-11-04 11:46:48 +05:30
Sidharth Vinod
3d7883f021
Merge pull request #3752 from hugovk/patch-1
Fix link to CSS classes
2022-11-04 11:46:04 +05:30
Sidharth Vinod
41f228c3ff
chore: Sync docs 2022-11-04 11:45:20 +05:30
Sidharth Vinod
da447ae5d0
Merge remote-tracking branch 'origin/develop' into sidv/docsDev
* origin/develop: (24 commits)
  chore: fix cSpell word entry misspelling "mermiad" -> "mermaid" (#3751)
  chore: Remove Security from config
  Add Security Policy
  chore: cSpell
  Update contributors
  chore(docs): Update live editor links
  update user story link
  chore: lint
  feat(gantt): Add option 'tickInterval' for custom tick interval
  Convert attr to classed
  Convert attr to style
  Discussions are now available
  Make colors required
  make setup not required
  Update theme_proposal.yml
  Update syntaxt_proposal.yml
  Update diagram_proposal.yml
  Update bug_report.yml
  Delete question.md
  Create syntaxt_proposal.yml
  ...
2022-11-04 11:29:49 +05:30
Sidharth Vinod
1e417833f4
Basic webpack 2022-11-04 11:29:24 +05:30
Sidharth Vinod
f295424087
Merge remote-tracking branch 'origin/develop' into sidv/cspell
* origin/develop:
  chore: fix cSpell word entry misspelling "mermiad" -> "mermaid" (#3751)
2022-11-04 02:13:28 +05:30
Sidharth Vinod
daa85b4279
rename file 2022-11-04 02:09:14 +05:30
Sidharth Vinod
e7369acaea
jq -> node 2022-11-04 02:05:50 +05:30
Sidharth Vinod
3ad17b79a6
CSpell format 2022-11-04 01:41:03 +05:30
Hugo van Kemenade
6879a15834
Fix link to CSS classes 2022-11-03 21:48:49 +02:00
Ashley Engelund (weedySeaDragon @ github)
607fe88d43 Merge remote-tracking branch 'MERMAID/develop' into chore/3648-mermaidAPI-render--dry-cleanup-specs
# Conflicts:
#	cSpell.json
2022-11-03 12:15:22 -07:00
Ashley Engelund
b63828f88d
chore: fix cSpell word entry misspelling "mermiad" -> "mermaid" (#3751)
* fix misspelled "mermiad" -> 'mermaid' in cSpell.json

* correct misspelled word caught by cspell
2022-11-03 20:03:52 +01:00
Ashley Engelund (weedySeaDragon @ github)
794b642ff8 merge develop into branch. update cSpell.json; run pnpm install 2022-11-03 10:44:04 -07:00
Sidharth Vinod
4870d37027
chore: Remove Security from config 2022-11-03 11:17:24 +05:30
Sidharth Vinod
fb855bfcfa
Merge branch 'pr/Andre601/2739' into develop
* pr/Andre601/2739:
  Add Security Policy
  chore: lint
  Discussions are now available
  Make colors required
  make setup not required
  Update theme_proposal.yml
  Update syntaxt_proposal.yml
  Update diagram_proposal.yml
  Update bug_report.yml
  Delete question.md
  Create syntaxt_proposal.yml
  Create theme_proposal.yml
  Create diagram_proposal.yml
  Switch to bug_report.yml
  Create config.yml
2022-11-03 11:15:35 +05:30
Sidharth Vinod
97a7f1fd71
Merge pull request #2739 from Andre601/feature/issue-templates
Use issue templates and add diagram, theme and syntax proposal issue forms
2022-11-03 11:07:00 +05:30
Sidharth Vinod
c86d46eb8a
Add Security Policy 2022-11-03 11:06:21 +05:30
Sidharth Vinod
361dd6a96e
Add Security Policy 2022-11-03 10:59:57 +05:30
Sidharth Vinod
17adec38af
chore: lint 2022-11-03 10:59:56 +05:30
Andre_601
638b9d9aae
Discussions are now available 2022-11-03 10:59:56 +05:30
Andre_601
c8f6994895
Make colors required 2022-11-03 10:59:55 +05:30
Andre_601
1117a80500
make setup not required 2022-11-03 10:59:55 +05:30
Andre_601
5d83ec6fa2
Update theme_proposal.yml 2022-11-03 10:59:54 +05:30
Andre_601
bab5937426
Update syntaxt_proposal.yml 2022-11-03 10:59:54 +05:30
Andre_601
099a26977a
Update diagram_proposal.yml 2022-11-03 10:59:53 +05:30
Andre_601
0b834485a8
Update bug_report.yml 2022-11-03 10:59:52 +05:30
Andre_601
41f21d4f72
Delete question.md 2022-11-03 10:59:50 +05:30
Andre_601
312e5f3d96
Create syntaxt_proposal.yml 2022-11-03 10:59:35 +05:30
Andre_601
6ef3e7f536
Create theme_proposal.yml 2022-11-03 10:59:34 +05:30
Andre_601
4f5228aec4
Create diagram_proposal.yml 2022-11-03 10:59:32 +05:30
Andre_601
b9daa35558
Switch to bug_report.yml 2022-11-03 10:59:10 +05:30
Andre_601
21304a9677
Create config.yml 2022-11-03 10:57:57 +05:30
Sidharth Vinod
c46a3b09b1
Add Security Policy 2022-11-03 10:53:15 +05:30