Konstantin GukovandGitHub 2783f9306d Bump node.js from 13.6 to 15.11
Currently building the docker image fails with the following error:

```
 => [mermaid-live-editor-builder 4/5] RUN yarn install                                                                                                                                  25.2s= => ERROR [mermaid-live-editor-builder 5/5] RUN yarn build                                                                                                                               0.8s
------                                                                                                                                                                                         > [mermaid-live-editor-builder 5/5] RUN yarn build:
#9 0.399 yarn run v1.21.1
#9 0.432 $ webpack build
#9 0.748 internal/modules/cjs/loader.js:628
#9 0.748   throw e;
#9 0.748   ^
#9 0.748
#9 0.748 Error: No valid exports main found for '/home/node_modules/colorette'
#9 0.748     at resolveExportsTarget (internal/modules/cjs/loader.js:625:9)
#9 0.748     at applyExports (internal/modules/cjs/loader.js:502:14)
#9 0.748     at resolveExports (internal/modules/cjs/loader.js:551:12)
#9 0.748     at Function.Module._findPath (internal/modules/cjs/loader.js:657:22)
#9 0.748     at Function.Module._resolveFilename (internal/modules/cjs/loader.js:960:27)
#9 0.748     at Function.Module._load (internal/modules/cjs/loader.js:855:27)
#9 0.748     at Module.require (internal/modules/cjs/loader.js:1033:19)
#9 0.748     at require (/home/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
#9 0.748     at Object.<anonymous> (/home/node_modules/webpack-cli/lib/webpack-cli.js:10:66)
#9 0.748     at Module._compile (/home/node_modules/v8-compile-cache/v8-compile-cache.js:192:30) {
#9 0.748   code: 'MODULE_NOT_FOUND'
#9 0.748 }
#9 0.763 error Command failed with exit code 1.
#9 0.763 info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
------
executor failed running [/bin/sh -c yarn build]: exit code: 1
```

This is because colorette doesn't work with Node.js 13: https://github.com/jorgebucaran/colorette/issues/46

Any node.js other than 13 would work. If there's a reason to not use the latest version, we can change it to 14.16.
2021-03-17 12:02:48 +01:00
2021-02-01 12:31:56 +05:30
2021-01-15 10:23:37 +05:30
2021-03-11 21:29:09 +01:00
2021-01-30 11:14:34 +05:30
2019-11-13 05:20:09 -08:00
2021-01-14 17:28:05 +05:30
2020-12-10 09:23:55 +05:30
2021-03-17 12:02:48 +01:00
2021-01-12 20:51:16 +01:00
2020-11-23 16:25:05 +01:00
2021-01-15 10:36:23 +05:30
2021-03-11 21:29:09 +01:00

Join our Slack!

Contributors are welcome

If you want to speed up the progress for mermaid-live-editor, join the slack channel and contact knsv.

mermaid-live-editor

Edit, preview and share mermaid charts/diagrams.

Features

  • Edit and preview flowcharts, sequence diagrams, gantt diagrams in real time.
  • Save the result as a svg
  • Get a link to a viewer of the diagram so that you can share it with others.
  • Get a link to edit the diagram so that someone else can tweak it and send a new link back

Live demo

You can try out a live version here.

Setup

This project is set up using Yarn:

yarn install

or in develop branch to use the beta version of mermaid use

yarn install --update-checksums

This together with a .npmrc file:

registry=https://registry.npmjs.com/
@mermaid-js:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken="XXXXXXXXX"

Development

yarn dev
open http://localhost:8080

This app is created with Svelte + svelte-spa-router.

Release

yarn release
S
Description
Edit, preview and share mermaid charts/diagrams.
Readme MIT
146 MiB
Languages
TypeScript 50%
Svelte 45.1%
JavaScript 2.3%
CSS 1.5%
HTML 0.4%
Other 0.7%