Skip to content

Commit

Permalink
Merge pull request mermaid-js#373 from mermaid-js/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
sidharthv96 authored Sep 18, 2021
2 parents 548f320 + 113c50e commit 649bfee
Show file tree
Hide file tree
Showing 5 changed files with 141 additions and 191 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Stop : press ctrl + c
# or
# docker stop mermaid-live-editor
FROM node:16.9.0 as mermaid-live-editor-builder
FROM node:16.9.1 as mermaid-live-editor-builder
COPY --chown=node:node . /home
WORKDIR /home
RUN yarn install
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
},
"devDependencies": {
"@cypress/snapshot": "^2.1.7",
"@sveltejs/adapter-static": "1.0.0-next.18",
"@sveltejs/adapter-static": "1.0.0-next.19",
"@sveltejs/kit": "1.0.0-next.147",
"@types/mermaid": "^8.2.7",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"autoprefixer": "^10.3.4",
"chai": "^4.3.4",
"cssnano": "^5.0.8",
"cypress": "8.3.1",
"cypress": "8.4.0",
"cypress-localstorage-commands": "^1.5.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-cypress": "^2.11.3",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-es": "^4.1.0",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-postcss-modules": "^1.2.1",
Expand All @@ -38,10 +38,10 @@
"mocha": "^9.1.1",
"postcss": "^8.3.6",
"postcss-load-config": "^3.1.0",
"prettier": "~2.4.0",
"prettier": "~2.4.1",
"prettier-plugin-svelte": "^2.4.0",
"svelte": "^3.42.5",
"svelte-preprocess": "^4.8.0",
"svelte": "^3.42.6",
"svelte-preprocess": "^4.9.4",
"tailwindcss": "^2.2.15",
"tslib": "^2.3.1",
"typescript": "^4.4.3"
Expand All @@ -51,7 +51,7 @@
"@analytics/google-analytics": "^0.5.3",
"@macfja/svelte-persistent-store": "^1.2.0",
"analytics": "^0.7.14",
"js-base64": "^3.7.0",
"js-base64": "^3.7.1",
"mermaid": "^8.12.1",
"moment": "^2.29.1",
"monaco-editor": "^0.27.0",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/view.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { codeStore } from '$lib/util/state';
import { onMount } from 'svelte';
import * as mermaid from 'mermaid';
import mermaid from 'mermaid';
let code = '';
let config = '';
Expand Down
3 changes: 2 additions & 1 deletion src/routes/edit.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
import { initHandler, syncDiagram } from '$lib/util/util';
import { errorStore } from '$lib/util/error';
import { onMount } from 'svelte';
import * as mermaid from 'mermaid';
import mermaid from 'mermaid';
import type monaco from 'monaco-editor';
import type { EditorUpdateEvent, State, Tab } from '$lib/types';
import { base } from '$app/paths';
base64State; // Weird fix for error > base64State is not defined. Treeshaking?
let selectedMode = 'code';
const languageMap = {
code: 'mermaid',
Expand Down
Loading

0 comments on commit 649bfee

Please sign in to comment.