Merge pull request #1218 from mermaid-js/release-promotion

Release live editor
This commit is contained in:
Sidharth Vinod
2023-05-17 00:43:30 +05:30
committed by GitHub
5 changed files with 415 additions and 479 deletions
+2 -2
View File
@@ -6,12 +6,12 @@
# Stop : press ctrl + c
# or
# docker stop mermaid-live-editor
FROM node:19.9.0 as mermaid-live-editor-builder
FROM node:20.1.0 as mermaid-live-editor-builder
COPY --chown=node:node . /home
WORKDIR /home
RUN yarn install
RUN yarn build
FROM nginx:alpine as mermaid-live-editor-runner
FROM nginxinc/nginx-unprivileged:alpine as mermaid-live-editor-runner
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=mermaid-live-editor-builder --chown=nginx:nginx /home/docs /usr/share/nginx/html
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:19
FROM node:20
WORKDIR /app
COPY package.json .
COPY yarn.lock .
+1 -1
View File
@@ -1,6 +1,6 @@
MIT License
Copyright (c) 2020 - 2021 Knut Sveidqvist
Copyright (c) 2020 - 2023 Knut Sveidqvist
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+12 -12
View File
@@ -24,48 +24,48 @@
"devDependencies": {
"@cypress/snapshot": "2.1.7",
"@sveltejs/adapter-static": "2.0.2",
"@sveltejs/kit": "1.15.9",
"@sveltejs/kit": "1.16.3",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/svelte": "3.2.2",
"@types/pako": "2.0.0",
"@types/uuid": "9.0.1",
"@typescript-eslint/eslint-plugin": "5.59.1",
"@typescript-eslint/parser": "5.59.1",
"@vitest/ui": "^0.30.1",
"@typescript-eslint/eslint-plugin": "5.59.2",
"@typescript-eslint/parser": "5.59.2",
"@vitest/ui": "^0.31.0",
"autoprefixer": "^10.4.14",
"c8": "7.13.0",
"chai": "^4.3.7",
"cssnano": "^6.0.0",
"cy-verify-downloads": "0.1.14",
"cypress": "12.11.0",
"cypress": "12.12.0",
"cypress-localstorage-commands": "2.2.3",
"eslint": "8.39.0",
"eslint": "8.40.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-cypress": "2.13.3",
"eslint-plugin-es": "4.1.0",
"eslint-plugin-no-only-tests": "^3.1.0",
"eslint-plugin-postcss-modules": "2.0.0",
"eslint-plugin-svelte3": "4.0.0",
"eslint-plugin-tailwindcss": "3.11.0",
"eslint-plugin-tailwindcss": "3.12.0",
"eslint-plugin-unicorn": "^46.0.0",
"eslint-plugin-vitest": "^0.1.4",
"eslint-plugin-vitest": "^0.2.0",
"esserializer": "1.3.10",
"font-awesome": "^4.7.0",
"husky": "^8.0.3",
"jsdom": "21.1.1",
"jsdom": "21.1.2",
"lint-staged": "13.2.2",
"node-html-parser": "^6.1.5",
"postcss": "^8.4.21",
"postcss-load-config": "4.0.1",
"prettier": "2.8.8",
"prettier-plugin-svelte": "^2.10.0",
"svelte": "3.58.0",
"svelte": "3.59.1",
"svelte-preprocess": "5.0.3",
"tailwindcss": "^3.3.1",
"tslib": "^2.5.0",
"typescript": "5.0.4",
"vite": "^4.3.1",
"vitest": "^0.30.1"
"vitest": "^0.31.0"
},
"dependencies": {
"analytics": "0.8.1",
@@ -74,7 +74,7 @@
"dayjs": "^1.11.7",
"js-base64": "3.7.5",
"mermaid": "10.1.0",
"monaco-editor": "0.37.1",
"monaco-editor": "0.38.0",
"pako": "2.1.0",
"random-word-slugs": "0.1.7",
"svg-pan-zoom": "3.6.1",
+399 -463
View File
File diff suppressed because it is too large Load Diff