5838 Commits

Author SHA1 Message Date
Alois Klink
c420224080 test: remove import {it} from "vitest"
We're getting a lot of vitest errors that say:
```Error: No test suite found in file```

I think this is because vitest is somehow
importing a different version the it/test function than the globally
inserted functions.

Removing the imports fixes this.
2022-10-06 00:48:50 +01:00
Alois Klink
b1f13cbb9a chore(docs): run pnpm run docs:build
It looks like the docs/ folder somehow got out of sync
with the packages/mermaid/src/docs folder.

Maybe it was due to a semantic merge conflict
(e.g. `git merge` didn't throw an error, but the merge was bad)
2022-10-06 00:08:00 +01:00
Knut Sveidqvist
0f2e0c2ab4 Updated logic for diagram loading 2022-10-05 22:03:05 +02:00
Alois Klink
d8af97c152
Merge pull request #3545 from weedySeaDragon/chore/update-demo-files-packages
chore: Update demo diagrams for monorepo
2022-10-05 21:03:03 +01:00
Swoyam Siddharth Nayak
528ebd8f12
CODE_OF_CONDUCT Uploaded 2022-10-05 16:47:35 +05:30
Knut Sveidqvist
c05c98c082 WIP 2022-10-05 13:14:05 +02:00
Sidharth Vinod
d8c7557ae5
fix: Docs 2022-10-05 16:05:27 +08:00
Sidharth Vinod
f9753fc621
chore: Update test URL 2022-10-05 16:04:26 +08:00
Sidharth Vinod
42b59a9e35
Merge remote-tracking branch 'upstream/develop' into sidv/fixE2E
* upstream/develop: (33 commits)
  Updated lockfile
  chore(deps-dev): update vite requirement from ^3.0.9 to ^3.1.4
  chore(deps-dev): update typescript requirement from ^4.8.3 to ^4.8.4
  chore(deps-dev): update @vitest/coverage-c8 requirement
  chore(deps-dev): update @typescript-eslint/eslint-plugin requirement
  chore(deps-dev): update esbuild requirement from ^0.15.8 to ^0.15.10
  chore(deps-dev): update @commitlint/config-conventional requirement
  chore(deps-dev): update eslint-plugin-jest requirement
  chore(deps-dev): update @applitools/eyes-cypress requirement
  chore(deps-dev): update jsdom requirement from ^20.0.0 to ^20.0.1
  chore(deps-dev): update vitest requirement from ^0.23.1 to ^0.23.4
  chore(deps-dev): update lint-staged requirement from ^13.0.0 to ^13.0.3
  chore(deps): update @types/node requirement from ^18.7.21 to ^18.8.1
  chore(deps-dev): update @typescript-eslint/parser requirement
  Fix postbuild script
  #3561 Adding cScale0-11 etc and usage of the colors from the mindmap diagram
  Fix for broken test
  Mindmap cleanup
  Using cose-bilkent layout algorithm for mindmaps
  chore(deps-dev): update husky requirement from ^8.0.0 to ^8.0.1
  ...
2022-10-05 14:58:40 +08:00
Sidharth Vinod
74bd576ebc
fix(mermaid): Add await to render in init. 2022-10-05 14:52:04 +08:00
Sidharth Vinod
a017ffc3c9
fix(test): Rerender 2022-10-05 14:08:53 +08:00
Sidharth Vinod
d3a81f025a
chore(tests): Interaction - cleanup 2022-10-04 16:59:05 +08:00
Sidharth Vinod
750f647b0d
fix(tests): Interaction - Security strict, other 2022-10-04 16:55:46 +08:00
Sidharth Vinod
2a9e56439e
fix(tests): Interaction test - Security loose. 2022-10-04 16:37:37 +08:00
Ashish Jain
e4bca33d00
Merge pull request #3562 from mermaid-js/3561_theme_color_scales
3561 theme color scales
2022-10-04 09:48:20 +02:00
Knut Sveidqvist
1528c03f85 Updated lockfile 2022-10-04 08:51:12 +02:00
Knut Sveidqvist
c73c68532a
Merge pull request #3572 from mermaid-js/dependabot/npm_and_yarn/develop/commitlint/config-conventional-tw-17.1.0
chore(deps-dev): update @commitlint/config-conventional requirement from ^17.0.0 to ^17.1.0
2022-10-04 08:47:26 +02:00
Knut Sveidqvist
989c8969cb
Merge pull request #3571 from mermaid-js/dependabot/npm_and_yarn/develop/eslint-plugin-jest-tw-27.1.0
chore(deps-dev): update eslint-plugin-jest requirement from ^27.0.4 to ^27.1.0
2022-10-04 08:47:12 +02:00
Knut Sveidqvist
ff2ff22d27
Merge pull request #3570 from mermaid-js/dependabot/npm_and_yarn/develop/vite-tw-3.1.4
chore(deps-dev): update vite requirement from ^3.0.9 to ^3.1.4
2022-10-04 08:46:58 +02:00
Knut Sveidqvist
5ef7bad1ce
Merge pull request #3568 from mermaid-js/dependabot/npm_and_yarn/develop/applitools/eyes-cypress-tw-3.27.1
chore(deps-dev): update @applitools/eyes-cypress requirement from ^3.25.7 to ^3.27.1
2022-10-04 08:46:47 +02:00
dependabot[bot]
5e0c321510
chore(deps-dev): update vite requirement from ^3.0.9 to ^3.1.4
Updates the requirements on [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) to permit the latest version.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v3.1.4/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.1.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 06:44:04 +00:00
Knut Sveidqvist
f19fac97d1
Merge pull request #3573 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-tw-4.8.4
chore(deps-dev): update typescript requirement from ^4.8.3 to ^4.8.4
2022-10-04 08:42:59 +02:00
Knut Sveidqvist
d04f73af7e
Merge pull request #3569 from mermaid-js/dependabot/npm_and_yarn/develop/esbuild-tw-0.15.10
chore(deps-dev): update esbuild requirement from ^0.15.8 to ^0.15.10
2022-10-04 08:42:37 +02:00
Knut Sveidqvist
6ef3915fcc
Merge pull request #3567 from mermaid-js/dependabot/npm_and_yarn/develop/vitest/coverage-c8-tw-0.23.4
chore(deps-dev): update @vitest/coverage-c8 requirement from ^0.23.2 to ^0.23.4
2022-10-04 08:42:21 +02:00
dependabot[bot]
87257153b9
chore(deps-dev): update typescript requirement from ^4.8.3 to ^4.8.4
Updates the requirements on [typescript](https://github.com/Microsoft/TypeScript) to permit the latest version.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.8.3...v4.8.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 06:35:42 +00:00
dependabot[bot]
02207087e4
chore(deps-dev): update @vitest/coverage-c8 requirement
Updates the requirements on [@vitest/coverage-c8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-c8) to permit the latest version.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v0.23.4/packages/coverage-c8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-c8"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 06:35:03 +00:00
Knut Sveidqvist
b4417d47f1
Merge pull request #3566 from mermaid-js/dependabot/npm_and_yarn/develop/types/node-tw-18.8.1
chore(deps): update @types/node requirement from ^18.7.21 to ^18.8.1
2022-10-04 08:34:28 +02:00
Knut Sveidqvist
04e3674355
Merge pull request #3565 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/eslint-plugin-tw-5.39.0
chore(deps-dev): update @typescript-eslint/eslint-plugin requirement from ^5.37.0 to ^5.39.0
2022-10-04 08:34:10 +02:00
dependabot[bot]
dbf8af06a4
chore(deps-dev): update @typescript-eslint/eslint-plugin requirement
Updates the requirements on [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) to permit the latest version.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.39.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 06:32:15 +00:00
dependabot[bot]
0bcdaa395f
chore(deps-dev): update esbuild requirement from ^0.15.8 to ^0.15.10
Updates the requirements on [esbuild](https://github.com/evanw/esbuild) to permit the latest version.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.15.8...v0.15.10)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 06:31:45 +00:00
dependabot[bot]
7788d26ed4
chore(deps-dev): update @commitlint/config-conventional requirement
Updates the requirements on [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) to permit the latest version.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v17.1.0/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 06:31:24 +00:00
Knut Sveidqvist
b3002be08a
Merge pull request #3564 from mermaid-js/dependabot/npm_and_yarn/develop/typescript-eslint/parser-tw-5.39.0
chore(deps-dev): update @typescript-eslint/parser requirement from ^5.37.0 to ^5.39.0
2022-10-04 08:31:19 +02:00
Knut Sveidqvist
813ceb0d96
Merge pull request #3558 from mermaid-js/dependabot/npm_and_yarn/develop/husky-tw-8.0.1
chore(deps-dev): update husky requirement from ^8.0.0 to ^8.0.1
2022-10-04 08:31:01 +02:00
dependabot[bot]
c39c3be39f
chore(deps-dev): update eslint-plugin-jest requirement
Updates the requirements on [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) to permit the latest version.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases)
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v27.0.4...v27.1.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jest
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 06:30:56 +00:00
Knut Sveidqvist
9eb17c6e13
Merge pull request #3557 from mermaid-js/dependabot/npm_and_yarn/develop/vitest-tw-0.23.4
chore(deps-dev): update vitest requirement from ^0.23.1 to ^0.23.4
2022-10-04 08:30:47 +02:00
dependabot[bot]
a6e26ce5bb
chore(deps-dev): update @applitools/eyes-cypress requirement
Updates the requirements on [@applitools/eyes-cypress](https://github.com/applitools/eyes.sdk.javascript1/tree/HEAD/js/packages/eyes-cypress) to permit the latest version.
- [Release notes](https://github.com/applitools/eyes.sdk.javascript1/releases)
- [Changelog](https://github.com/applitools/eyes.sdk.javascript1/blob/master/js/packages/eyes-cypress/CHANGELOG.md)
- [Commits](https://github.com/applitools/eyes.sdk.javascript1/commits/@applitools/eyes-cypress@3.27.1/js/packages/eyes-cypress)

---
updated-dependencies:
- dependency-name: "@applitools/eyes-cypress"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 06:30:45 +00:00
Knut Sveidqvist
b735a7911a
Merge pull request #3556 from mermaid-js/dependabot/npm_and_yarn/develop/types/lodash-tw-4.14.186
chore(deps-dev): update @types/lodash requirement from ^4.14.185 to ^4.14.186
2022-10-04 08:30:30 +02:00
Knut Sveidqvist
2e342dace2
Merge pull request #3555 from mermaid-js/dependabot/npm_and_yarn/develop/types/express-tw-4.17.14
chore(deps-dev): update @types/express requirement from ^4.17.13 to ^4.17.14
2022-10-04 08:30:05 +02:00
Knut Sveidqvist
14369d3143
Merge pull request #3552 from mermaid-js/dependabot/npm_and_yarn/develop/jsdom-tw-20.0.1
chore(deps-dev): update jsdom requirement from ^20.0.0 to ^20.0.1
2022-10-04 08:29:09 +02:00
dependabot[bot]
b6b5202923
chore(deps-dev): update jsdom requirement from ^20.0.0 to ^20.0.1
Updates the requirements on [jsdom](https://github.com/jsdom/jsdom) to permit the latest version.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/20.0.0...20.0.1)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 06:28:33 +00:00
Knut Sveidqvist
808152211c
Merge pull request #3553 from mermaid-js/dependabot/npm_and_yarn/develop/start-server-and-test-tw-1.14.0
chore(deps-dev): update start-server-and-test requirement from ^1.12.6 to ^1.14.0
2022-10-04 08:28:02 +02:00
Knut Sveidqvist
408e852018
Merge pull request #3551 from mermaid-js/dependabot/npm_and_yarn/develop/lint-staged-tw-13.0.3
chore(deps-dev): update lint-staged requirement from ^13.0.0 to ^13.0.3
2022-10-04 08:27:24 +02:00
Knut Sveidqvist
ef91b4fa0e
Merge pull request #3559 from mermaid-js/minmaps
Mindmaps replacing rendering algoritm with cose-bilkent
2022-10-04 08:26:11 +02:00
dependabot[bot]
46d924ffc9
chore(deps-dev): update vitest requirement from ^0.23.1 to ^0.23.4
Updates the requirements on [vitest](https://github.com/vitest-dev/vitest) to permit the latest version.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/compare/v0.23.1...v0.23.4)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 06:25:37 +00:00
dependabot[bot]
f965f5643a
chore(deps-dev): update lint-staged requirement from ^13.0.0 to ^13.0.3
Updates the requirements on [lint-staged](https://github.com/okonet/lint-staged) to permit the latest version.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v13.0.0...v13.0.3)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 06:25:29 +00:00
Knut Sveidqvist
85f0f7d241 Merge branch 'emersonbottero-develop' into develop 2022-10-04 08:24:29 +02:00
Knut Sveidqvist
9468bffcbb Merge branch 'develop' of github.com:emersonbottero/mermaid into emersonbottero-develop 2022-10-04 08:23:36 +02:00
Knut Sveidqvist
bd44957302
Merge pull request #3544 from AndrewL-64/3304_unlabeled_exception
Fixed labelText undefined behavior
2022-10-04 07:25:14 +02:00
dependabot[bot]
7e3d57fc28
chore(deps): update @types/node requirement from ^18.7.21 to ^18.8.1
Updates the requirements on [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) to permit the latest version.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 05:25:01 +00:00
dependabot[bot]
4f5c707b56
chore(deps-dev): update @typescript-eslint/parser requirement
Updates the requirements on [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) to permit the latest version.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.39.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-04 05:24:13 +00:00