mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-21 06:53:17 +08:00
Merge branch 'next' into sidv/diagramType
* next: chore: Fix import.meta.vitest warnings Update docs Update NiceGuy.io links in integrations-community.md
This commit is contained in:
commit
96c90b24d1
@ -8,6 +8,8 @@ const buildType = (packageName: string) => {
|
|||||||
out.length > 0 && console.log(out.toString());
|
out.length > 0 && console.log(out.toString());
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
e.stdout.length > 0 && console.error(e.stdout.toString());
|
||||||
|
e.stderr.length > 0 && console.error(e.stderr.toString());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -65,6 +65,9 @@ export const getBuildConfig = (options: MermaidBuildOptions): BuildOptions => {
|
|||||||
minify,
|
minify,
|
||||||
logLevel: 'info',
|
logLevel: 'info',
|
||||||
chunkNames: `chunks/${outFileName}/[name]-[hash]`,
|
chunkNames: `chunks/${outFileName}/[name]-[hash]`,
|
||||||
|
define: {
|
||||||
|
'import.meta.vitest': 'undefined',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
if (core) {
|
if (core) {
|
||||||
|
@ -236,5 +236,5 @@ Communication tools and platforms
|
|||||||
- [ExDoc](https://github.com/elixir-lang/ex_doc)
|
- [ExDoc](https://github.com/elixir-lang/ex_doc)
|
||||||
- [Rendering Mermaid graphs](https://github.com/elixir-lang/ex_doc#rendering-mermaid-graphs)
|
- [Rendering Mermaid graphs](https://github.com/elixir-lang/ex_doc#rendering-mermaid-graphs)
|
||||||
- [NiceGUI: Let any browser be the frontend of your Python code](https://nicegui.io)
|
- [NiceGUI: Let any browser be the frontend of your Python code](https://nicegui.io)
|
||||||
- [ui.mermaid(...)](https://nicegui.io/reference#mermaid_diagrams)
|
- [ui.mermaid(...)](https://nicegui.io/documentation/section_text_elements#markdown_element)
|
||||||
- [ui.markdown(..., extras=\['mermaid'\])](https://nicegui.io/reference#markdown_element)
|
- [ui.markdown(..., extras=\['mermaid'\])](https://nicegui.io/documentation/section_text_elements#mermaid_diagrams)
|
||||||
|
@ -2,7 +2,8 @@
|
|||||||
"extends": "../../tsconfig.json",
|
"extends": "../../tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"rootDir": "../..",
|
"rootDir": "../..",
|
||||||
"outDir": "./dist"
|
"outDir": "./dist",
|
||||||
|
"types": ["vitest/importMeta", "vitest/globals"]
|
||||||
},
|
},
|
||||||
"include": ["./src/**/*.ts"],
|
"include": ["./src/**/*.ts"],
|
||||||
"typeRoots": ["./src/types"]
|
"typeRoots": ["./src/types"]
|
||||||
|
@ -234,5 +234,5 @@ Communication tools and platforms
|
|||||||
- [ExDoc](https://github.com/elixir-lang/ex_doc)
|
- [ExDoc](https://github.com/elixir-lang/ex_doc)
|
||||||
- [Rendering Mermaid graphs](https://github.com/elixir-lang/ex_doc#rendering-mermaid-graphs)
|
- [Rendering Mermaid graphs](https://github.com/elixir-lang/ex_doc#rendering-mermaid-graphs)
|
||||||
- [NiceGUI: Let any browser be the frontend of your Python code](https://nicegui.io)
|
- [NiceGUI: Let any browser be the frontend of your Python code](https://nicegui.io)
|
||||||
- [ui.mermaid(...)](https://nicegui.io/reference#mermaid_diagrams)
|
- [ui.mermaid(...)](https://nicegui.io/documentation/section_text_elements#markdown_element)
|
||||||
- [ui.markdown(..., extras=['mermaid'])](https://nicegui.io/reference#markdown_element)
|
- [ui.markdown(..., extras=['mermaid'])](https://nicegui.io/documentation/section_text_elements#mermaid_diagrams)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user