Sidharth Vinod
156fbd1958
Merge branch 'develop' into next
...
* develop:
chore: Remove duplicate CI action
chore: Add circular dependency check in CI
refactor: Remove circular dependencies
2023-08-22 13:31:59 +05:30
Sidharth Vinod
1a50a326cb
refactor: Remove circular dependencies
2023-08-22 11:38:25 +05:30
Sidharth Vinod
7dd0d126e2
Merge branch 'develop' into next
...
* develop:
deps: Update unocss and webpack to address vulnerability.
chore(deps): update all patch dependencies
ci(release-drafter): add more release notes categories
2023-08-22 10:21:13 +05:30
Sidharth Vinod
31c0a0cbab
deps: Update unocss and webpack to address vulnerability.
2023-08-21 10:26:41 +05:30
Reda Al Sulais
1d64549cce
fix(mermaid): mark mermaid-parser
dependecy with ^
...
Co-authored-by: Alois Klink <alois@aloisklink.com>
2023-08-21 02:54:13 +03:00
Reda Al Sulais
4ae361bd1f
reorder packages/parser
after packages/mermaid/src/vitepress
2023-08-20 18:45:05 +03:00
Reda Al Sulais
6c0ef54e18
Merge branch 'next' into add-info-langium-parser
2023-08-20 18:01:37 +03:00
Sidharth Vinod
fd731c5ccd
Merge branch 'develop' into next
...
* develop: (56 commits)
chore: Add comments on redirectMaps
remove `chart` from `pie.spec.ts` description
Update docs
change `defaultConfig` type to `RequiredDeep` and use it in `pieDb`
use `DiagramStylesProvider` in `pieStyles.ts`
remove `setConfig` and `resetConfig` in pie
add `structuredClone` in pie `getConfig`
cleanAndMerge pieConfig
remove cleanClone
feat: Add cleanAndMerge and tests
chore: Rename utils.spec.ts
move db assignment from `beforeEach` to `beforeAll`
create `structuredCleanClone` helper function
add more types to pieRenderer
add `resetConfig` to `clear` in pieDb
rename `reset` to `resetConfig`
use `structedClone` in `pieDb`
remove `PieDiagramConfig` and import generated one
remove unnecessary lines in pie files
remove unused `HTML` import in pieRenderer
...
2023-08-20 20:28:52 +05:30
Reda Al Sulais
cbe9490dc0
feat!: integrate info
parser into mermaid
package
...
BREAKING CHANGE: remove `showInfo` from `infoDb`.
2023-08-20 17:25:49 +03:00
Subhash Halder
5a64cec9ca
Merge branch 'develop' into feature/4269_add_xychart
2023-08-20 18:09:51 +05:30
Reda Al Sulais
6141722b1f
feat: create parser
package in packages
directory
2023-08-20 15:31:40 +03:00
Reda Al Sulais
222d8eed4e
Merge remote-tracking branch 'upstream/develop' into next
...
Signed-off-by: Reda Al Sulais <u.yokozuna@gmail.com>
2023-08-19 16:20:13 +03:00
Reda Al Sulais
e7ee3eb9ea
Merge branch 'develop' into standardized-pie-definitions
2023-08-19 01:07:55 +03:00
Nikolay Rozhkov
aec97d68cc
Fixed wrong collapsible option at the left menu, updated vue
...
Fixed badges
Rely on classes instead of DOM structure
Prettier
Update docs
2023-08-17 16:37:22 +03:00
Sidharth Vinod
5d5c6275f9
Merge branch 'develop' into next
...
* develop:
Update all minor dependencies
Update all patch dependencies
make more `RectData` required and remove optional assignment
use lineBreakRegex in `svgDrawCommon`
fix svgDrawCommon import by adding `.js`
add types to `svgDrawCommon.ts`
convert `svgDrawCommon` to TS
2023-08-17 08:20:11 +05:30
Reda Al Sulais
0d179c501e
Merge branch 'develop' into standardized-pie-definitions
2023-08-15 14:01:09 +03:00
Sidharth Vinod
085e8f78b3
Merge pull request #4731 from mermaid-js/renovate/patch-all-patch
...
Update all patch dependencies (patch)
2023-08-14 11:05:49 +00:00
renovate[bot]
2a8374312f
Update all minor dependencies
2023-08-14 03:07:45 +00:00
renovate[bot]
b60410161d
Update all patch dependencies
2023-08-14 02:02:28 +00:00
Sidharth Vinod
9fb9bed806
chore: Add live-reload
2023-08-14 00:55:34 +05:30
Sidharth Vinod
01b2f80a95
chore: Remove @vitest/coverage-c8
2023-08-14 00:54:33 +05:30
Sidharth Vinod
da7ff777d1
chore: Add esbuild (Breaking change)
...
mermaid.min.js and mermaid.js will now be IIFE instead of UMD.
2023-08-14 00:52:45 +05:30
Reda Al Sulais
96380600d9
Merge remote-tracking branch 'upstream/develop' into standardized-pie-definitions
2023-08-08 15:02:23 +03:00
danshuitaihejie
6df76d93e5
fix!(deps): fix zenuml style leakage.
...
update @zenuml/core to ^3.0.6 to fix the style leakage.
2023-08-07 00:21:57 +08:00
Reda Al Sulais
aecf451ed1
update pnpm-lock.yaml
2023-08-02 15:55:02 +03:00
Reda Al Sulais
7d69ad2d5b
Merge remote-tracking branch upstream/develop into standardized-pie-definitions
2023-08-02 15:54:23 +03:00
Reda Al Sulais
e33340331a
add type-fest to mermaid dev deps
2023-08-02 15:44:44 +03:00
Sidharth Vinod
b87f1f2098
Merge pull request #4692 from mermaid-js/dependabot/npm_and_yarn/pnpm-8.6.8
...
build(deps-dev): bump pnpm from 8.3.1 to 8.6.8
2023-08-02 03:08:17 +00:00
Sidharth Vinod
c9c2f6c121
Merge pull request #4677 from djadmin/chore_dompurify_unpin_dependency
...
chore(deps): unpin the dompurify dependency
2023-08-02 03:06:18 +00:00
dependabot[bot]
8b79060829
build(deps-dev): bump pnpm from 8.3.1 to 8.6.8
...
Bumps [pnpm](https://github.com/pnpm/pnpm ) from 8.3.1 to 8.6.8.
- [Release notes](https://github.com/pnpm/pnpm/releases )
- [Commits](https://github.com/pnpm/pnpm/compare/v8.3.1...v8.6.8 )
---
updated-dependencies:
- dependency-name: pnpm
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 17:07:15 +00:00
renovate[bot]
c292c897a1
chore(deps): update all patch dependencies
2023-08-01 08:42:21 +00:00
Alois Klink
cc7fd337ac
Merge pull request #4687 from mermaid-js/dependabot/npm_and_yarn/vite-4.3.9
...
build(deps-dev): bump vite from 4.3.3 to 4.3.9
2023-08-01 08:28:15 +00:00
Alois Klink
6b41420ddd
Merge pull request #4686 from mermaid-js/dependabot/npm_and_yarn/braintree/sanitize-url-6.0.1
...
build(deps): bump @braintree/sanitize-url from 6.0.0 to 6.0.1
2023-08-01 08:27:58 +00:00
dependabot[bot]
266a5e8133
build(deps-dev): bump vite from 4.3.3 to 4.3.9
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 4.3.3 to 4.3.9.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v4.3.9/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 06:38:37 +00:00
dependabot[bot]
55963107d0
build(deps): bump @braintree/sanitize-url from 6.0.0 to 6.0.1
...
Bumps [@braintree/sanitize-url](https://github.com/braintree/sanitize-url ) from 6.0.0 to 6.0.1.
- [Changelog](https://github.com/braintree/sanitize-url/blob/main/CHANGELOG.md )
- [Commits](https://github.com/braintree/sanitize-url/compare/v6.0.0...v6.0.1 )
---
updated-dependencies:
- dependency-name: "@braintree/sanitize-url"
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 06:38:16 +00:00
dependabot[bot]
a7e37d0c8b
build(deps-dev): bump json5 from 2.2.1 to 2.2.3
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 06:36:36 +00:00
renovate[bot]
1a99825ab2
chore(deps): update all minor dependencies
2023-07-31 01:25:54 +00:00
Dheeraj Joshi
6c12bbb80f
chore(deps): unpin the dompurify dependency
2023-07-28 16:02:17 +05:30
Knut Sveidqvist
9c92f779ae
Updates after testing and new version for mermaid-zenuml
2023-07-26 09:44:24 +02:00
Sidharth Vinod
68909a43f7
Update lockfile
2023-07-25 21:57:48 +05:30
renovate[bot]
e4699ef02a
chore(deps): update all patch dependencies
2023-07-24 00:18:49 +00:00
dependabot[bot]
cd0da4e060
build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 17:44:05 +00:00
Subhash Halder
c38cdcf2b2
Introduced theme config to configure cosmetics
2023-07-19 22:41:41 +05:30
Subhash Halder
5fd4ca2d41
added updated lock file
2023-07-19 20:52:34 +05:30
Subhash Halder
89cfa17b07
Fixed some merge related issue and eslint issue
2023-07-19 20:49:04 +05:30
Subhash Halder
93697b74f4
Generated the base architecture
2023-07-19 20:44:21 +05:30
Alois Klink
a0a25ed756
chore: remove unused devDependency
on coveralls
...
This `devDependency` hasn't been used for a long time.
2023-07-16 00:21:43 +01:00
renovate[bot]
d46ef4cc91
chore(deps): update all patch dependencies
2023-07-11 17:19:31 +00:00
renovate[bot]
47f46c8a46
chore(deps): update all minor dependencies
2023-07-10 01:17:36 +00:00
Alois Klink
7c3a73d4a8
build(types): add script to generate Config types
...
Add script `packages/mermaid/scripts/create-types-from-json-schema.mts`
to automatically generate the TypeScript definition for `MermaidConfig`
from the `MermaidConfig` JSON Schema at
`packages/mermaid/src/schemas/config.schema.yaml`.
To do this, we are using this library
[`json-schema-to-typescript`][1], which is also used by Webpack to
generate their types from their JSON Schema.
In order to make sure that this isn't a breaking change, the script
makes all fields **optional**, as that is what the original typescript
file has.
Additionally, I've put in some custom logic into the script, so that
the exact same order is used for the TypeScript file, to make the
`git diff` easier to review. In the future, we can remove this custom
logic, once we no longer need to worry about `git merge` conflicts.
[1]: https://github.com/bcherny/json-schema-to-typescript
2023-07-06 03:53:40 +01:00