Commit Graph

303 Commits

Author SHA1 Message Date
Sidharth Vinod 77a326dedf
Merge Master 2022-11-14 14:51:23 +05:30
Sidharth Vinod 2d9bdedaf5
Merge branch 'develop' into sidv/mergeMaster
* develop:
  chore(deps): update all non-major dependencies
  fix(deps): update all non-major dependencies
  fix: `sourceLinkTemplate` in typedoc
  only call getClasses if the diagram renderer supports it
  fix typo
  merge fix: get classDefs only if diagram is in CLASSDEF_DIAGRAMS
  use lodash isEmpty instead of method defined in utils
  chore: Fix cspell
  fix: Type of DiagramStyleClassDef, general cleanup
  change spec descriptions to active voice (= shorter b/c 'should' isn't needed)
  functions and specs: removeExistingElements
  functions and specs: createUserstyles; minor changes
  functions and specs: createCssStyles, appendDivSvgG,cleanUpSvgCode, putIntoIFrame [for render]
  add MockedD3.ts
  const isSandboxed, isLooseSecurityLevel, fontFamily; a few more CONSTs
  more meaningful var names; move related lines together; const idSelector
  comment the main steps (prepare to break into functions that can be tested)
  render: define const iFrameId, enclosingDivID and _selector to use in function
  specs: encodeEntities, decodeEntities
  render: constants
2022-11-14 13:57:09 +05:30
renovate[bot] a1e2df8466
chore(deps): update all non-major dependencies 2022-11-14 05:28:23 +00:00
renovate[bot] 20613beb8a fix(deps): update all non-major dependencies 2022-11-14 05:25:07 +00:00
Sidharth Vinod 88d3fdfb8f
fix: `use-inline-specifiers-lockfile-format` to pnpm 2022-11-11 13:29:59 +05:30
Sidharth Vinod 1f68ea4058
Hacky fix for pnpm issue 2022-11-11 02:41:03 +05:30
Sidharth Vinod ab92b5c100
chore: Cleanup pakage.json, fix jisonLint 2022-11-11 01:54:29 +05:30
Sidharth Vinod a83f88bdf1
chore: Merge master to develop 2022-11-10 13:51:53 +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
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
Sidharth Vinod 015e22acf8
feat: Add live updates to docs. 2022-11-01 12:04:34 +05:30
Sidharth Vinod 24198ed63e
Merge remote-tracking branch 'origin/develop' into pr/emersonbottero/3678
* origin/develop:
  chore(deps): update all non-major dependencies
  chore(deps): update all non-major dependencies
  chore: Update bug report template
2022-10-31 19:43:53 +05:30
renovate[bot] 77782fdbc7 chore(deps): update all non-major dependencies 2022-10-31 12:56:18 +00:00
renovate[bot] a15b228d3f chore(deps): update all non-major dependencies 2022-10-31 06:48:56 +00:00
Emerson Bottero f87d1630d1 chore: fix most of aloisklink reviews 2022-10-30 21:22:38 -03:00
Emerson Bottero ec5568b943 chore: more revision fixes 2022-10-27 19:58:39 -03:00
Emerson Bottero b62873a195 sync last changes 2022-10-25 17:54:07 -03:00
renovate[bot] 728d022f52 chore(deps): update all non-major dependencies 2022-10-24 07:36:58 +00:00
renovate[bot] 663edabb14 chore(deps): pin dependencies 2022-10-24 04:32:21 +00:00
Alois Klink e6f19ff461 style: lint typescript with eslint-plugin-tsdoc 2022-10-20 20:23:28 +01:00
Sidharth Vinod d17aa6ecdd
Merge branch 'release_9.2.0_buggfixes' into release/9.2.0
* release_9.2.0_buggfixes:
  fix: Add default arg to options
  fix: Build types
  chore: Update creation date
  fix: getElementById type issue.
2022-10-19 19:21:19 +05:30
Santosh Viswanatham c71b6e31f7
Merge branch 'develop' into feat/3601-cspell-configuration 2022-10-18 21:02:38 +05:30
Sidharth Vinod f2571e9930
fix: Live editor links 2022-10-18 12:28:48 +05:30
Dima Kurilo 20751a6496 fix cypress tests for erDiagram, add eslint-plugin-no-only-tests plugin because of this comment: https://github.com/mermaid-js/mermaid/pull/3647#issuecomment-1281163858 2022-10-17 13:20:17 -04:00
devcer aad53f9e61 merged with master 2022-10-17 09:27:42 +05:30
renovate[bot] 17b72d565d chore(deps): pin dependencies 2022-10-17 03:12:28 +00:00
renovate[bot] 541de12690
chore(deps): update all non-major dependencies (#3671)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-16 22:58:11 +02:00
Sidharth Vinod a4af3704ba
fix: getElementById type issue.
Converts mindmapDB to TS
2022-10-16 10:06:44 +05:30
Emerson Bottero cbcf7f8a11 docs: new Documentation 2022-10-15 00:50:11 -03:00
renovate[bot] 9ac3992fd2
chore(deps): update all non-major dependencies (minor) (#3632)
* chore(deps): update all non-major dependencies

* chore: add `auto-install-peers` to `.npmrc`

* chore: Update lockfile

* Update docs/index.html

Co-authored-by: Matthieu MOREL <matthieu.morel35@gmail.com>

* Update packages/mermaid/src/docs/index.html

Co-authored-by: Matthieu MOREL <matthieu.morel35@gmail.com>

* Define integrity, crossorigin and referrerpolicy

* Define integrity, crossorigin and referrerpolicy

* chore: format

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
Co-authored-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2022-10-14 13:18:19 +02:00
Sidharth Vinod 24605784f2
chore: Update lockfile 2022-10-12 12:01:54 +05:30
Sidharth Vinod 3240f8ae56
feat: loadExternalDiagramsAtStartup 2022-10-12 11:56:39 +05:30
devcer 4d0da7fba0 Added and configured cspell plugin to eslint 2022-10-08 14:38:41 +05:30
Sidharth Vinod 6029bdeee9
Merge branch 'develop' into sidv/fixImportDoc
* develop:
  Fix for broken test
  fix: build npm-script
  Fix for issue in classdiagram-v2 from the typescript updates
  fix: build npm-script
  chore: Cleanup
  chore: cleanup
  fix: dynamic import
  fix: module import in pie chart demo
  fix: use async in render-after-error
2022-10-08 09:41:11 +08:00
Knut Sveidqvist 646f76d343 Fix for broken test 2022-10-07 14:36:25 +02:00
Sidharth Vinod 5865c890b5
docs: Add mermaid version to script URL 2022-10-07 15:52:32 +08:00
Sidharth Vinod 803ea863fd
fix: pnpm not found 2022-10-06 22:58:54 +08:00
Alois Klink 1f39fde230 build(test): remove vitest from subpackages
Removes vitest from all subpackages so that vitest/`pnpm run test`
are only in the root mono-repo.

This is required, because otherwise the root vitest and the subpackage
vitest versions can otherwise be slightly different, which causes
issues when running unit tests:

```Snapshot cannot be used outside of test```

In the future, we may want to consider moving package specific
tests into `packages/*/test`, and instead running these tests
with `pnpm run --recursive`, so that tests are run in each package by
their own version of vitest. This is the way that most projects
do things (e.g. https://github.com/vitest-dev/vitest).
2022-10-06 00:56:54 +01:00
Knut Sveidqvist 1528c03f85 Updated lockfile 2022-10-04 08:51:12 +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
Knut Sveidqvist 9468bffcbb Merge branch 'develop' of github.com:emersonbottero/mermaid into emersonbottero-develop 2022-10-04 08:23:36 +02:00
Knut Sveidqvist 5079fa93b4 Using cose-bilkent layout algorithm for mindmaps 2022-10-03 10:05:12 +02:00
Knut Sveidqvist 56add0756f Lazy loading fix for example-diagram and mindmaps 2022-10-03 07:01:56 +02:00
Knut Sveidqvist 96cde8a15a updated pnpm-lock file 2022-09-29 19:35:54 +02:00
Knut Sveidqvist f46f8752ca Adding example diagram as a template for a new diagram 2022-09-28 17:49:47 +02:00
Knut Sveidqvist be34e6145f Fix for tests 2022-09-28 14:53:16 +02:00
Knut Sveidqvist ebdec77c88 #3061 Fixing unit tests 2022-09-26 08:47:41 +02:00
Alois Klink 29c52ec4d4 chore: update pnpm-lock.yaml lockfile 2022-09-25 20:02:23 +01:00
Sidharth Vinod 53bbf444e5
fix build 2022-09-23 17:39:08 +05:30
Sidharth Vinod ad49564ab5
vite build 2022-09-23 12:31:24 +05:30
Sidharth Vinod bf25be7cf0
Merge branch 'sidv/viteVitest' into sidv/3061_monorepo
* sidv/viteVitest:
  ts conversion
  cleanup
  remove esbuild
  fix: tests
  chore: Add recommended extensions
  Fix user-journey leaking css
  Add "Debug Current Test File" configuration for VSCode
  Fix unit test coverage
  Use vite for build
  Fix docs
  vite
  vite Server
  Cleanup
  Merge vitest & esbuild
  Merge vitest
  fix jison generation
  Vite
  Vite
2022-09-23 11:31:15 +05:30
Knut Sveidqvist db31f61368 Use of pnpm for the monorepo 2022-09-22 11:12:57 +02:00