Alois Klink
4d12fb0464
build(lint:fix): cache eslint in pnpm run lint:fix
...
Cache eslint in `pnpm run lint:fix`.
This was added to the `pnpm run lint` script in
b7f9495
(build: add eslint --cache file, 2022-08-27), but we
didn't add it to `pnpm run lint:fix` due to worries about cache
invalidation.
However, we switched to using `--cache-strategy content` in
b3e509b7
(build(lint): cache eslint with strategy content, 2023-02-05),
which should avoid any caching issues.
Co-authored-by: Sidharth Vinod <sidharthv96@gmail.com>
2023-02-09 00:21:19 +00:00
Sidharth Vinod
f83f09d8b0
Fix vitest type
2023-02-09 01:29:41 +05:30
renovate[bot]
c4eb1608b0
chore(deps): update all non-major dependencies
2023-02-08 19:30:57 +00:00
Knut Sveidqvist
74df4a7a68
Mind map coming in from the cold. A lazy loaded diagram in the same way as timeline.
2023-02-08 17:42:58 +01:00
Knut Sveidqvist
82f7e1b754
Version updates
2023-02-08 13:50:58 +01:00
Knut Sveidqvist
580903051f
Fixing broken test
2023-02-08 13:40:41 +01:00
Knut Sveidqvist
ce037a84ca
Fixing build after last batch of changes
2023-02-08 13:16:33 +01:00
Alois Klink
b3e509b7d4
build(lint): cache eslint with strategy content
...
Cache eslint using `--cache-strategy content` instead of the default
`--cache-strategy metadata`.
By default, `eslint` uses the file metadata (e.g. modification time)
to detect when the cache should be invalidated.
However, this is not efficient with `git`, since git constantly changes
the modification time,
e.g. running `git switch main && git switch original-branch` would not
change the file contents, but would change the file mtimes and force
eslint to re-lint everything.
Using the file contents is slower (~3% for me), but more resilient.
See
https://eslint.org/docs/latest/use/command-line-interface#--cache-strategy
2023-02-05 19:33:30 +00:00
Alois Klink
8b4426aebf
build(lint): cache prettier on `pnpm run lint`
...
[Prettier 2.7.0](https://prettier.io/blog/2022/06/14/2.7.0.html ) added
a `--cache` CLI option to greatly speed up subsequent prettier runs.
By default, the cache is stored in
`./node_modules/.cache/prettier/.prettier-cache` and uses an `md5`
checksum of the contents as the cache-key.
On my PC, running `pnpm run lint` used to take 13.9 seconds, but now
it only takes 6 seconds.
Potential issues
----------------
Although updating Node.JS/Prettier will invalidate the cache,
updating or changing prettier plugins won't invalidate the cache.
Since we do use `prettier-plugin-jsdoc` in Mermaid, this might cause
a minor issue, but CI should catch it.
2023-01-26 16:31:40 +00:00
Sidharth Vinod
c256a6b887
Merge pull request #4024 from mermaid-js/renovate/patch-all-minor-patch
...
chore(deps): update pnpm to v7.25.1
2023-01-24 17:06:06 +05:30
renovate[bot]
c9833dcd79
chore(deps): update pnpm to v7.25.1
2023-01-24 10:43:54 +00:00
Sidharth Vinod
afe3f593e1
fix( #4003 ): Remove unhandled promises
...
Add eslint rules to check for unhandled promises
Fix all existing unhandled promise issues
2023-01-18 00:47:49 +05:30
renovate[bot]
376d1a583c
chore(deps): update all non-major dependencies
2023-01-16 05:22:19 +00:00
renovate[bot]
ac6d325a00
chore(deps): update all non-major dependencies
2023-01-13 10:02:07 +00:00
Alois Klink
6c862565aa
chore(dev-deps): update vitest to `^0.27.1`
...
Updates vitest to `^0.27.1`.
We want to add `importOriginal` feature added in Vitest [v0.26.3][1],
see commit
853eeddba8
[1]: https://github.com/vitest-dev/vitest/releases/tag/v0.26.3
2023-01-12 23:52:16 +00:00
Sidharth Vinod
1495ae623a
WIP Adding contributors page from vitest
2022-12-21 10:54:23 +05:30
renovate[bot]
e46e918b23
chore(deps): update pnpm to v7.18.2
2022-12-19 03:46:30 +00:00
Sidharth Vinod
7b13b489c2
Merge branch 'master' into develop
...
* master: (23 commits)
Update vitepress
fix: Add icon css
fix Top level await
v9.3.0
bump dagre-es 7.0.6
Bump mermaid version
Update dagre-es
Bump mermaid version
fix: Incorrect removal of existing elements
fix: add .js to external imports.
fix: add .js to external imports.
Bump mermaid version
fix: add .js to external imports.
Bump mermaid version
fix: Throw correct errors when parsing diagrams with errors
Update url snapshot test for external diagrams
Update url snapshot test for external diagrams
Updated package number
Updated package number
Updated package number to 9.3.0-rc1
...
2022-12-16 00:51:16 +05:30
renovate[bot]
a975c8c9cd
chore(deps): update all non-major dependencies
2022-12-12 04:57:37 +00:00
Per Brolin
7656916cef
Updated package number to 9.3.0-rc1
2022-12-08 15:03:51 +01:00
Sidharth Vinod
1f147b6b63
Merge branch 'develop' into sidv/mermaidDocs
...
* develop:
chore(deps): update pnpm to v7.17.1
chore(deps): remove dependency on `graphlib`
test(e2e): make gitgraph snapshots consistent
2022-11-28 16:13:27 +05:30
renovate[bot]
2984e4fc57
chore(deps): update pnpm to v7.17.1
2022-11-28 07:35:36 +00:00
Sidharth Vinod
f425a02cf9
Merge branch 'develop' into sidv/mermaidDocs
...
* develop:
chore: Fix lint
test: Update vitest
Add official vim plugin to list in integrations
chore: Add lodash-eslint rule
chore: Add lodash-eslint rule
feat: Spellcheck docs when building
fix: Enable extending lintstagedrc.
fix: lintstagedrc `lint:jison`
Fix lodash import
Formatting
Update .vite/build.ts
fix Lint
Add docs back
fix: Core build externals
chore: Update dagre-d3-es
chore: Use `graphlib` from `dagre-d3-es`
fix: Add types to memoized functions
chore: Replace lodash with lodash-es
Cleanup
2022-11-25 16:21:05 +05:30
Sidharth Vinod
5e330a6d78
test: Update vitest
2022-11-24 16:33:42 +05:30
Sidharth Vinod
f8b05f7d75
chore: Cleanup package.json
2022-11-23 16:07:58 +05:30
Sidharth Vinod
ab81b508ce
Merge branch 'develop' into sidv/mermaidDocs
...
* develop: (79 commits)
chore: docs:build
chore: docs:build
tiny fix and change: "The/y cannot" -> "Cannot..."
remove 'horz' from cSpell.json
update demos/state.html to includ examples; formatting
add 'horz' to cSpell (in pieDetector.ts commented out barChart work)
refine - what is not done yet
remove 'horz' from cSpell.json
Revert "Added pie"
chore: Fix cSpell in pieRenderer
update demos/state.html to includ examples; formatting
add 'horz' to cSpell (in pieDetector.ts commented out barChart work)
refine - what is not done yet
remove console stmt
#3831 Re-enabling themes for er diagrams
#3835 Adding path to list of elements to be styled
#3882 fix for issues with mindmaps with only a single node
chore(deps): update pnpm to v7.17.0
docs: Remove warning in readme
chore(deps): update lycheeverse/lychee-action action to v1.5.4
...
2022-11-23 15:57:06 +05:30
Sidharth Vinod
2cefb0fb8f
chore: Add lodash-eslint rule
2022-11-23 03:03:19 +05:30
Knut Sveidqvist
ffb95b4fa9
Merge pull request #3823 from mermaid-js/sidv/viz
...
Add package visualizations
2022-11-21 13:32:19 +01:00
Knut Sveidqvist
29a02d1ab5
Merge pull request #3809 from aloisklink/use-dagre-d3-es
...
Replace `dagre`/`dagre-d3` with `dagre-d3-es`
2022-11-21 13:31:35 +01:00
Knut Sveidqvist
050574f60f
Merge pull request #3706 from MasonM/feature/1433_title_support
...
feat: Title support via front matter for ER, state, class, git, and graph diagrams
2022-11-21 11:44:26 +01:00
renovate[bot]
b9f0c7c807
chore(deps): update pnpm to v7.17.0
2022-11-21 10:05:15 +00:00
Sidharth Vinod
4ad99a25d0
feat: Add package visualization
2022-11-20 14:16:22 +05:30
Sidharth Vinod
49a931f712
feat: Add bundle visualization
2022-11-20 12:13:00 +05:30
Mason Malone
70f024735b
Add title support using YAML frontmatter
2022-11-18 20:42:54 -08:00
Alois Klink
fd76e0e270
chore: replace dagre/dagre-d3 with dagre-d3-es
...
Replace the dagre and dagre-d3 libraries with dagre-d3-es.
Both dagre and dagre-d3 are deprecated and unmaintained,
and haven't been updated for more than 3 years.
Since dagre-d3 still requires an old version of d3, this causes
a bunch of security warnings,
e.g. https://github.com/advisories/GHSA-36jr-mh4h-2g58
The [dagre-d3-es](https://github.com/tbo47/dagre-es ) package is a fork
that contains support for `"d3": "^7.6.1"`. Also, it's ESM, so we will
hopefully get smaller bundle sizes too. The only issue is that this
fork isn't very well used (only has 3000 weekly downloads),
compared to `dagre-d3`'s 250,000 weekly downloads.
(although to be fair, a large proportion of dagre-d3's downloads
probably come from mermaid)
Since it's is a less popular package,
**I've pinned `dagre-d3-es` to `"7.0.2"` instead of `"^7.0.2"`**.
This does mean if there is a bug in `dagre-d3-es`, we will have to
manually bump it ourselves, but it also means we won't accidentally
be sending a buggy version of `dagre-d3-es` out to users in cases
something changes (it might be worth disabling renovate for this
if we're feeling paranoid!)
2022-11-18 18:33:05 +00:00
Alois Klink
476917bda9
Revert "chore(deps): pin dependencies"
...
This reverts commit 17b72d565d
.
2022-11-16 20:00:16 +00:00
Sidharth Vinod
beab2278d8
feat: Async mermaid docs
2022-11-14 22:06:26 +05:30
Sidharth Vinod
eae88c51d2
Cleanup
2022-11-14 16:42:08 +05:30
Sidharth Vinod
9144fa390f
cleanup
2022-11-14 15:05:58 +05:30
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
a83f88bdf1
chore: Merge master to develop
2022-11-10 13:51:53 +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
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
daa85b4279
rename file
2022-11-04 02:09:14 +05:30
Sidharth Vinod
2c5a2072b8
Fix lint
2022-10-31 21:51:56 +05:30
Sidharth Vinod
c72bdc83c8
chore: Cleanup lintStaged
2022-10-31 20:30:05 +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
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
Santosh Viswanatham
c71b6e31f7
Merge branch 'develop' into feat/3601-cspell-configuration
2022-10-18 21:02:38 +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
Emerson Bottero
0da56a1249
docs: new Documentation
2022-10-15 00:50:57 -03:00
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
Knut Sveidqvist
d7e7498fea
Merge pull request #3630 from mermaid-js/sidv/node18
...
chore: Node 18
2022-10-10 14:25:58 +02:00
Knut Sveidqvist
7cd281eea8
Merge pull request #3628 from mermaid-js/sidv/volta
...
chore: Add volta
2022-10-10 14:18:53 +02:00
Sidharth Vinod
1570eb7b73
chore: Bump node to v18
2022-10-10 20:13:50 +08:00
Knut Sveidqvist
5060c9f390
Merge pull request #3596 from mermaid-js/sidv/fixImportDoc
...
docs: Add mermaid version to script URL
2022-10-10 14:11:34 +02:00
Sidharth Vinod
1fea43e125
chore: Set node v16
2022-10-10 20:10:23 +08:00
Sidharth Vinod
ef47cc5b6f
chore: Add volta
2022-10-10 20:07:59 +08:00
Knut Sveidqvist
e876c35ef9
Merge pull request #3591 from mermaid-js/sidv/fixDetectDiagram
...
fix Detect diagram fallback
2022-10-10 13:43:41 +02:00
Valentin Valls
235797a97c
Fix file name during "dev" script
2022-10-08 19:22:55 +02:00
devcer
4d0da7fba0
Added and configured cspell plugin to eslint
2022-10-08 14:38:41 +05:30
Sidharth Vinod
069437842b
Merge branch 'develop' into sidv/fixDetectDiagram
...
* develop: (50 commits)
docs: Sync
capitalization fix
format Setup.md
format cSpell.json
format docs YAML
format cSpell.json
separate words & ignoreWords
fix: "skin param"
ignore the changelog
Revert "fix: "skin param""
fix: "skin param"
fix: "corresponding"
known terms
known terms
fix: "JetBrains"
known terms
known terms
fix: "stable"
known term
add known term
...
2022-10-08 12:35:40 +08:00
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
c99fd2baa9
Merge pull request #3598 from mermaid-js/lazy-load-import
...
Lazy load import
2022-10-07 16:06:48 +02:00
Knut Sveidqvist
646f76d343
Fix for broken test
2022-10-07 14:36:25 +02:00
lemontreejs
2d01548d02
fix: build npm-script
2022-10-07 16:03:32 +05:30
lemontreejs
74c7a8585d
fix: build npm-script
2022-10-07 14:14:28 +05:30
Sidharth Vinod
cc55a82b64
Merge branch 'develop' into sidv/fixDetectDiagram
...
* develop:
chore: cleanup
fix: dynamic import
fix: Filename in viewer.js
fix: pnpm not found
fix: Import diagram
Updated logic for diagram loading
WIP
2022-10-07 16:30:34 +08: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
Sidharth Vinod
1615c6d9f9
fix #3391 : Remove flowchart as fallback for diagram detection.
2022-10-06 19:14:25 +08: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
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
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
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
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
9468bffcbb
Merge branch 'develop' of github.com:emersonbottero/mermaid into emersonbottero-develop
2022-10-04 08:23:36 +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
Emerson Bottero
9901a73a2a
Merge branch 'develop' of https://github.com/emersonbottero/mermaid into develop
2022-10-03 14:01:05 -03:00
Emerson Bottero
40a319fc5b
Fix postbuild script
2022-10-03 12:11:00 -03:00
dependabot[bot]
eaf75fa149
chore(deps-dev): update husky requirement from ^8.0.0 to ^8.0.1
...
Updates the requirements on [husky](https://github.com/typicode/husky ) to permit the latest version.
- [Release notes](https://github.com/typicode/husky/releases )
- [Commits](https://github.com/typicode/husky/compare/v8.0.0...v8.0.1 )
---
updated-dependencies:
- dependency-name: husky
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 07:01:42 +00:00
dependabot[bot]
a6093e847e
chore(deps-dev): update @types/lodash requirement
...
Updates the requirements on [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash ) to permit the latest version.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash )
---
updated-dependencies:
- dependency-name: "@types/lodash"
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 07:01:30 +00:00
dependabot[bot]
0a6c7781c4
chore(deps-dev): update @types/express requirement
...
Updates the requirements on [@types/express](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express ) to permit the latest version.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/express )
---
updated-dependencies:
- dependency-name: "@types/express"
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 07:01:26 +00:00
dependabot[bot]
0871f5c012
chore(deps-dev): update start-server-and-test requirement
...
Updates the requirements on [start-server-and-test](https://github.com/bahmutov/start-server-and-test ) to permit the latest version.
- [Release notes](https://github.com/bahmutov/start-server-and-test/releases )
- [Commits](https://github.com/bahmutov/start-server-and-test/compare/v1.12.6...v1.14.0 )
---
updated-dependencies:
- dependency-name: start-server-and-test
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 07:01:06 +00:00
dependabot[bot]
6f27c36186
chore(deps-dev): update @vitest/ui requirement from ^0.23.2 to ^0.23.4
...
Updates the requirements on [@vitest/ui](https://github.com/vitest-dev/vitest/tree/HEAD/packages/ui ) 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/ui )
---
updated-dependencies:
- dependency-name: "@vitest/ui"
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-03 07:00:41 +00:00
Alois Klink
1cdb0ff72c
build: re-enable `prepare` script for husky setup
...
Re-enables the `pnpm run prepare` script.
The prepare script is automatically run when running
`pnpm install` locally.
It both:
- Sets up husky/git pre-commit scripts
- Builds the `packages/mermaid/dist` folder.
2022-09-29 19:48:54 +01:00
Knut Sveidqvist
972d025578
Merge branch 'develop' into 3061_making_a_monorepo
2022-09-29 16:28:57 +02:00
Knut Sveidqvist
09bc7e0acd
Merge remote-tracking branch 'origin/develop' into develop
2022-09-29 16:25:09 +02:00
Emerson Bottero
6191bb5f1b
Merge branch 'develop' into develop
2022-09-28 22:47:48 -03:00
Emerson Bottero
2376d38e0e
docs: improved search
2022-09-28 21:46:07 -03:00
Knut Sveidqvist
be34e6145f
Fix for tests
2022-09-28 14:53:16 +02:00
Knut Sveidqvist
f60c7fff65
Merge branch 'develop' into 3061_making_a_monorepo
2022-09-28 14:26:07 +02:00
Knut Sveidqvist
6292bebcd3
Updated version
2022-09-28 14:15:17 +02:00
Knut Sveidqvist
ef527cb0fa
Merge branch 'develop' into feature/3171--erDiagram-allow-chars-in-entity-name
2022-09-28 13:24:54 +02:00
dependabot[bot]
503cbedc96
chore(deps-dev): bump @types/prettier from 2.7.0 to 2.7.1 ( #3520 )
...
Bumps [@types/prettier](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/prettier ) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/prettier )
---
updated-dependencies:
- dependency-name: "@types/prettier"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 13:28:16 +02:00
dependabot[bot]
a448409750
chore(deps-dev): bump eslint from 8.23.1 to 8.24.0 ( #3521 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.23.1 to 8.24.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.23.1...v8.24.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 13:27:42 +02:00
Knut Sveidqvist
a928120bec
#3061 Log handing and other fixes, error handling in diagram creation
2022-09-26 10:44:18 +02:00
Knut Sveidqvist
ebdec77c88
#3061 Fixing unit tests
2022-09-26 08:47:41 +02:00
Alois Klink
77831c424c
ci(lint): fix lint tests CI to use pnpm
2022-09-25 20:02:23 +01:00
Alois Klink
69c13a6ecf
build(docs): fix docs:build command for mono-repo
2022-09-25 20:02:23 +01:00
Alois Klink
97637da9e0
build: set "packageManager" to `pnpm@7.12.2`
...
The ["packageManager"][1] field list the package manager that
is expected to be used.
This is required by the `pnpm/action-setup` GitHub Action.
[1]: https://nodejs.org/api/packages.html#packagemanager
2022-09-25 19:22:48 +01:00
Emerson Bottero
eeafa8f5aa
docs: added the fixed search again
2022-09-24 23:24:48 -03:00
Ashley Engelund (weedySeaDragon @ github)
ed0f22b037
Merge remote-tracking branch 'MERMAID/develop' into bug/er/allow-chars-in-entity-name
...
# Conflicts:
# vite.config.cts
# yarn.lock
2022-09-24 16:06:54 -07:00
Ashley Engelund (weedySeaDragon @ github)
d328879329
add uuid; graph node ids can no longer be based on entity names; make unique id
2022-09-24 15:40:02 -07:00
Emerson Bottero
87911f4a56
docs: build working
2022-09-23 23:33:24 -03:00
Knut Sveidqvist
af2b1945a3
Detector registering itself on load
2022-09-23 16:55:30 +02:00
Sidharth Vinod
8dcbe83b0b
fix types for mermaid-mindmap
2022-09-23 17:51:29 +05:30
Sidharth Vinod
913468a7b5
Merge branch 'sidv/viteVitest' into sidv/3061_monorepo
...
* sidv/viteVitest:
fix: Core build
fix: js-base64
fix OutputOptions type
fix: js-base64
fix: json import, js-base64
fix: json import
2022-09-23 17:29:35 +05:30
Sidharth Vinod
eaa1602b1a
fix: json import, js-base64
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2022-09-23 15:42:41 +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
Sidharth Vinod
f40f2a0b44
cleanup
2022-09-23 10:53:37 +05:30
Sidharth Vinod
d9406585c8
remove esbuild
2022-09-23 10:50:58 +05:30
Sidharth Vinod
d6245fdbda
Merge branch 'develop' into sidv/viteVitest
...
* develop: (30 commits)
Fix docs
Auto stash before merge of "develop" and "origin/develop"
vite -> cts
add lcov
chore(deps-dev): bump esbuild from 0.15.6 to 0.15.8
fix(docs): update link
CI Concurrency 4
Remove build
Parallel e2e
Revert "unify Jison tranformers"
Update yarn.lock
fix(docs): `mmd` detection
Hope this fails
Remove `docs:build` from postbuild.
Add verification log
This should fail CI
chore(deps-dev): bump @types/lodash from 4.14.184 to 4.14.185
Update integrations.md
Add vitepress pluin
Fix lint
...
2022-09-22 15:39:26 +05:30
Sidharth Vinod
aeb31fe1ae
Use vite for build
2022-09-22 15:35:22 +05:30