Knut Sveidqvist
579dbc8f63
Merge pull request #3401 from mermaid-js/sidv/docs
...
Auto transform `mermaid-example` in docs.
2022-09-05 16:35:55 +02:00
Sidharth Vinod
5ae1bd92cd
Build docs
2022-09-05 19:48:38 +05:30
dependabot[bot]
41e1001050
chore(deps-dev): bump @types/dompurify from 2.3.3 to 2.3.4
...
Bumps [@types/dompurify](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dompurify ) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dompurify )
---
updated-dependencies:
- dependency-name: "@types/dompurify"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 14:15:32 +00:00
dependabot[bot]
560bd83fb1
chore(deps-dev): bump jest-environment-jsdom from 29.0.1 to 29.0.2
...
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom ) from 29.0.1 to 29.0.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.0.2/packages/jest-environment-jsdom )
---
updated-dependencies:
- dependency-name: jest-environment-jsdom
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 14:15:19 +00:00
dependabot[bot]
0b4987431e
chore(deps-dev): bump babel-jest from 29.0.1 to 29.0.2
...
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest ) from 29.0.1 to 29.0.2.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.0.2/packages/babel-jest )
---
updated-dependencies:
- dependency-name: babel-jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 14:14:23 +00:00
Sidharth Vinod
5e9db250bc
Merge branch 'develop' into sidv/docs
...
* develop:
chore: update browsers list
Fix pre
Prettier pass
Fix XSS htmls
fix #3407 Replace `div` with `pre` and format
2022-09-05 19:30:39 +05:30
Knut Sveidqvist
47490e9820
Lint fixes
2022-09-05 15:57:12 +02:00
Knut Sveidqvist
df7b5965c2
Merge branch 'develop' into minmaps
2022-09-05 15:35:24 +02:00
Knut Sveidqvist
e5212c25f5
Merge pull request #3398 from mermaid-js/3395_fix_error_handling
...
Re-enabling error graph
2022-09-05 15:13:49 +02:00
Knut Sveidqvist
8ad5f728c0
Removing requirement to add ids for nodes with a shape
2022-09-05 14:53:01 +02:00
Knut Sveidqvist
8b4a08eef4
#3336 Merged typescript changes
2022-09-05 14:04:39 +02:00
Knut Sveidqvist
01106caa59
Merged typescript changes
2022-09-05 11:22:17 +02:00
Knut Sveidqvist
047b7023a2
Updated with cloud and bang shapes
2022-09-05 09:54:00 +02:00
mmorel-35
d52c1f09d5
chore: update browsers list
2022-09-05 07:13:42 +00:00
Knut Sveidqvist
afd1b6ed27
Merge pull request #3408 from mermaid-js/sidv/preTags
...
fix #3407 Replace `div` with `pre` and format
2022-09-05 07:07:21 +02:00
Sidharth Vinod
1f6e4a0887
Fix pre
2022-09-05 01:33:47 +05:30
Sidharth Vinod
a95f46f513
Fix mermaid code formatting in html
2022-09-05 01:25:28 +05:30
Sidharth Vinod
98e9f5751a
Prettier pass
2022-09-05 01:00:47 +05:30
Sidharth Vinod
41dec4d159
Fix XSS htmls
2022-09-05 00:57:34 +05:30
Sidharth Vinod
91478caf5b
fix #3407 Replace div
with pre
and format
2022-09-05 00:48:36 +05:30
Sidharth Vinod
537ce4f630
Add change in src/docs
2022-09-04 13:31:58 +05:30
Sidharth Vinod
f0c41a8280
Fix lint issue
2022-09-04 13:21:37 +05:30
Sidharth Vinod
22999e27f0
Merge branch 'develop' into sidv/docs
...
* develop:
build: run `build:prod` on `yarn prepare`
Build documentation
Fix typo
Fix typo in documentation
added mermerd to integrations documentation
2022-09-04 13:12:44 +05:30
Sidharth Vinod
a64a76db9b
Merge pull request #3403 from dbartholomae/patch-1
...
Fix typo in documentation
2022-09-04 12:56:57 +05:30
Sidharth Vinod
7721ee0f28
Merge pull request #3404 from aloisklink/build/fix-yarn-prepare-script
...
build: run `build:prod` on `yarn prepare`
2022-09-04 12:55:22 +05:30
Alois Klink
106672bc75
refactor: remove console.log
in c4Diagram.jison
...
These aren't caught by eslint, since they're in a .jison file.
2022-09-03 23:58:21 +01:00
Alois Klink
cb4935258c
style: forbid using console
in mermaid src code
...
Adds an eslint rule forbidding using `console` in the mermaid source
code. Instead, the `src/logger` should be used instead, so that
websites can disable logging.
This is allowed in the `cypress/` and `demos/` folder.
I've also removed the two instances on `console.log`/`console.error`
that currently exist in the mermaid source code.
2022-09-03 23:40:10 +01:00
Alois Klink
1d84cfe2e2
build: run build:prod
on yarn prepare
...
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
2022-09-03 23:01:53 +01:00
Daniel Bartholomae
27baa24c82
Build documentation
2022-09-03 22:54:43 +02:00
Daniel Bartholomae
1a6305c079
Add tests for other boundary properties
2022-09-03 20:38:10 +02:00
Daniel Bartholomae
b86476331f
Add first test for Boundary
2022-09-03 20:38:10 +02:00
Daniel Bartholomae
092c15a37c
Test all different types of systems
2022-09-03 20:38:10 +02:00
Daniel Bartholomae
65c73f2eec
Introduce shape list in test
2022-09-03 20:38:09 +02:00
Daniel Bartholomae
2414435641
Add tests for C4 System
2022-09-03 20:38:09 +02:00
Daniel Bartholomae
2afcd54184
Make test grouping more explicit
2022-09-03 20:38:09 +02:00
Daniel Bartholomae
700e25382b
Copy tests from Person to PersonExt
2022-09-03 20:38:09 +02:00
Daniel Bartholomae
db0d6075ca
Add test for link to Person_Ext
2022-09-03 20:38:09 +02:00
Daniel Bartholomae
a196aeb29b
Add question on Person_Ext
2022-09-03 20:38:09 +02:00
Daniel Bartholomae
92f0c8f8b1
Add test for structure of Person_Ext
2022-09-03 20:38:09 +02:00
Daniel Bartholomae
3bc5cfa554
Add test for alias
2022-09-03 20:38:09 +02:00
Daniel Bartholomae
6f7ae17fc6
Add test for label
2022-09-03 20:38:09 +02:00
Daniel Bartholomae
be5b8012bd
Add test for description
2022-09-03 20:38:09 +02:00
Daniel Bartholomae
90d472042b
Add test for $tags
2022-09-03 20:38:08 +02:00
Daniel Bartholomae
5378316cc3
Add test for $link
2022-09-03 20:38:08 +02:00
Daniel Bartholomae
8ee534f7fb
Add test for $sprite
2022-09-03 20:38:08 +02:00
Daniel Bartholomae
aee1a87347
Move test for basic Person to separate file
2022-09-03 20:38:08 +02:00
Daniel Bartholomae
e9fb2c8a54
Fix test and variable names that were copied from flowchart
2022-09-03 20:38:08 +02:00
Daniel Bartholomae
b79eaae002
Fix typo
2022-09-03 20:36:14 +02:00
Daniel Bartholomae
3b571fc9b3
Fix typo in documentation
2022-09-03 20:33:50 +02:00
Sidharth Vinod
e718c5bf6c
Fix doc
2022-09-03 15:00:12 +05:30