Skip to content

Commit

Permalink
Merge branch 'develop' into sidv/FixTilde
Browse files Browse the repository at this point in the history
* develop:
  chore: Align with convention
  chore(deps): update all patch dependencies
  chore(deps): update all minor dependencies
  • Loading branch information
sidharthv96 committed Sep 3, 2023
2 parents 650d712 + 69b4b48 commit 4944694
Show file tree
Hide file tree
Showing 6 changed files with 199 additions and 64 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"version": "10.2.4",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
"type": "module",
"packageManager": "pnpm@8.6.12",
"packageManager": "pnpm@8.7.0",
"keywords": [
"diagram",
"markdown",
Expand Down
2 changes: 1 addition & 1 deletion packages/mermaid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"rimraf": "^5.0.0",
"start-server-and-test": "^2.0.0",
"type-fest": "^4.1.0",
"typedoc": "^0.24.5",
"typedoc": "^0.25.0",
"typedoc-plugin-markdown": "^3.15.2",
"typescript": "^5.0.4",
"unist-util-flatmap": "^1.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/mermaid/src/diagrams/class/classDiagram-v2.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import type { DiagramDefinition } from '../../diagram-api/types.js';
// @ts-ignore: JISON doesn't support types
import parser from './parser/classDiagram.jison';
import classDb from './classDb.js';
import db from './classDb.js';
import styles from './styles.js';
import renderer from './classRenderer-v2.js';

export const diagram: DiagramDefinition = {
parser,
db: classDb,
db,
renderer,
styles,
init: (cnf) => {
if (!cnf.class) {
cnf.class = {};
}
cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;
classDb.clear();
db.clear();
},
};
6 changes: 3 additions & 3 deletions packages/mermaid/src/diagrams/class/classDiagram.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import type { DiagramDefinition } from '../../diagram-api/types.js';
// @ts-ignore: JISON doesn't support types
import parser from './parser/classDiagram.jison';
import classDb from './classDb.js';
import db from './classDb.js';
import styles from './styles.js';
import renderer from './classRenderer.js';

export const diagram: DiagramDefinition = {
parser,
db: classDb,
db,
renderer,
styles,
init: (cnf) => {
if (!cnf.class) {
cnf.class = {};
}
cnf.class.arrowMarkerAbsolute = cnf.arrowMarkerAbsolute;
classDb.clear();
db.clear();
},
};
2 changes: 1 addition & 1 deletion packages/mermaid/src/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"unplugin-vue-components": "^0.25.0",
"vite": "^4.3.9",
"vite-plugin-pwa": "^0.16.0",
"vitepress": "1.0.0-rc.4",
"vitepress": "1.0.0-rc.8",
"workbox-window": "^7.0.0"
}
}
Loading

0 comments on commit 4944694

Please sign in to comment.