* develop: (50 commits)
Build docs
chore: update browsers list
Fix pre
Fix mermaid code formatting in html
Prettier pass
Fix XSS htmls
fix#3407 Replace `div` with `pre` and format
Add change in `src/docs`
Fix lint issue
build: run `build:prod` on `yarn prepare`
Build documentation
Fix typo
Fix typo in documentation
Fix doc
Add files only when running from lint-staged
Add files only when running from lint-staged
Fix configuration doc
Prettier Pass
Add dotfiles
Prettier
...
Adds `yarn build:prod` to the `yarn prepare` script.
For most package managers (e.g. yarn v1 and NPM),
the `prepare` script is called automatically when installing
from a local location/git url. It's not called when installing
from NPM.
This is required because the source code doesn't contain
the `dist/mermaid.min.js` file, it has to be built first.
Fixes installing mermaid via `git`, e.g.:
`yarn add git+https://github.com/mermaid-js/mermaid.git`
Fixes: 1549eb20dfbf0698749ab50b2cb264e63d2015b5
* develop: (50 commits)
Typo fix
Fix repo URL
Revert flowchart change
Revert flowchart change
Fix TODO Qs
chore(deps-dev): bump @commitlint/cli from 17.1.1 to 17.1.2
chore(deps-dev): bump terser-webpack-plugin from 5.3.5 to 5.3.6
chore(deps-dev): bump webpack-dev-server from 4.10.0 to 4.10.1
Fix gitGraph findLane function error
Update dependabot.yml
Replacing replaceAll with replace
Rework 'parseDuration' as a pure duration parsing
Supports duration in decimal
Create a more consistent 'parseDuration'
Remove `@ts-ignore`s.
Fix svgDraw return types
...
* develop:
chore(deps-dev): bump @commitlint/cli from 17.1.1 to 17.1.2
chore(deps-dev): bump terser-webpack-plugin from 5.3.5 to 5.3.6
chore(deps-dev): bump webpack-dev-server from 4.10.0 to 4.10.1
Fix gitGraph findLane function error
Replacing replaceAll with replace
Rework 'parseDuration' as a pure duration parsing
Supports duration in decimal
Create a more consistent 'parseDuration'
Fix svgDraw return types
Add more tests
Fix nested types
Fix nested types
Add nested test
Updating to version to 9.1.6
* develop:
chore(deps-dev): bump @commitlint/cli from 17.0.3 to 17.1.1 (#3376)
chore(deps-dev): bump eslint from 8.22.0 to 8.23.0 (#3378)
chore(deps): bump dompurify from 2.3.10 to 2.4.0 (#3375)
chore(deps-dev): bump @commitlint/config-conventional (#3370)
chore(deps-dev): bump @babel/core from 7.18.10 to 7.18.13 (#3373)
chore(deps-dev): bump eslint-plugin-jest from 26.8.7 to 27.0.1 (#3372)
chore(deps-dev): bump jest-environment-jsdom from 28.1.3 to 29.0.1 (#3369)
chore(deps-dev): bump babel-jest from 28.1.3 to 29.0.1 (#3368)
Updating docs to latest mermaid version
build: add eslint --cache file
Adjusting size and test
Updated viewBox settings
Border
feat(git): allow custom merge commit ids
Document line curve options
Added 'ms' duration
Fix font weight for messages in sequence diagrams
Added lollipop feature for updated codebase
Currently, doing a `git commit` is a bit low, as eslint runs before
the commit.
Adding an `eslint --cache` makes it slightly faster.
On my PC, `git commit` currently is `Done in 12.24s.`
However, after adding this cache file, it is `Done in 7.54s.`,
so about 1.6x faster.
* develop: (22 commits)
Fix for build by revering jsdoc
Revert "chore(deps-dev): bump documentation from 13.2.0 to 14.0.0"
Review comments.
Add test for handling parameter names that are "default"
Add test for handling parameter names that are keywords
Add test for handling trailing whitespaces
Add first C4 parser test
chore(deps-dev): bump eslint-plugin-jest from 26.8.2 to 26.8.7
chore(deps-dev): bump documentation from 13.2.0 to 14.0.0
chore(deps-dev): bump terser-webpack-plugin from 5.3.4 to 5.3.5
chore(deps-dev): bump prettier-plugin-jsdoc from 0.3.38 to 0.4.1
test(e2e): add array and generic attributes erDiagram test
test(common): add generic parser test
test(parser): add tests for generics and arrays in erDiagram
feat: add array and generic symbols for erDiagram
Lint markdown
Fix prettier formatting in vscode
Prettier
Fix `securityLevel` docs
Update README.md
...