mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-11 11:29:42 +02:00
Update alana version
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mermaid-chart/mermaid",
|
"name": "@mermaid-chart/mermaid",
|
||||||
"version": "11.3.0-b.1",
|
"version": "11.3.0-a.1",
|
||||||
"description": "Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",
|
"description": "Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"module": "./dist/mermaid.core.mjs",
|
"module": "./dist/mermaid.core.mjs",
|
||||||
|
@@ -58,9 +58,8 @@ import { visit } from 'unist-util-visit';
|
|||||||
register('./loadHook.mjs', import.meta.url);
|
register('./loadHook.mjs', import.meta.url);
|
||||||
const { shapesDefs } = await import('../src/rendering-util/rendering-elements/shapes.js');
|
const { shapesDefs } = await import('../src/rendering-util/rendering-elements/shapes.js');
|
||||||
|
|
||||||
export const MERMAID_RELEASE_VERSION = JSON.parse(
|
export const MERMAID_RELEASE_VERSION = JSON.parse(readFileSync('../mermaid/package.json', 'utf8'))
|
||||||
readFileSync(join(__dirname, '../../mermaid/package.json'), 'utf8')
|
.version as string;
|
||||||
).version as string;
|
|
||||||
const MERMAID_MAJOR_VERSION = MERMAID_RELEASE_VERSION.split('.')[0];
|
const MERMAID_MAJOR_VERSION = MERMAID_RELEASE_VERSION.split('.')[0];
|
||||||
const CDN_URL = 'https://cdn.jsdelivr.net/npm'; // 'https://unpkg.com';
|
const CDN_URL = 'https://cdn.jsdelivr.net/npm'; // 'https://unpkg.com';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user